Good vs. Evil

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
90 well, it is magic the gather related so that might be why :( (assuming you don't play mtg. However if you do, you probably like Izzet which is a good reason to not like this comic :p )
 

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
91 So that explains the blue guy. Vedalken, probably Azorius. I didn't know the Azorius had any vedalken, although come to think of it, they'd be darned good at recordkeeping...

(Context: Vedalken are a race of blue-skinned humanoids unique to Magic that are much more logical and rational than humans, kinda like Spock. Humans, vedalken, and quite a few other species populate the city-world of Ravnica, whose government consists of ten guilds that don't really get along very well. Each guild is assigned two colors and performs a different function within the city. The red-blue Izzet League do all the science and engineering and is overseen by a dragon older than the guilds themselves. The white-blue Azorius Senate are the closest thing to a central government like you'd find in many countries on Earth, are a big bureaucracy, and also handle some police work. The red-white Boros Legion are basically the city's army, air force, and the rest of the police. Yes, there's two police departments; it doesn't always work well. Also, check the colors the people in Lens's comic are wearing. It all checks out.)
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
92 and....php makes me tear my hair out once again.

Remember the last thing I talked about? And my solution? Well, at that point I had not yet tested it and it was only a guess as to a way to make it work, which it sort of does.
The problem I got now is that it the changes that functions like dealDamage make are only contained to the $that version of the object. So.....yea.....am I allowed to give up at this point? >_<
To explain the problem a bit better
PHP:
class Card_interperter extends My_model{
public $someStuff;
public function doDamage(){
echo $this->someStuff;//this will print notAwesome, like expected
$this->someStuff="Awesome";
echo $this->someStuff; //this will print Awesome, like expected
}
public function executeEffect(){
$that=$this;
$dealDamage=function() use ($that){
$that->dealDamage();
}
$this->someVariableINeed="lols";
$this->someStuff="notAwesome";
$dealDamage();
echo $this->someStuff; //this will print notAwesome
}
}
 
Last edited:

erindalc

Popular Member
Mar 3, 2015
992
512
109
Steam
93 So I came home after being gone for 6 days, and my computer decided "hey! Welcome home! I'm not going to work!"

At least it finally started after I unplugged all the hard drives other than the boot one.
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
51 I found out that the last thing I posted wasn't true and was just my code being weird

I solved it and in the process I might have made my code a bit nicer as well (though a bit less dry)