From 8d8bbdcb39b4255d8075f8738dc720247c778a8a Mon Sep 17 00:00:00 2001 From: ryo_saeba Date: Sat, 12 Dec 2020 16:44:09 +0000 Subject: [PATCH] Use 'Cast' instead of 'CastAbility'. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21604 282e977c-c81d-0410-88c4-b93c2d0d6712 --- python/items/spell_arrow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/items/spell_arrow.py b/python/items/spell_arrow.py index 44a715c83..94cd9e33b 100644 --- a/python/items/spell_arrow.py +++ b/python/items/spell_arrow.py @@ -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()