summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-31 12:57:13 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-31 12:57:13 +0000
commit8667cd070c96ab4242df358c343f3240cf7baedd (patch)
treea7366e495902ecbb465b3fca0f4b6f849d303225 /src
parentcd95653ac2a95728d7f3e3e027e302b977ef0953 (diff)
downloadhercules-8667cd070c96ab4242df358c343f3240cf7baedd.tar.gz
hercules-8667cd070c96ab4242df358c343f3240cf7baedd.tar.bz2
hercules-8667cd070c96ab4242df358c343f3240cf7baedd.tar.xz
hercules-8667cd070c96ab4242df358c343f3240cf7baedd.zip
Gunslinger Tracking can be canceled if you get hit.
Gunslinger Disarm always shows skill animation. Removed custom firetrap effect from Gunslinger mines. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13644 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 0e2f2ad4b..f82495350 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -830,9 +830,9 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int
case GS_DISARM:
rate = 3*skilllv;
if (sstatus->dex > tstatus->dex)
- rate += (sstatus->dex - tstatus->dex)/5;
- if (skill_strip_equip(bl, EQP_WEAPON, rate, skilllv, skill_get_time(skillid,skilllv)))
- clif_skill_nodamage(src,bl,skillid,skilllv,1);
+ rate += (sstatus->dex - tstatus->dex)/5; //TODO: Made up formula
+ skill_strip_equip(bl, EQP_WEAPON, rate, skilllv, skill_get_time(skillid,skilllv));
+ clif_skill_nodamage(src,bl,skillid,skilllv,1);
break;
case NPC_EVILLAND:
sc_start(bl,SC_BLIND,5*skilllv,skilllv,skill_get_time2(skillid,skilllv));
@@ -7478,7 +7478,7 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
skill_get_splash(sg->skill_id, sg->skill_lv), sg->bl_flag,
&src->bl,tick);
sg->unit_id = UNT_USED_TRAPS;
- clif_changetraplook(&src->bl, UNT_FIREPILLAR_ACTIVE);
+ //clif_changetraplook(&src->bl, UNT_FIREPILLAR_ACTIVE);
sg->limit=DIFF_TICK(tick,sg->tick)+1500;
break;
}
@@ -10048,7 +10048,7 @@ static int skill_unit_timer_sub (DBKey key, void* data, va_list ap)
case UNT_GROUNDDRIFT_WATER:
case UNT_GROUNDDRIFT_FIRE:
group->unit_id = UNT_USED_TRAPS;
- clif_changetraplook(bl, UNT_FIREPILLAR_ACTIVE);
+ //clif_changetraplook(bl, UNT_FIREPILLAR_ACTIVE);
group->limit=DIFF_TICK(tick+1500,group->tick);
unit->limit=DIFF_TICK(tick+1500,group->tick);
break;