Hello.
I am making a very simple NPC to leave PvP Room, and I am having a problem.
What I want to know is the code to check if a player haves SC_BERSERK active and if that is the case dispell it and reduce their HP to 1%, or in any case make the NPC doesn't let you leave with BERSERK active.
I don't want to just use "sc_end SC_BERSERK" and "percentheal -99,-100" without checking if the user is on BERSERK or not, because this way it will reduce the HP of every player too, and I just want to reduce the HP on BERSERK players.
I just really need the code to check the BERSERK, tried looking on different NPCs to find a similar code but I didn't have luck.
Thanks.