diff options
author | xantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-08 07:26:33 +0000 |
---|---|---|
committer | xantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-08 07:26:33 +0000 |
commit | ac827daf1a15f1b7953776a1a8fb598fb1fd066e (patch) | |
tree | 27514d67609f6bfd28eaadb8ead2eeef1b27b0c7 /src/map/status.c | |
parent | 40dcd5a42ff0b8afbb776be33440876bc891e1c9 (diff) | |
download | hercules-ac827daf1a15f1b7953776a1a8fb598fb1fd066e.tar.gz hercules-ac827daf1a15f1b7953776a1a8fb598fb1fd066e.tar.bz2 hercules-ac827daf1a15f1b7953776a1a8fb598fb1fd066e.tar.xz hercules-ac827daf1a15f1b7953776a1a8fb598fb1fd066e.zip |
` Added bugreport:5906 Trap Research's INT bonus
` Fixed bugreport:5950 RK's Crush Strike to include weapon weight in attack formula
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16240 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 5c4f4cdd7..424c397ac 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2676,6 +2676,8 @@ int status_calc_pc_(struct map_session_data* sd, bool first) status->int_ += (skill+1)/2; // +1 INT / 2 lv if((skill=pc_checkskill(sd,AC_OWL))>0) status->dex += skill; + if((skill = pc_checkskill(sd,RA_RESEARCHTRAP))>0) + status->int_ += skill; // Bonuses from cards and equipment as well as base stat, remember to avoid overflows. i = status->str + sd->status.str + sd->param_bonus[0] + sd->param_equip[0]; |