samuelsami
New Member
- Joined
- Oct 27, 2010
- Messages
- 77
- Reaction score
- 1
This spell make 5 Slimes at one time, i wanna edited this spell to than make 5 slimes at lv 60 and 6 mercury blobs at lv 100. It's possible?
HTML:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_BLUESHIMMER)
setCombatArea(combat, area)
local maxsummons = 5
function onCastSpell(cid, var)
local summoncount = getCreatureSummons(cid)
if #summoncount < 5 then
for i = 1, maxsummons - #summoncount do
doConvinceCreature(cid, doSummonCreature("Slime", getCreaturePosition(cid)))
end
end
return doCombat(cid, combat, var)
end