We're planning to add a 0.2 second hard delay on Tarot Card of Fate. The twist here(and most likely what's making it hard) is I only want the delay to be applied when on GvG or Battleground maps.
What we've come up is to add this right below the last line in CG_TAROTCARD in skill.c
Server manages to finish compile but the delay still isn't applied.
Note that when I tried this, I made it (sd, CG_TAROTCARD, 3000) or 3 seconds to make sure I can accurately tell if it did work.
Never mind, it does work. Apparently GM accounts are immune to it.
Close topic please, sorry.
New problem, the script works but Kiel still reduces the delay. Is there anyway to make it a fixed delay without any factor to lessen it?
This is on eA btw. Any help would be appreciated.
if (map_flag_gvg(bl->m) || map[bl->m].flag.battleground) {
if (sd) skill_blockpc_start (sd, CG_TAROTCARD, 200);
}
Question
rqueen
We're planning to add a 0.2 second hard delay on Tarot Card of Fate.
The twist here(and most likely what's making it hard) is I only want the delay to be applied when on GvG or Battleground maps.
What we've come up is to add this right below the last line in CG_TAROTCARD in skill.c
Server manages to finish compile but the delay still isn't applied.Note that when I tried this, I made it (sd, CG_TAROTCARD, 3000) or 3 seconds to make sure I can accurately tell if it did work.Never mind, it does work. Apparently GM accounts are immune to it.
Close topic please, sorry.New problem, the script works but Kiel still reduces the delay. Is there anyway to make it a fixed delay without any factor to lessen it?
This is on eA btw. Any help would be appreciated.
Link to comment
Share on other sites
2 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.