diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-21 19:47:20 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-21 19:47:20 +0000 |
commit | 11414d1e6ba30951ca99071255d479b64858464f (patch) | |
tree | 0c97d84fda3076595e6033cf1b6ac71c4c2f1661 /src/map/pc.c | |
parent | f1f903e398fc76d8286bc0ea8aaee97fb32d8bee (diff) | |
download | hercules-11414d1e6ba30951ca99071255d479b64858464f.tar.gz hercules-11414d1e6ba30951ca99071255d479b64858464f.tar.bz2 hercules-11414d1e6ba30951ca99071255d479b64858464f.tar.xz hercules-11414d1e6ba30951ca99071255d479b64858464f.zip |
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9286 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 0ae9eaae9..a589694d8 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -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; |