allow to use X as the number of counters. daily build.

Added feral hydra.
This commit is contained in:
salmelo16
2010-03-30 22:34:25 +00:00
parent 9cb8cd68d5
commit 3a61eba007
6 changed files with 25 additions and 6 deletions
+2 -2
View File
@@ -183,8 +183,8 @@ public:
int triggerOnEvent(WEvent * event){
WEventDamage * e = dynamic_cast<WEventDamage *>(event);
if (!e) return 0;
if(!tc->canTarget(e->damage->target)) return 0;
if (fromTc && !fromTc->canTarget(e->damage->source)) return 0;
if(!tc->canTarget(e->damage->target)) return 0;
if (fromTc && !fromTc->canTarget(e->damage->source)) return 0;
return 1;
}