summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-04-27 16:53:12 +0000
committerPlaytester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-04-27 16:53:12 +0000
commit2b3b08e21d52f36dc668f734affb5a4f86e613eb (patch)
tree3886b34a21e159b5afc29f1699a2c97641ab6790
parent7ac8d40efcf43589f36c23d33bc5f6525ec06edc (diff)
downloadhercules-2b3b08e21d52f36dc668f734affb5a4f86e613eb.tar.gz
hercules-2b3b08e21d52f36dc668f734affb5a4f86e613eb.tar.bz2
hercules-2b3b08e21d52f36dc668f734affb5a4f86e613eb.tar.xz
hercules-2b3b08e21d52f36dc668f734affb5a4f86e613eb.zip
* Fixed break equipment debuff working on bosses (bugreport:3023)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13703 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/skill.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 10b805488..a477d48ea 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2009/04/27
+ * Fixed break equipment debuff working on bosses (bugreport:3023) [Playtester]
2009/04/25
* Fixed Monster Spiral Pierce not being reduced by Ghostring Card (bugreport:3013) [Playtester]
- it is forced neutral as its a MISC skill for monsters and doesn't take weapon element
diff --git a/src/map/skill.c b/src/map/skill.c
index 0e1889ef6..acf4bc1ef 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1280,7 +1280,7 @@ int skill_break_equip (struct block_list *bl, unsigned short where, int rate, in
where&=~where_list[i];
else if (rand()%10000 >= rate)
where&=~where_list[i];
- else if (!sd) //Cause Strip effect.
+ else if (!sd && !(status_get_mode(bl)&MD_BOSS)) //Cause Strip effect.
sc_start(bl,scatk[i],100,0,skill_get_time(status_sc2skill(scatk[i]),1));
}
}