Function boss_win

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

EndFight the player won while the fight’s template is CampaignBossFight and the fight is NOT a dungeon run → +1; everything else unchanged. Dungeon bosses ride the same template type, but the quest is “Defeat a Campaign Boss” (BAL-035) and dungeon bosses grant no Mastery, so they must not tick it either. Quest dispatch runs while the fight is still present (the same contract raid_dungeon’s in-fight branch relies on).