MikukoniRO Posted June 3, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 05/19/12 Last Seen: June 8, 2012 Share 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 Link to comment Share on other sites More sharing options...
vBrenth Posted June 3, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 311 Reputation: 46 Joined: 11/06/11 Last Seen: Monday at 03:56 PM Share Posted June 3, 2012 http://rathena.org/board/files/file/2356-warp-go-damage-delay/ I think thats what you nid. Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.