Hiho i'd like to know if anyone could share/create script that summon random monster based in dice roll.. with some custom options
i'll create a room and put the basin or whatever inside, A teleport will be put out there so the player can enter in the room and a tp will be inside to player be able to leave whenever he wants to.. so
I tried using this one as base but it gives some console errors and the owner of appear not to care about anymore
So with this base..
1 - I need to make tp do not teleport iof someone already inside.
2 - setting up monsters based in number rolled
3 - only 1 roll per time, monster need to be killed to be able to roll the dice again
4 - For each tier of monsters killed it will give points
5 - Dying for any mob the player will be tpd to a room with a reward chest and get a random reward based in points made by killing mobs
6 - A safe tp that will be there in case player want to leave, so he'll be tped to the reward room to get the reward (d'oh)
7 - If the player logout inside there for some reason he'll lose all points and when login back he'll need to be tpd to his city temple. The monster inside need to die and the room set free for use again..
Thanks in Advance
i'll create a room and put the basin or whatever inside, A teleport will be put out there so the player can enter in the room and a tp will be inside to player be able to leave whenever he wants to.. so
I tried using this one as base but it gives some console errors and the owner of appear not to care about anymore
Code:
<action actionid="8733" script="diceLever.lua"/>
<action uniqueid="8734" script="diceLever.lua"/>
Code:
<event type="kill" name="diceKill" script="diceKill.lua"/>
<event type="login" name="diceLogin" script="diceKill.lua"/>
Code:
<movevent event="StepIn" actionid="8730" script="diceMove.lua"/>
Code:
function onStartup()
setGlobalStorageValue(182221, -1)
return true
end
Code:
<globalevent name="diceStart" type="start" script="diceStart.lua"/>
So with this base..
1 - I need to make tp do not teleport iof someone already inside.
2 - setting up monsters based in number rolled
for 1 it will summon only of x, x ,x ,x
for 2 it will summon only one of y, y, y, y
etc..
for 2 it will summon only one of y, y, y, y
etc..
3 - only 1 roll per time, monster need to be killed to be able to roll the dice again
4 - For each tier of monsters killed it will give points
monsters from tier 1 will give 1 point
monsters from tier 2 will give 2 points
etc
monsters from tier 2 will give 2 points
etc
5 - Dying for any mob the player will be tpd to a room with a reward chest and get a random reward based in points made by killing mobs
dying with 0 points no prize
dying with 1 points change to get x, x, x,
etc
dying with 1 points change to get x, x, x,
etc
6 - A safe tp that will be there in case player want to leave, so he'll be tped to the reward room to get the reward (d'oh)
7 - If the player logout inside there for some reason he'll lose all points and when login back he'll need to be tpd to his city temple. The monster inside need to die and the room set free for use again..
Thanks in Advance
DeCarvalho
Last edited: