summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 04:26:57 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 04:26:57 +0000
commitf1ab59626ff04306a8009c98566631d81d95c33b (patch)
treeef4a1f99a175325129350a64b7e29af02fdfeaf6 /src/map/skill.c
parentcc772f0b2d7475a148ecfb0ef539edadac2c2279 (diff)
downloadhercules-f1ab59626ff04306a8009c98566631d81d95c33b.tar.gz
hercules-f1ab59626ff04306a8009c98566631d81d95c33b.tar.bz2
hercules-f1ab59626ff04306a8009c98566631d81d95c33b.tar.xz
hercules-f1ab59626ff04306a8009c98566631d81d95c33b.zip
Fixed Mechanic Stealth Field to move accordingly and grant proper effect
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15754 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 24bdd9ee1..c3870a3a3 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9041,8 +9041,7 @@ int skill_castend_pos2(struct block_list* src, int x, int y, int skillid, int sk
case NC_NEUTRALBARRIER:
case NC_STEALTHFIELD:
skill_clear_unitgroup(src); // To remove previous skills - cannot used combined
- if( (sg = skill_unitsetting(src,skillid,skilllv,src->x,src->y,0)) != NULL )
- {
+ if( (sg = skill_unitsetting(src,skillid,skilllv,src->x,src->y,0)) != NULL ) {
sc_start2(src,skillid == NC_NEUTRALBARRIER ? SC_NEUTRALBARRIER_MASTER : SC_STEALTHFIELD_MASTER,100,skilllv,sg->group_id,skill_get_time(skillid,skilllv));
if( sd ) pc_overheat(sd,1);
}
@@ -10520,6 +10519,8 @@ int skill_unit_onout (struct skill_unit *src, struct block_list *bl, unsigned in
case UNT_SAFETYWALL:
case UNT_PNEUMA:
case UNT_EPICLESIS://Arch Bishop
+ case UNT_NEUTRALBARRIER:
+ case UNT_STEALTHFIELD:
if (sce)
status_change_end(bl, type, INVALID_TIMER);
break;