I didn't have any time to search for it but is there a way for an enemy to steal a random piece of equipment or item?
Thank you in advance. :D
make a common event,that sets a variable to random number,1-(how many slots u have)then make a cond. branch for each number,that changes equipped ________ to nothing,then says a message like,your _______ was stolen!then make a skill(steal)and link the common event to it,then give an enemy the skill.
did it help?
monsters don't have equips, theiving monsters are too much of a pain
result- that's not what he wanted
basic is the same though, what you want is:
make a steal attack and link it to a common event looking about:
mondex=0
mondex=+monster1's dex
mondex=+monster2's dex
(so on until monster 8 regardless of exisitng or not)
mondex= mondex / 4 (twice as hard to steal from 10, easier to steal from 2)
if mondex > hero's dex then
-temp= random(1,10)
-if temp >=9 then
--temp = random(1,10)
---if temp = 1 then
----message: got a 500 gold
----change money= +500
---if temp = 2 then
----something else and so on
-else
--message: ha you got nothing!
else
-temp=random(1,10)
-if temp >=5 then
(same prize list, maybe diffrent)
-else
--message: you didn't manage to steal >.<
that should do the trick
So that's how it works... I'll have to share this with my friends, thanks blueXx!
Thanks blueXx!
So, is there any quiker way to steal armor?