First of all, thanks to Mr.Mo for his wonderful Battle System, and all credits to him. (Also to Near Fantastica)
I need to do some changes in his ABS, about the treasure system. I am not a very experienced scripter, I just know a bit of Visual Basic and JASS, and that's what helped me modifying until I could.
Script: Mr.Mo's ABS AddOn to Item Tables
Details:
The treasure system in Mr.Mo's ABS 5.5 is about dropping the only item indicated in the database, and with this, creating an event of the item. I want it to be able to drop a whole Item Table, with individual probabilities for each item. There can be another script, with the monster's and item's ID list or hash, as you wish, since it makes this possible. If possible, make one event for each item dropped. Also, I want the gold and the item to range in quantities and to have probability of appearing.
Example of what I want:
This quote above, possible in the Mr.Mo's ABS 5.5, that's my request.
Script:
NOTE: I've done some changes in the code with game variables and game switches, so I would like you to change the one above inside the spoiler (or do another independent, but compatible script)
The Treasure Display Class is at the line 2145
In the line 1591 there is something to do with Treasure as well.
In Return:
Anything you want, as long it has to do with Characters, Mapping or Event Coding. In return I can also be recruited for mapping or Character Drawing for a period. ;D
Thank You!!!
Sorry about my english!
I need to do some changes in his ABS, about the treasure system. I am not a very experienced scripter, I just know a bit of Visual Basic and JASS, and that's what helped me modifying until I could.
Script: Mr.Mo's ABS AddOn to Item Tables
Details:
The treasure system in Mr.Mo's ABS 5.5 is about dropping the only item indicated in the database, and with this, creating an event of the item. I want it to be able to drop a whole Item Table, with individual probabilities for each item. There can be another script, with the monster's and item's ID list or hash, as you wish, since it makes this possible. If possible, make one event for each item dropped. Also, I want the gold and the item to range in quantities and to have probability of appearing.
Example of what I want:
Spirit
80% chance of dropping from 2 to 6 White Ties
50% chance of dropping Soul Stone
25% chance of dropping from 1 to 2 Invisibility Potion
10% chance of dropping Golden Locket
5% chance of dropping Old Diary
1% chance of dropping Ring of Invisibility
65% chance to drop from 13 to 18 gold pieces.
This quote above, possible in the Mr.Mo's ABS 5.5, that's my request.
Script:
Script.txt
This file is a Notepad Document. Paste all its contents in your Script Editor.
This file is a Notepad Document. Paste all its contents in your Script Editor.
The Treasure Display Class is at the line 2145
In the line 1591 there is something to do with Treasure as well.
In Return:
Anything you want, as long it has to do with Characters, Mapping or Event Coding. In return I can also be recruited for mapping or Character Drawing for a period. ;D
Thank You!!!
Sorry about my english!