i used monsterignore as custom skill but the problem is when i use skill it will automatic enable monsterignore and then disable instant
how can i add skill duration in this custom skills? level 1 - 5 secs, level 2 - 10 secs, level 3 - 15 secs, level 4 - 20 secs, level 5 - 25 secs
status.c
case SC_CUSTOM_SKILL: // CUSTOM SKILLS
nullpo_retr(-1, sd);
if (!sd->state.monster_ignore) {
sd->state.monster_ignore = 1;
clif_displaymessage(sd->fd, msg_txt(sd, 1305)); // You are now immune to attacks.
sd->state.monster_ignore = 0;
clif_displaymessage(sd->fd, msg_txt(sd, 1306)); // Returned to normal state.
}
break;
Question
BlazingSpear
i used monsterignore as custom skill but the problem is when i use skill it will automatic enable monsterignore and then disable instant
how can i add skill duration in this custom skills? level 1 - 5 secs, level 2 - 10 secs, level 3 - 15 secs, level 4 - 20 secs, level 5 - 25 secs
status.c
case SC_CUSTOM_SKILL: // CUSTOM SKILLS nullpo_retr(-1, sd); if (!sd->state.monster_ignore) { sd->state.monster_ignore = 1; clif_displaymessage(sd->fd, msg_txt(sd, 1305)); // You are now immune to attacks. sd->state.monster_ignore = 0; clif_displaymessage(sd->fd, msg_txt(sd, 1306)); // Returned to normal state. } break;
Link to comment
Share on other sites
4 answers 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.