From 33911a7594e2bbc9ec1c22fb3c58964b6259969c Mon Sep 17 00:00:00 2001 From: Playtester Date: Mon, 27 Apr 2009 16:53:12 +0000 Subject: [PATCH] * Fixed break equipment debuff working on bosses (bugreport:3023) git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13703 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/map/skill.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 10b8054881..a477d48ead 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 0e1889ef61..acf4bc1ef6 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)); } }