I want put in my Token of Siegfried Item (7621) a delay from 60minutes.
in my db/item_delay.txt is write:
// Item Delay Database
// Max number of entries is defined in itemdb.h as MAX_ITEMDELAYS
//
// Structure:
// Item ID,Delay in Milliseconds
//PRO Shop
7621,3600000 // Token_Of_Siegfried
but it doesn't work. The Ressurection button comes always. What can i do?!
i think for an Src Edit?
/// Request to resurrect oneself using Token of Siegfried (CZ_STANDING_RESURRECTION).
/// 0292
void clif_parse_AutoRevive(int fd, struct map_session_data *sd)
{
int item_position = pc_search_inventory(sd, ITEMID_TOKEN_OF_SIEGFRIED);
if (item_position < 0)
return;
if (sd->sc.data[sC_HELLPOWER]) //Cannot res while under the effect of SC_HELLPOWER.
return;
if (!status_revive(&sd->bl, 100, 100))
return;
clif_skill_nodamage(&sd->bl,&sd->bl,ALL_RESURRECTION,4,1);
pc_delitem(sd, item_position, 1, 0, 1);
}
Question
Innos
Hello all,
I want put in my Token of Siegfried Item (7621) a delay from 60minutes.
in my db/item_delay.txt is write:
but it doesn't work. The Ressurection button comes always. What can i do?!
i think for an Src Edit?
but i don't know how can i do it.
thx for help
LG
Divine
Link to comment
Share on other sites
3 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.