summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-08-08 10:52:32 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-08-08 10:52:32 +0200
commit781ba96bc45e706d8033c755897e3a7aafb80645 (patch)
tree3e63f5b1a1e6567079412e0c67da943e8c6a6f8d /src/map/skill.c
parentc9b2545ebcf50e004c692ce087fc9ba253fcf525 (diff)
downloadhercules-781ba96bc45e706d8033c755897e3a7aafb80645.tar.gz
hercules-781ba96bc45e706d8033c755897e3a7aafb80645.tar.bz2
hercules-781ba96bc45e706d8033c755897e3a7aafb80645.tar.xz
hercules-781ba96bc45e706d8033c755897e3a7aafb80645.zip
- Update Fire Cloack to official formula
- Update Water Barrier to official formula - Insignia end status for everyone but spirits - Neutral Barrier def/mdef bonus should not be show in status window - Striking should be show in status window (bug:7945) - Reverberation should be cast on the caster (bug:8291)
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 2bdd6d366..5f6a6bf41 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -11475,6 +11475,8 @@ int skill_unit_onplace(struct skill_unit *src, struct block_list *bl, int64 tick
break;
case UNT_REVERBERATION:
+ if (sg->src_id == bl->id)
+ break; //Does not affect the caster.
clif->changetraplook(&src->bl,UNT_USED_TRAPS);
map->foreachinrange(skill->trap_splash,&src->bl, skill->get_splash(sg->skill_id, sg->skill_lv), sg->bl_flag, &src->bl,tick);
sg->unit_id = UNT_USED_TRAPS;
@@ -12299,16 +12301,18 @@ int skill_unit_onleft(uint16 skill_id, struct block_list *bl, int64 tick) {
case EL_WATER_BARRIER:
case EL_ZEPHYR:
case EL_POWER_OF_GAIA:
- case SO_FIRE_INSIGNIA:
- case SO_WATER_INSIGNIA:
- case SO_WIND_INSIGNIA:
- case SO_EARTH_INSIGNIA:
case SO_ELEMENTAL_SHIELD:
case SC_BLOODYLUST:
if (sce)
status_change_end(bl, type, INVALID_TIMER);
+ break;
+ case SO_FIRE_INSIGNIA:
+ case SO_WATER_INSIGNIA:
+ case SO_WIND_INSIGNIA:
+ case SO_EARTH_INSIGNIA:
+ if (sce && bl->type != BL_ELEM)
+ status_change_end(bl, type, INVALID_TIMER);
break;
-
case BA_POEMBRAGI:
case BA_WHISTLE:
case BA_ASSASSINCROSS: