samuelsami
New Member
- Joined
- Oct 27, 2010
- Messages
- 77
- Reaction score
- 1
Hey, could someone please make a spell/talkaction for vocation 11 to destroy own summons, i'm using this summoner script:
Thx
Code:
local combat = createCombatObject()
local maxsummons = 1
function onCastSpell(cid, var)
local summoncount = getCreatureSummons(cid)
if #summoncount < 1 then
for i = 1, maxsummons - #summoncount do
doConvinceCreature(cid, doSummonCreature("wolf", getCreaturePosition(cid)))
end
end
return doCombat(cid, combat, var)
end
Thx