Skip to content

EP/GP point system support #11

Description

@avandenberghe

Summary

Support the Effort Points / Gear Points (EP/GP) system as a DKP pool variant.

How EP/GP works

  • EP (Effort Points): Earned through raid attendance (like standard DKP earned)
  • GP (Gear Points): Accumulated when receiving loot (items have a GP cost based on item level/slot)
  • PR (Priority Ratio): EP / GP — higher ratio = higher loot priority
  • Minimum GP floor to prevent division by zero (configurable, e.g. GP = max(actual_GP, base_GP))

Implementation with transaction ledger

The transaction ledger (#3) naturally supports EP/GP:

  • Raid attendance → account = 'earned' (these are EP)
  • Item received → account = 'spent' (these are GP)
  • PR = SUM(earned) / MAX(ABS(SUM(spent)), base_gp)

Pool configuration

Add to bb_dkp_pools:

  • pool_type: dkp (default) or epgp
  • base_gp: Minimum GP floor (default 1)

Display

  • Standings show EP, GP, PR columns instead of earned/spent/net
  • Loot decisions sorted by PR descending

GP calculation

GP per item can be:

  • Manual entry (admin sets GP cost)
  • Formula-based: GP = base_cost * slot_modifier * ilvl_modifier (WoW-specific, via game plugin)

Reference

  • Archived language keys: EP, EPLONG, GP, GPLONG, PR, PRLONG, EPNET, GPNET in bbguild/contrib/archive/language/*/dkp_common.php
  • WoW addon reference: https://github.com/EQdkpPlus/game-wow

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions