diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2011-07-23 17:43:46 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-07-23 17:43:46 +0200 |
commit | 354e7ee4fdb8a95c48e7e086238b664d0368af53 (patch) | |
tree | 2a5654a6d12835ed16701367854ee1f3341862af /src/map | |
parent | a32ca166fd30baaf79a161d1a2e43eb032c8b014 (diff) | |
download | tmwa-354e7ee4fdb8a95c48e7e086238b664d0368af53.tar.gz tmwa-354e7ee4fdb8a95c48e7e086238b664d0368af53.tar.bz2 tmwa-354e7ee4fdb8a95c48e7e086238b664d0368af53.tar.xz tmwa-354e7ee4fdb8a95c48e7e086238b664d0368af53.zip |
Modifying Raging Skill: maximum range with the skill is 2
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/pc.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index fb98bcb..6a646f0 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1884,8 +1884,13 @@ int pc_calcstatus (struct map_session_data *sd, int first) if (sd->attackrange > 2) { // [fate] ranged weapon? - sd->attackrange += MIN (skill_power (sd, AC_OWL) / 60, 3); - sd->hit += skill_power (sd, AC_OWL) / 10; // 20 for 200 + if (skill_power (sd, TMW_RAGING)) { + sd->attackrange = 2; + } + else { + sd->attackrange += MIN (skill_power (sd, AC_OWL) / 60, 3); + sd->hit += skill_power (sd, AC_OWL) / 10; // 20 for 200 + } } if ((skill = pc_checkskill (sd, BS_WEAPONRESEARCH)) > 0) // 武器研究の命中率増加 |