1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-31 00:07:39 +02:00

* added slow spell

* a few mistakes in AC_desc.txt fixed
* appropriate spells cannot be casted at any tile
* small memory optimizations in CDefHandler
* minor fixes
This commit is contained in:
mateuszb
2008-11-11 15:17:58 +00:00
parent 6b9146f998
commit d2db5ba18e
9 changed files with 152 additions and 28 deletions

View File

@@ -1279,6 +1279,16 @@ upgend:
sendAndApply(&sse);
break;
}
case 54: //slow
{
SetStackEffect sse;
sse.stack = gs->curB->getStackT(ba.destinationTile)->ID;
sse.effect.id = 54;
sse.effect.level = getSchoolLevel(h,s);
sse.effect.turnsRemain = h->getPrimSkillLevel(2);
sendAndApply(&sse);
break;
}
}
//TODO: spells to support possibly soon (list by Zamolxis):