summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <notind@gmail.com>2013-10-07 15:03:00 -0700
committershennetsind <notind@gmail.com>2013-10-07 15:03:00 -0700
commit71b09304a2287350da9ffa4994c4bc78e253e092 (patch)
tree5aee29cd6cca692b72ce6e6c07ebf8ec81a221ea
parent7af7a4c14ee2f8455fef66ad638d0954410dea4e (diff)
parent9f48e3c6318a3b2ec024b4ba4010cf140086817e (diff)
downloadhercules-71b09304a2287350da9ffa4994c4bc78e253e092.tar.gz
hercules-71b09304a2287350da9ffa4994c4bc78e253e092.tar.bz2
hercules-71b09304a2287350da9ffa4994c4bc78e253e092.tar.xz
hercules-71b09304a2287350da9ffa4994c4bc78e253e092.zip
Merge pull request #184 from cannelle/master
Added SC_WEDDING to unremovable status list and fixed baby experience skill not showing effect.
-rw-r--r--db/sc_config.txt1
-rw-r--r--src/map/skill.c10
2 files changed, 9 insertions, 2 deletions
diff --git a/db/sc_config.txt b/db/sc_config.txt
index b1cc016b9..a9715dfbf 100644
--- a/db/sc_config.txt
+++ b/db/sc_config.txt
@@ -392,6 +392,7 @@ SC_HAWKEYES,78
// Unremovable
SC_WEIGHTOVER50, 79
SC_WEIGHTOVER90, 79
+SC_WEDDING, 77
SC_XMAS, 77
SC_SUMMER, 77
SC_NOCHAT, 77
diff --git a/src/map/skill.c b/src/map/skill.c
index a55fb2937..b90be3c2a 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6972,8 +6972,14 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
return 0;
}
status->change_start(bl,SC_STUN,10000,skill_lv,0,0,0,skill->get_time2(skill_id,skill_lv),8);
- if (f_sd) sc_start(&f_sd->bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv));
- if (m_sd) sc_start(&m_sd->bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv));
+ if (f_sd) {
+ sc_start(&f_sd->bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv));
+ clif->specialeffect(&f_sd->bl,408,AREA);
+ }
+ if (m_sd) {
+ sc_start(&m_sd->bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv));
+ clif->specialeffect(&m_sd->bl,408,AREA);
+ }
}
break;