I've got a problem with my script to work "properly" as how I want it to work..
So here's my dilemma, when more than 1 player (with or without party) goes to kill the Banshee Slave, the number of players that is attacking it, the number of Banshee Queens spawns, and I only want 1 Banshee Queen to spawn.
Distro: 0.3.7 (CD)
I've tried changing event"kill" to event"death" and also changing the script to "onDeath" but then the next monster doesn't even appear... I've also added this to banshee slave.xml..
Yes I've added the event to login.lua as well, but nothing seems to work.
Code:
Code:
HowToFixDiz? t_t
REP++
So here's my dilemma, when more than 1 player (with or without party) goes to kill the Banshee Slave, the number of players that is attacking it, the number of Banshee Queens spawns, and I only want 1 Banshee Queen to spawn.
Distro: 0.3.7 (CD)
I've tried changing event"kill" to event"death" and also changing the script to "onDeath" but then the next monster doesn't even appear... I've also added this to banshee slave.xml..
Code:
<script>
<event name="t"/>
</script>
Code:
Code:
local monster = "Banshee Slave"
local summon = "Banshee Queen"
function onKill(cid, target)
if isPlayer(target) then
return true
end
if isPlayer(cid) and getCreatureName(target) == monster then
local t = getThingPos(target)
doCreatureSay(target, "I'm not finished with you yet!", TALKTYPE_ORANGE_1)
doSummonCreature(summon, t)
doSendMagicEffect(t,49)
end
return true
end
Code:
Code:
<event type="kill" name="t" event="script" value="banshee/bq.lua"/>
HowToFixDiz? t_t
REP++
Last edited: