Fixed Ankle Snare visibility issue, bugreport:3961
-- activating (stepping on) a invisible ankle snare now makes the trap visible again git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15174 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
eccfdfe839
commit
0904088718
@ -9141,6 +9141,14 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
|
|||||||
else
|
else
|
||||||
sec = 3000; //Couldn't trap it?
|
sec = 3000; //Couldn't trap it?
|
||||||
clif_skillunit_update(&src->bl);
|
clif_skillunit_update(&src->bl);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If you're snared from a trap that was invisible this makes the trap be
|
||||||
|
* visible again -- being you stepped on it (w/o this the trap remains invisible and you go "WTF WHY I CANT MOVE")
|
||||||
|
* bugreport:3961
|
||||||
|
**/
|
||||||
|
clif_changetraplook(&src->bl, UNT_ANKLESNARE);
|
||||||
|
|
||||||
sg->limit = DIFF_TICK(tick,sg->tick)+sec;
|
sg->limit = DIFF_TICK(tick,sg->tick)+sec;
|
||||||
sg->interval = -1;
|
sg->interval = -1;
|
||||||
src->range = 0;
|
src->range = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user