summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-13 17:07:31 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-13 17:07:31 +0000
commitf2a6b8d9161fa8da800a60b4917d54ff95eb9bc0 (patch)
tree17ba1be447010679d3ba1247960a006f187aebdd /src/map/status.c
parent09d7d16f522b2a4aa7020698544e2153094005a2 (diff)
downloadhercules-f2a6b8d9161fa8da800a60b4917d54ff95eb9bc0.tar.gz
hercules-f2a6b8d9161fa8da800a60b4917d54ff95eb9bc0.tar.bz2
hercules-f2a6b8d9161fa8da800a60b4917d54ff95eb9bc0.tar.xz
hercules-f2a6b8d9161fa8da800a60b4917d54ff95eb9bc0.zip
Fixed bugreport:6220 updated SR_SKYNETBLOW behavior to official and damage formula and other Sura skills(SR_TIGERCANNON,SR_FALLENEMPIRE,SR_GATEOFHELL,SR_WINDMILL,SR_RIDEINLIGHTING,SR_LIGHTNINGWALK) and more to come...:D
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16424 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/map/status.c b/src/map/status.c
index cb8acd3e1..0ce76f844 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -7441,8 +7441,6 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
struct unit_data *ud = unit_bl2ud(bl);
if (ud && !val3) {
tick += 300 * battle_config.combo_delay_rate/100;
- if(val1 == SR_FALLENEMPIRE)//TODO: better option for this bonus. [malufett]
- tick += 1000;
ud->attackabletime = gettick()+tick;
unit_set_walkdelay(bl, gettick(), tick, 1);
}
@@ -8083,8 +8081,8 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
val2 = 94 + val1;
val_flag |= 1|2;
break;
- case SC_LIGHTNINGWALK:
- val1 = 88 + 2 * val1;
+ case SC_LIGHTNINGWALK: // [(Job Level / 2) + (40 + 5 * Skill Level)] %
+ val1 = (sd?sd->status.job_level:2)/2 + 40 + 5 * val1;
val_flag |= 1;
break;
case SC_RAISINGDRAGON: