find: void pc_damage(struct map_session_data *sd,struct block_list *src,unsigned int hp, unsigned int sp)
then add this inside the function:
unsigned int tick = gettick(); int warpgodelaycd = 5000; //This is the delay in milliseconds you can set what ever delay you want sd->warpgodelay_tick = tick+warpgodelaycd; //This is the timer inside the function?
Question
Reducto
I really don't understand this...
unsigned int tick = gettick(); int warpgodelaycd = 5000; //This is the delay in milliseconds you can set what ever delay you want sd->warpgodelay_tick = tick+warpgodelaycd; //This is the timer inside the function?
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.