MikukoniRO Posted June 3, 2012 Posted June 3, 2012 i use this: if (DIFF_TICK(gettick(), sd->canlog_tick) < battle_config.prevent_logout) { clif_displaymessage(sd->fd, "You cannot teleport while under attack."); return -1; } but when monster attack me i can teleport either help me Quote
vBrenth Posted June 3, 2012 Posted June 3, 2012 http://rathena.org/board/files/file/2356-warp-go-damage-delay/ I think thats what you nid. Quote
Question
MikukoniRO
i use this:
if (DIFF_TICK(gettick(), sd->canlog_tick) < battle_config.prevent_logout) {
clif_displaymessage(sd->fd, "You cannot teleport while under attack.");
return -1;
}
but when monster attack me i can teleport either help me
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.