SOLVED: Reading card effect script line (Mimic)

Started by Hawkes, Sep 17, 2007, 04:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hawkes

Hey, I've been using the site for a while now and it's been helping me a lot, but I came across the script line for the mimic card, and it doesnt seem to make much sense. I always assumed it contained the itemid, and then the chance to drop modified by some multiplier by the code. But this line seems to indicate a negative drop chance?

   { bonus2 bAddMonsterDropItem,603,-6; },{},{}

I must be reading it wrong so if you're in the know please explain ^^

asdfqwerty123

#1
Good eye!

Mimic Card:
QuoteAdd the chance of gaining "Old Blue Box" each time a monster is killed.
4205,Mimic_Card,Mimic Card,6,,10,10,,,,,,,,136,,,,,{ bonus2 bAddMonsterDropItem,603,-6; },{},{}
Quotehttp://ratemyserver.net/index.php?page=item_db&item_type=6&item_class=&item_id=&list=&letter=m&page_num=3

Look here and search for that line of script "bAddMonsterDropItem" and match it with the others:
Quotehttp://svn.eathena.ws/svn/ea/branches/stable/db/item_db.txt

Rbread

Positive numbers are for absolute drops (fixed percentage change to an item) and negative are for relative (depends on the chance that is calculated when the monster dies).

Hawkes

Oh, that explains it!

Awesome, thanks! :D