Hello, as the title say, I have installed a Poring catcher event and when a winner pick a correct poring he/she will trigger this command all everybody dies. But in my server donaters GM level 1 (so they get extra buff) and normal player is Level 0.
The problem is when the event, when a normal player win, donaters will not die.
Can somebody alter this script so everbody dies regardless GM Level. or make a new src script. Like @hdoom (highess Doom)
This is the normal doom
ACMD_FUNC(doom)
{
struct map_session_data* pl_sd;
struct s_mapiterator* iter;
nullpo_retr(-1, sd);
iter = mapit_getallusers();
for( pl_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); pl_sd = (TBL_PC*)mapit_next(iter) )
{
if (pl_sd->fd != fd && pc_isGM(sd) >= pc_isGM(pl_sd))
{
status_kill(&pl_sd->bl);
clif_specialeffect(&pl_sd->bl,450,AREA);
clif_displaymessage(pl_sd->fd, msg_txt(61)); // The holy messenger has given judgement.
}
}
mapit_free(iter);
clif_displaymessage(fd, msg_txt(62)); // Judgement was made.
return 0;
}
Question
pojiejapan
Hello, as the title say, I have installed a Poring catcher event and when a winner pick a correct poring he/she will trigger this command all everybody dies. But in my server donaters GM level 1 (so they get extra buff) and normal player is Level 0.
The problem is when the event, when a normal player win, donaters will not die.
Can somebody alter this script so everbody dies regardless GM Level. or make a new src script. Like @hdoom (highess Doom)
This is the normal doom
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.