πŸ†WoE Scoring

This document outlines the complete scoring system for War of Emperium events, including detailed scenarios and expected outcomes.

System Overview

Event Types

  • Status Events: START/END - Mark the beginning and end of a WOE session

  • Attendance Events: Track guild member participation

  • Capture Events: Record when a guild captures the castle

  • Kill Events: Record PvP kills during the session

Point Values

  • Castle Owner: 3 points - Guild that owns the castle when the session ends

  • Longest Control: 3 points - Guild that controlled the castle for the longest total duration

  • First Break: 2 points - Guild that made the first capture after session start

  • Attendance: 1 point - Guild with β‰₯3 members present (configurable)

  • Most Kills: 1 point - Guild with the highest kill count (ties can share points)

Session Rules

  1. Every session must start with a START event and end with an END event

  2. Standard duration is 1 hour (60 minutes), unless specified otherwise

  3. All events are processed chronologically by timestamp

  4. Castle ownership can ONLY change through CAPTURE events

  5. Without capture events, the guild from the START event owns the castle at the END event

  6. Duration is calculated between consecutive capture events

  7. Attendance threshold is configurable (default: 3 members)

  8. Longest control points are only awarded when capture events occur (indicating competition)


Scoring Scenarios

Scenario 1: Basic Castle Owner (Minimal Session)

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 11:00:00 - END (DragonKnights still owns castle)

Points Calculation:

  • Castle Owner: DragonKnights = 3 points (owns castle at session end)

  • No capture events occurred, so no longest control points awarded

Final Leaderboard:


Scenario 2: No Competition Session

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 11:00:00 - END (DragonKnights still owns castle)

Points Calculation:

  • Castle Owner: DragonKnights = 3 points (owns castle at session end)

  • No capture events occurred, so no longest control or first break points

  • Important: Without capture events, castle ownership cannot change between START and END

Final Leaderboard:


Scenario 3: Single Attendance Event

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:15:00 - ATTENDANCE (PhoenixOrder, 5 members present)

  3. 11:00:00 - END (DragonKnights still owns castle)

Points Calculation:

  • Castle Owner: DragonKnights = 3 points

  • Attendance: PhoenixOrder = 1 point (5 members β‰₯ 3 threshold)

Final Leaderboard:


Scenario 4: Multiple Attendance Events

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:10:00 - ATTENDANCE (PhoenixOrder, 4 members present)

  3. 10:15:00 - ATTENDANCE (ShadowLegion, 3 members present)

  4. 11:00:00 - END (DragonKnights still owns castle)

Points Calculation:

  • Castle Owner: DragonKnights = 3 points

  • Attendance: PhoenixOrder = 1 point (4 members β‰₯ 3 threshold)

  • Attendance: ShadowLegion = 1 point (3 members β‰₯ 3 threshold)

Final Leaderboard:


Scenario 5: Insufficient Attendance

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:15:00 - ATTENDANCE (PhoenixOrder, 2 members present)

  3. 11:00:00 - END (DragonKnights still owns castle)

Points Calculation:

  • Castle Owner: DragonKnights = 3 points

  • Attendance: PhoenixOrder = 0 points (2 members < 3 threshold)

Final Leaderboard:


Scenario 6: Single Capture Event

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:15:00 - CAPTURE (PhoenixOrder captures castle)

  3. 11:00:00 - END (PhoenixOrder owns castle)

Duration Calculation:

  • DragonKnights control: 10:00 to 10:15 = 15 minutes

  • PhoenixOrder control: 10:15 to 11:00 = 45 minutes

Points Calculation:

  • Castle Owner: PhoenixOrder = 3 points (owns at end)

  • First Break: PhoenixOrder = 2 points (first capture)

  • Longest Control: PhoenixOrder = 3 points (45 min > 15 min)

Final Leaderboard:


Scenario 7: Multiple Captures - Longest Control

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:05:00 - CAPTURE (PhoenixOrder captures castle)

  3. 10:15:00 - CAPTURE (DragonKnights recaptures castle)

  4. 11:00:00 - END (DragonKnights owns castle)

Duration Calculation:

  • DragonKnights initial control: 10:00 to 10:05 = 5 minutes

  • PhoenixOrder control: 10:05 to 10:15 = 10 minutes

  • DragonKnights final control: 10:15 to 11:00 = 45 minutes

  • DragonKnights total: 5 + 45 = 50 minutes

  • PhoenixOrder total: 10 minutes

Points Calculation:

  • Castle Owner: DragonKnights = 3 points

  • First Break: PhoenixOrder = 2 points (first capture)

  • Longest Control: DragonKnights = 3 points (50 min > 10 min)

Final Leaderboard:


Scenario 8: Three-Way Capture Battle

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:10:00 - CAPTURE (PhoenixOrder captures castle)

  3. 10:15:00 - CAPTURE (ShadowLegion captures castle)

  4. 10:25:00 - CAPTURE (PhoenixOrder recaptures castle)

  5. 11:00:00 - END (PhoenixOrder owns castle)

Duration Calculation:

  • DragonKnights control: 10:00 to 10:10 = 10 minutes

  • PhoenixOrder control: 10:10 to 10:15 + 10:25 to 11:00 = 5 + 35 = 40 minutes

  • ShadowLegion control: 10:15 to 10:25 = 10 minutes

Points Calculation:

  • Castle Owner: PhoenixOrder = 3 points

  • First Break: PhoenixOrder = 2 points (first capture)

  • Longest Control: PhoenixOrder = 3 points (40 min > 10 min)

Final Leaderboard:


Scenario 9: Single Kill Event

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:15:00 - KILL (PhoenixOrder kills DragonKnights member)

  3. 11:00:00 - END (DragonKnights still owns castle)

Points Calculation:

  • Castle Owner: DragonKnights = 3 points

  • Most Kills: PhoenixOrder = 1 point (1 kill vs 0)

Final Leaderboard:


Scenario 10: Kill Competition

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:10:00 - KILL (PhoenixOrder kills DragonKnights member)

  3. 10:15:00 - KILL (PhoenixOrder kills DragonKnights member)

  4. 10:20:00 - KILL (DragonKnights kills PhoenixOrder member)

  5. 11:00:00 - END (DragonKnights still owns castle)

Kill Count:

  • PhoenixOrder: 2 kills

  • DragonKnights: 1 kill

Points Calculation:

  • Castle Owner: DragonKnights = 3 points

  • Most Kills: PhoenixOrder = 1 point (2 kills > 1 kill)

Final Leaderboard:


Scenario 11: Tied Kill Count

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:10:00 - KILL (PhoenixOrder kills DragonKnights member)

  3. 10:15:00 - KILL (DragonKnights kills PhoenixOrder member)

  4. 11:00:00 - END (DragonKnights still owns castle)

Kill Count:

  • PhoenixOrder: 1 kill

  • DragonKnights: 1 kill

Points Calculation:

  • Castle Owner: DragonKnights = 3 points

  • Most Kills: Both guilds = 1 point each (tied at 1 kill)

Final Leaderboard:


Scenario 12: Complex Mixed Events

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:05:00 - ATTENDANCE (PhoenixOrder, 4 members present)

  3. 10:10:00 - CAPTURE (PhoenixOrder captures castle)

  4. 10:20:00 - KILL (DragonKnights kills PhoenixOrder member)

  5. 11:00:00 - END (PhoenixOrder owns castle)

Duration Calculation:

  • DragonKnights control: 10:00 to 10:10 = 10 minutes

  • PhoenixOrder control: 10:10 to 11:00 = 50 minutes

Points Calculation:

  • Castle Owner: PhoenixOrder = 3 points

  • First Break: PhoenixOrder = 2 points

  • Longest Control: PhoenixOrder = 3 points (50 min > 10 min)

  • Attendance: PhoenixOrder = 1 point (4 members β‰₯ 3)

  • Most Kills: DragonKnights = 1 point (1 kill vs 0)

Final Leaderboard:


Scenario 13: Duration Battle with Multiple Recaptures

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:10:00 - CAPTURE (PhoenixOrder captures castle)

  3. 10:15:00 - CAPTURE (DragonKnights recaptures castle)

  4. 10:20:00 - CAPTURE (PhoenixOrder recaptures castle)

  5. 11:00:00 - END (PhoenixOrder owns castle)

Duration Calculation:

  • DragonKnights control: (10:00-10:10) + (10:15-10:20) = 10 + 5 = 15 minutes

  • PhoenixOrder control: (10:10-10:15) + (10:20-11:00) = 5 + 40 = 45 minutes

Points Calculation:

  • Castle Owner: PhoenixOrder = 3 points

  • First Break: PhoenixOrder = 2 points (first capture at 10:10)

  • Longest Control: PhoenixOrder = 3 points (45 min > 15 min)

Final Leaderboard:


Scenario 14: Full Competition (All Event Types)

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:05:00 - ATTENDANCE (ShadowLegion, 5 members present)

  3. 10:10:00 - CAPTURE (PhoenixOrder captures castle)

  4. 10:15:00 - KILL (ShadowLegion kills PhoenixOrder member)

  5. 11:00:00 - END (PhoenixOrder owns castle)

Duration Calculation:

  • DragonKnights control: 10:00 to 10:10 = 10 minutes

  • PhoenixOrder control: 10:10 to 11:00 = 50 minutes

Points Calculation:

  • Castle Owner: PhoenixOrder = 3 points

  • First Break: PhoenixOrder = 2 points

  • Longest Control: PhoenixOrder = 3 points (50 min > 10 min)

  • Attendance: ShadowLegion = 1 point (5 members β‰₯ 3)

  • Most Kills: ShadowLegion = 1 point (1 kill vs 0)

Final Leaderboard:


Scenario 15: Edge Case - Immediate Recapture

Events:

  1. 10:00:00 - START (DragonKnights owns castle)

  2. 10:00:01 - CAPTURE (PhoenixOrder captures castle)

  3. 10:00:02 - CAPTURE (DragonKnights recaptures castle)

  4. 11:00:00 - END (DragonKnights owns castle)

Duration Calculation:

  • DragonKnights control: (10:00:00-10:00:01) + (10:00:02-11:00:00) = 1 second + 59 minutes 58 seconds

  • PhoenixOrder control: 10:00:01 to 10:00:02 = 1 second

Points Calculation:

  • Castle Owner: DragonKnights = 3 points

  • First Break: PhoenixOrder = 2 points (first capture)

  • Longest Control: DragonKnights = 3 points (much longer total control)

Final Leaderboard:


Technical Configuration

Attendance Threshold

  • Default: 3 members minimum required

  • Configurable: Can be adjusted via WOE_EVENT_REQUIRED_ATTENDANCE setting

  • Validation: Only guilds meeting or exceeding threshold receive attendance points

Duration Calculation Method

  1. Events processed in chronological order by created_at timestamp

  2. Control duration calculated between consecutive capture events

  3. Initial control: Session start to first capture (if any)

  4. Final control: Last capture to session end

  5. Total control per guild: Sum of all their control periods

Processing Rules

  1. Session must have START and END status events

  2. Events validated in chronological order

  3. Longest control points only awarded when captures occur (competition indicator)

  4. Tie-breaking for longest control: Castle owner receives points

  5. Kill count ties: Both/all guilds receive most kills points


Summary

This scoring system rewards:

  • Dominance: Castle ownership and longest control (3 points each)

  • Aggression: First break and most kills (2 and 1 points respectively)

  • Participation: Guild attendance (1 point)

The system encourages active competition while ensuring that all forms of participation are recognized and rewarded appropriately.

Last updated