summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-27 13:53:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-27 13:53:52 +0000
commit658432776ff20aa99b8e83e25671797c746edb0c (patch)
tree4fe236c4f14919f43b778117ee793c9cf7bcd3e3 /src/map/skill.c
parentd8b0f15444e87644ccee5a5e1ea4449c9b918fec (diff)
downloadhercules-658432776ff20aa99b8e83e25671797c746edb0c.tar.gz
hercules-658432776ff20aa99b8e83e25671797c746edb0c.tar.bz2
hercules-658432776ff20aa99b8e83e25671797c746edb0c.tar.xz
hercules-658432776ff20aa99b8e83e25671797c746edb0c.zip
- Readded the check which prevents Cloaking from activating when your learned level is less than 3 and you aren't next to a wall.
- Some cleanups to the Frenzy/Berserk status change, it should probably work correctly now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7917 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index e36b39cad..3749ce6d2 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4722,7 +4722,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
|| i==SC_SAFETYWALL || i==SC_SMA
)
continue;
- if(i==SC_BERSERK) tsc->data[i].val4=1; //Mark a dispelled berserk to avoid setting hp to 100.
+ if(i==SC_BERSERK) tsc->data[i].val2=0; //Mark a dispelled berserk to avoid setting hp to 100 by setting hp penalty to 0.
status_change_end(bl,i,-1);
}
}