- Corrected TripleAction's damage. It should do 150%*3 instead of 100*3% damage.
- Updated GS_CRACKER's stun chance using Doddler's info as reference. - GS_FLING won't reduce armor defense when used on players. - Added constant MAX_STEAL_DROP to determine up to which slot you can steal. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9286 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -3215,7 +3215,7 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl, int lv)
|
||||
|
||||
//preliminar statistical data hints at this behaviour:
|
||||
//each steal attempt: try to steal against ONE mob drop, and no more.
|
||||
i = rand()%(MAX_MOB_DROP-1); //You can't steal from the last slot.
|
||||
i = rand()%(MAX_STEAL_DROP); //You can't steal from the last slot.
|
||||
|
||||
if(rand() % 10000 >= md->db->dropitem[i].p*rate/100)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user