summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorignizh <ignizh@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-13 18:24:36 +0000
committerignizh <ignizh@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-13 18:24:36 +0000
commit471f789308c210837c2934fcd4fc9d6ffac856e4 (patch)
treed6c814b85e9b16f06b87ac401b1401cdd8c5d2b2 /src/map/skill.c
parentbcec48bc2cce15635ce21db52a1525c07a19935e (diff)
downloadhercules-471f789308c210837c2934fcd4fc9d6ffac856e4.tar.gz
hercules-471f789308c210837c2934fcd4fc9d6ffac856e4.tar.bz2
hercules-471f789308c210837c2934fcd4fc9d6ffac856e4.tar.xz
hercules-471f789308c210837c2934fcd4fc9d6ffac856e4.zip
Fixed partially bugreport:60007, added Burning, Freezing and Diamond Dust status in the Lauda Agnus effect list.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16287 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index f0379390e..768a91a27 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7467,12 +7467,16 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case AB_LAUDAAGNUS:
if( flag&1 || sd == NULL ) {
- if( tsc && (tsc->data[SC_FREEZE] || tsc->data[SC_STONE] || tsc->data[SC_BLIND]) ) {
+ if( tsc && (tsc->data[SC_FREEZE] || tsc->data[SC_STONE] || tsc->data[SC_BLIND] ||
+ tsc->data[SC_BURNING] || tsc->data[SC_FREEZING] || tsc->data[SC_CRYSTALIZE])) {
// Success Chance: (40 + 10 * Skill Level) %
if( rnd()%100 > 40+10*skilllv ) break;
status_change_end(bl, SC_FREEZE, INVALID_TIMER);
status_change_end(bl, SC_STONE, INVALID_TIMER);
status_change_end(bl, SC_BLIND, INVALID_TIMER);
+ status_change_end(bl, SC_BURNING, INVALID_TIMER);
+ status_change_end(bl, SC_FREEZING, INVALID_TIMER);
+ status_change_end(bl, SC_CRYSTALIZE, INVALID_TIMER);
}else //Success rate only applies to the curing effect and not stat bonus. Bonus status only applies to non infected targets
clif_skill_nodamage(bl, bl, skillid, skilllv,
sc_start(bl, type, 100, skilllv, skill_get_time(skillid, skilllv)));