Hello good day, can anyone with good scripting knowledge help finish this script. so what the script does is it's triggered by killing a monster from the list and it'll give the specified zeny and cash point to the killer (100%), there is also a 10% chance that the killer gets the listed items (if there are).
i copied the array format from Stolao's DailyReward.
- script ExtraDrop-1,{OnNPCKillEvent:if(killedrid ==<monster id>){#CASHPOINTS += <cash points>;Zeny+=<zeny amount>;}if()rand(1000)<10)//Chance: 100 = 10%, 10 = 1%, etc.
getitem <item ids>,<item amounts>;end;OnInit:// Monster & Drop List:// "<Monster ID>|<Zeny>|<Cash Points>|<itemID-1>|<amount-1>|<itemID-2>|<amount-2>...etc",
setarray .mvpmonsterdrop$[1],"1112,5000,2,504,10",// Drake: 5000 Zeny + 2 Cash Points +10 White Potion"1115,3000,1,504,10,506,10",// Eddga: 3000 Zeny + 1 Cash Points +10 White Potion + 10 Green Potion"2098,4000,0,504,10,506,10,505,10",// Doppelganger: 4000 Zeny + 1 Cash Points +10 White Potion + 10 Green Potion + 10 Blue Potion"1120,1000";// Ghostring: 1000 Zenyend;}
Share this post
Link to post
Share on other sites