X
Xikini
Guest
TFS 0.3.7.
Attempting to re-create an old spell 'Undead Legion'.
Undead Legion is supposed to work like this.
Checks amount of summons of player. If more then 2 summons, cancel spell.
Checks local area for bodies and counts how many.
Checks how much mana will be required to cast the spell. 20 mana per body.
If enough mana, then do cast spell.
Removes bodies, summon skeletons, convince skeletons.
I'm unsure how to check and count the local area (3by3 area).
Can anyone show me how it should be done?
Thanks,
Xikini
Attempting to re-create an old spell 'Undead Legion'.
Undead Legion is supposed to work like this.
Checks amount of summons of player. If more then 2 summons, cancel spell.
Checks local area for bodies and counts how many.
Checks how much mana will be required to cast the spell. 20 mana per body.
If enough mana, then do cast spell.
Removes bodies, summon skeletons, convince skeletons.
I'm unsure how to check and count the local area (3by3 area).
Can anyone show me how it should be done?
Thanks,
Xikini