summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-20 14:33:54 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-20 14:33:54 +0000
commitd3df9e597f966fff6bdabc088257ad0f090903e1 (patch)
treeb2b73ee9bcad4baaa4a553cc892b8dd4662e383b /src/map/unit.c
parent0c98e7140a0d11fe40d277f8e04eb852b629ace3 (diff)
downloadhercules-d3df9e597f966fff6bdabc088257ad0f090903e1.tar.gz
hercules-d3df9e597f966fff6bdabc088257ad0f090903e1.tar.bz2
hercules-d3df9e597f966fff6bdabc088257ad0f090903e1.tar.xz
hercules-d3df9e597f966fff6bdabc088257ad0f090903e1.zip
- Updated skill_require_db to place the Zeny requirements of ZenyNage and Fling.
- Fixed crash when non-players use ZenyNage. Added the correct Zeny check in skill_check_condition, fixed the skill so that it's damage is based on whatever zeny is specified in skill_require_db. - Can-act delay will not be reset when warping now. - Fixed Quagmire not altering walking-speed. - Silence now blocks skills both on begin/end casting. - Updated status_calc_bl so that when walking speed changes, the character is made to rewalk so that the new speed takes effect inmediately. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7264 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 249b1db71..8dd38f5ea 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1466,7 +1466,8 @@ int unit_remove_map(struct block_list *bl, int clrtype) {
unit_stop_attack(bl);
if (ud->skilltimer != -1)
unit_skillcastcancel(bl,0);
- ud->attackabletime = ud->canmove_tick = ud->canact_tick = gettick();
+// Do not reset can-act delay. [Skotlex]
+ ud->attackabletime = ud->canmove_tick /*= ud->canact_tick*/ = gettick();
clif_clearchar_area(bl,clrtype);
if(sc && sc->count ) { //map-change/warp dispells.