Function pvp_win

Source
pub fn pvp_win(ctx: &ConditionalProgressCtx<'_>) -> Result<i64>
Expand description

EndFight that the player won in a PvP fight → +1, else unchanged. The is_win gate is what distinguishes a “Win in the Arena” objective from mere participation — without it a loss would (wrongly) count as a win.