- 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:
skotlex
2006-11-21 19:47:20 +00:00
parent 83affac575
commit 4f9e65d7ee
6 changed files with 22 additions and 6 deletions

View File

@@ -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;