aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gamedata.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2018-05-30 17:22:57 +0200
committerDaniel Schadt <kingdread@gmx.de>2018-05-30 17:22:57 +0200
commit9b77846cd77c19f6bffaccba610c5596a2d1e336 (patch)
treeb3d9e95acd24ddded1023995d62960e63dd11906 /src/statistics/gamedata.rs
parent14fc5c230b3e1e26a4a26683f8c5bf75c1f022ff (diff)
downloadevtclib-9b77846cd77c19f6bffaccba610c5596a2d1e336.tar.gz
evtclib-9b77846cd77c19f6bffaccba610c5596a2d1e336.tar.bz2
evtclib-9b77846cd77c19f6bffaccba610c5596a2d1e336.zip
add all standard boons and conditions
still missing: * spirits * superspeed * any other non-boon thing (Empower Allies, banners, spotter, ...) * ...
Diffstat (limited to 'src/statistics/gamedata.rs')
-rw-r--r--src/statistics/gamedata.rs40
1 files changed, 34 insertions, 6 deletions
diff --git a/src/statistics/gamedata.rs b/src/statistics/gamedata.rs
index d7f0e0e..a6dbf15 100644
--- a/src/statistics/gamedata.rs
+++ b/src/statistics/gamedata.rs
@@ -21,16 +21,44 @@ impl Boon {
/// A list of all boons (and conditions)
pub static BOONS: &[Boon] = &[
// Standard boons.
- // Queue size for duration based boons are wonky, more or less guess work.
+ // Boon queue sizes taken from the wiki:
+ // https://wiki.guildwars2.com/wiki/Effect_stacking
+ // IDs from wiki and skilldef.log:
+ // https://www.deltaconnected.com/arcdps/evtc/
+
+ // Duration based
+ Boon(743, "Aegis", 5, BoonType::Duration),
+ Boon(30328, "Alacrity", 9, BoonType::Duration),
+ Boon(725, "Fury", 9, BoonType::Duration),
Boon(717, "Protection", 5, BoonType::Duration),
Boon(718, "Regeneration", 5, BoonType::Duration),
- Boon(719, "Swiftness", 5, BoonType::Duration),
- Boon(725, "Fury", 5, BoonType::Duration),
+ Boon(26980, "Resistance", 5, BoonType::Duration),
+ Boon(873, "Retaliation", 5, BoonType::Duration),
+ Boon(719, "Swiftness", 9, BoonType::Duration),
+ Boon(1187, "Quickness", 5, BoonType::Duration),
Boon(726, "Vigor", 5, BoonType::Duration),
+
+ // Intensity based
Boon(740, "Might", 25, BoonType::Intensity),
- Boon(743, "Aegis", 5, BoonType::Duration),
- Boon(1187, "Quickness", 5, BoonType::Duration),
- Boon(30328, "Alacrity", 9, BoonType::Duration),
+ Boon(1122, "Stability", 25, BoonType::Intensity),
+
+ // Standard conditions.
+ // Duration based
+ Boon(720, "Blinded", 5, BoonType::Duration),
+ Boon(722, "Chilled", 5, BoonType::Duration),
+ Boon(721, "Crippled", 5, BoonType::Duration),
+ Boon(791, "Fear", 5, BoonType::Duration),
+ Boon(727, "Immobile", 3, BoonType::Duration),
+ Boon(26766, "Slow", 3, BoonType::Duration),
+ Boon(742, "Weakness", 3, BoonType::Duration),
+
+ // Intensity based
+ Boon(736, "Bleeding", 1500, BoonType::Intensity),
+ Boon(737, "Burning", 1500, BoonType::Intensity),
+ Boon(861, "Confusion", 1500, BoonType::Intensity),
+ Boon(723, "Poison", 1500, BoonType::Intensity),
+ Boon(19426, "Torment", 1500, BoonType::Intensity),
+ Boon(738, "Vulnerability", 25, BoonType::Intensity),
];
pub fn get_boon(boon_id: u16) -> Option<&'static Boon> {