Use 'Cast' instead of 'CastAbility'.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21604 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2020-12-12 16:44:09 +00:00
parent 4318122384
commit 8d8bbdcb39
1 changed files with 1 additions and 1 deletions

View File

@ -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()