Hello, I am attempting to create my own flag code, but I want it to be infinite. However, I have encountered some weaknesses in the logic:
If I hit someone, the flag counter starts, and after several seconds, the flag is lost (even if I set it to flag automatically).
If I enter the zone and don't perform any action, the flag is infinite.
If I die and revive, the flag disappears in retail mode.
I have a question: what would the parameter be to keep it always active?
player.getPvpFlag() == 0)
player.updatePvPFlag(1)
player.setPvpFlag(1)
If I hit someone, the flag counter starts, and after several seconds, the flag is lost (even if I set it to flag automatically).
If I enter the zone and don't perform any action, the flag is infinite.
If I die and revive, the flag disappears in retail mode.
I have a question: what would the parameter be to keep it always active?
player.getPvpFlag() == 0)
player.updatePvPFlag(1)
player.setPvpFlag(1)