diff options
author | Playtester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-04-25 10:40:40 +0000 |
---|---|---|
committer | Playtester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-04-25 10:40:40 +0000 |
commit | 5328e63b9fb979e175f888e0b17f4c88ef9bb890 (patch) | |
tree | 712b11cd5dd8c6c6c06cf7934d3923a0d3a259a2 /src/map/status.c | |
parent | d68700b564d67f64ed4f75ca5d812f51855c6656 (diff) | |
download | hercules-5328e63b9fb979e175f888e0b17f4c88ef9bb890.tar.gz hercules-5328e63b9fb979e175f888e0b17f4c88ef9bb890.tar.bz2 hercules-5328e63b9fb979e175f888e0b17f4c88ef9bb890.tar.xz hercules-5328e63b9fb979e175f888e0b17f4c88ef9bb890.zip |
* First attempt to fix up the strip skills, please make sure these fixes work (bugreport:3011)
- the minimum rate of strip skills is now 5% for all levels
- duration of strip skills depends on the dex difference between target and caster and can be reduced to 0
- strip skills can now affect bosses (if duration doesn't get reduced to 0 due to their high dex)
- strip skills do a fixed -25% ATK, -15% DEF, -40% VIT or -40% INT independant of skill level
- autocasting Full Strip has a duration now (if dex is high enough)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13701 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/map/status.c b/src/map/status.c index 04e01b8ba..5a9ce2531 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4989,10 +4989,6 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val case SC_COMA: case SC_GRAVITATION: case SC_SUITON: - case SC_STRIPWEAPON: - case SC_STRIPSHIELD: - case SC_STRIPARMOR: - case SC_STRIPHELM: case SC_RICHMANKIM: case SC_ROKISWEIL: case SC_FOGWALL: @@ -5305,19 +5301,19 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val break; case SC_STRIPWEAPON: if (!sd) //Watk reduction - val2 = 5*val1; + val2 = 25; break; case SC_STRIPSHIELD: if (!sd) //Def reduction - val2 = 3*val1; + val2 = 15; break; case SC_STRIPARMOR: if (!sd) //Vit reduction - val2 = 8*val1; + val2 = 40; break; case SC_STRIPHELM: if (!sd) //Int reduction - val2 = 8*val1; + val2 = 40; break; case SC_AUTOSPELL: //Val1 Skill LV of Autospell |