RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Stealing Stuff

Started by epson777341, March 23, 2006, 05:00:43 PM

0 Members and 1 Guest are viewing this topic.

epson777341

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

Seoxultima

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?
Current project: Phoenix - The Eternal Legacy
A Clan Shadow Phoenix and Unholy Alliances Production
THE TEAM:
Seoxultima -uhhh....POO!
loonygamer-title screen,gameover,etc.
formina sage -lots of stuff,mainly skill systems
blizzard-credit system,tools,and other stuffs
DeathTrooper-battle graphics
Jesse 015-quests
pkmemanyp-quests
Slayer-dialogue production

blueXx

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
holy shit my sig was big!

SkullFire

So that's how it works... I'll have to share this with my friends, thanks blueXx!


*** For those who want to know, Samus is saying "Ridley is a bitch!" in Japanese. ***

epson777341

Thanks blueXx!

So, is there any quiker way to steal armor?