summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-06 19:54:28 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-06 19:54:28 +0000
commita4a9597d1282d4088df906c1de2c58497dcbb8ef (patch)
tree93bf310ada0b8b6adb5b18d1c7de3d63a11a831c
parent4dfc2554fbd64c8fc0fd6879151c81af1f41c3bd (diff)
downloadhercules-a4a9597d1282d4088df906c1de2c58497dcbb8ef.tar.gz
hercules-a4a9597d1282d4088df906c1de2c58497dcbb8ef.tar.bz2
hercules-a4a9597d1282d4088df906c1de2c58497dcbb8ef.tar.xz
hercules-a4a9597d1282d4088df906c1de2c58497dcbb8ef.zip
- Fixed firewall counter going down by 2 each hit rather than 1.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7015 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/skill.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index b6d106ea5..5f082f840 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/06/06
+ * Fixed firewall counter going down by 2 each hit rather than 1. [Skotlex]
* Fixed Soul Burn not zapping away all SP. [Skotlex]
* The monsters can level up setting will not take effect when the mob's
level is LESS than their db counter-part (should prevent under-leveling
diff --git a/src/map/skill.c b/src/map/skill.c
index 36867c44d..7433520bc 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6680,7 +6680,7 @@ int skill_unit_onplace_timer(struct skill_unit *src,struct block_list *bl,unsign
skill_attack(BF_MAGIC,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick,0);
src->val2--;
}
- if (--src->val2<=0)
+ if (src->val2<=0)
skill_delunit(src);
break;
}