Use 'Cast' instead of 'CastAbility'.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21604 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
4318122384
commit
8d8bbdcb39
|
@ -15,5 +15,5 @@ if spells and victim:
|
|||
spellob = Crossfire.CreateObjectByName(archetype)
|
||||
if spellob:
|
||||
for r in range(0, int(quantity)):
|
||||
victim.CastAbility(spellob, 0, "")
|
||||
victim.Cast(spellob, 0, "")
|
||||
spellob.Remove()
|
||||
|
|
Loading…
Reference in New Issue