Some code questions.

正在查看此主题的用户

BerserK

Regular
Hello. I have played M&B very long time and have some questions about item drops. I have reached large level in native and then made my mode, I have played very long time, but never had some items dropped from some party's .. Like for example Black Hunter party, it has never dropped me their armors, I have killed tons of them, never got some armor. I have created some other party with good armors, and some with weapons, but I never get one of them, where is the problem?

Also would like to know is there posible to make some items 100% dropped after battle. I would like to make party with their leader dropping the leader sword .. how could I do that ?
 
I'm afraid you will have to learn the module system if you want certain item looting to be governed by different rules.

But if you are satisfied with general loot rate increase - theres 'party_calculate_loot' script in module_scripts.py:
插入代码块:
(assign, ":num_shares",10),
#Calculate player loot probability
(assign, ":loot_proboability", 100),
(val_mul, ":loot_proboability", 10),
(val_div, ":loot_proboability", ":num_shares"),
(by the way, the code piece gave me a really good laugh :wink:

You might change it to something like: (assign, ":loot_proboability", 10000), and see what happens. I'm not sure it will work though, see yourself.
 
后退
顶部 底部