Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Extra Loot
|
Author |
Message |
Shamino 
Noob Scripter

Posts: 57
Likes Given: 5
Likes Received: 15 in 11 posts
Joined: Mar 2012
Reputation: 0
Exilio UO

|
RE: Extra Loot
Try...
Code:
ON=@EQUIP
src.events +e_more_money
src.moddex += 5
src.modint += 5
src.modstr += 5
ON=@UNEQUIP
src.events -e_more_money
src.moddex -= 5
src.modint -= 5
src.modstr -= 5
Code:
[Events e_more_money]
ON=@kill
REF1=<ARGO.UID>
IF (<R50>==1) // Random Value is 1
IF (<REF1.TAG0.BONUSCHANCE>==1) // Checks to see if it's the creature that drops the bonus gold
SRC.SYSMESSAGE You have received bonus gold from <REF1.NAME>.
SERV.NEWITEM=i_gold // Creates the new item
NEW.AMOUNT=<EVAL (<REF1.STR> + <REF1.DEX> + <REF1.INT>)> /// the tougher the mob, the more the gold
NEW.BOUNCE <SRC.FINDLAYER.21.UID> /// gives it to the player
ENDIF
ENDIF
"My world is hell for the infidels. My blood pleasure of the immortals"
(This post was last modified: 03-22-2015 09:04 AM by Shamino.)
|
|
03-22-2015 09:00 AM |
|
|
Messages In This Thread |
RE: Extra Loot - Shamino - 03-22-2015 09:00 AM
|
User(s) browsing this thread: 1 Guest(s)