summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorreddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-28 10:26:32 +0000
committerreddozen <reddozen@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-28 10:26:32 +0000
commit168e5fd7c557020b8b5c5b1780aa983c9737e000 (patch)
tree2dbea8b928e2dd809fcae9b0d4815296c361ef96 /src/map/status.c
parent368efae9829a3ef7f4cb2bbda2d5388f3d6936d2 (diff)
downloadhercules-168e5fd7c557020b8b5c5b1780aa983c9737e000.tar.gz
hercules-168e5fd7c557020b8b5c5b1780aa983c9737e000.tar.bz2
hercules-168e5fd7c557020b8b5c5b1780aa983c9737e000.tar.xz
hercules-168e5fd7c557020b8b5c5b1780aa983c9737e000.zip
* Fixed Gunslinger and Ninja skills not showing up and not working due to an error
in skill_require_db - also commited a commented block for GS_FLING that needs to be looked at and posiably cleaned before it's uncommented. - fixed exp2 not accepting Gunslingers and ninjas - fixed the "jobmaster" having the same problem as rebirth - added the Gunslinger shops for guns and ammo [Reddozen] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5783 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index ba460087e..a0dda48a1 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2070,6 +2070,8 @@ int status_calc_def(struct block_list *bl, int def)
def -= def * (5+5*sc->data[SC_PROVOKE].val1)/100;
if(sc->data[SC_STRIPSHIELD].timer!=-1 && bl->type != BL_PC)
def -= def * 3*sc->data[SC_STRIPSHIELD].val1/100;
+ //if (sd->data[SC_FLING].timer!=-1 && bl->type != BL_PC)
+ // def -= (def * sd->data[SC_FLING].val1) / 100;
}
return def;
@@ -2104,6 +2106,8 @@ int status_calc_def2(struct block_list *bl, int def2)
else if(sc->data[SC_JOINTBEAT].val2==4)
def2 -= def2 * 25/100;
}
+ //if (sd->data[SC_FLING].timer!=-1)
+ // def2 -= (def2 * sd->data[SC_FLING].val1) / 100;
}
return def2;