diff options
author | shennetsind <ind@henn.et> | 2013-01-28 18:42:25 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-01-28 18:42:25 -0200 |
commit | cba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b (patch) | |
tree | 2416bbe65b1bc89542aa0691344670c97505b37e /src/map/skill.c | |
parent | 9f75e121fd20aaa20e337c8664ba9a57fe90fe21 (diff) | |
download | hercules-cba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b.tar.gz hercules-cba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b.tar.bz2 hercules-cba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b.tar.xz hercules-cba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b.zip |
New skill config
After due consideration we thought it'd be in the best interest of the community to provide a switch to this official feature since it drastically change the way traps can be used
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 5f3036565..06982bea7 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -11445,7 +11445,7 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns const struct TimerData* td = tsc->data[type]?get_timer(tsc->data[type]->timer):NULL; if( td ) sec = DIFF_TICK(td->tick, tick); - if( sg->unit_id == UNT_MANHOLE ) { + if( sg->unit_id == UNT_MANHOLE || battle_config.skill_trap_type ) { unit_movepos(bl, src->bl.x, src->bl.y, 0, 0); clif_fixpos(bl); } |