master @ 49 LINES
[ HISTORY ] [ UP ]
┌─ NIX ──────────────────────────────────────────────────────────────────────┐
│ { │
│ lib, │
│ consumables, │
│ ... │
│ }: let │
│ inherit (lib.sim.player) mkPlayer; │
│ inherit (consumables.preset) strength; │
│ │
│ mkProtection = { │
│ race, │
│ apl ? "protection", │
│ gearset ? "p1", │
│ talents, │
│ consumables ? strength, │
│ profession1 ? "engineering", │
│ profession2 ? "blacksmithing", │
│ distanceFromTarget ? 5, │
│ }: │
│ mkPlayer { │
│ class = "warrior"; │
│ spec = "protection"; │
│ options = { │
│ startingRage = 0; │
│ shout = "BattleShout"; │
│ stance = "DefensiveStance"; │
│ }; │
│ inherit race gearset talents apl consumables profession1 profession2 distanc │
│ eFromTarget; │
│ glyphs = { │
│ }; │
│ }; │
│ │
│ protection = { │
│ talents = { │
│ }; │
│ │
│ p1 = { │
│ singleTarget = mkProtection { │
│ race = "human"; │
│ talents = protection.talents.shockwave; │
│ }; │
│ aoe = mkProtection { │
│ race = "human"; │
│ talents = protection.talents.dragonRoar; │
│ }; │
│ }; │
│ }; │
│ in │
│ protection │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ NIX ────────────────────────────────┐
│ { │
│ lib, │
│ consumables, │
│ ... │
│ }: let │
│ inherit (lib.sim.player) mkPlayer; │
│ inherit (consumables.preset) strength; │
│ │
│ mkProtection = { │
│ race, │
│ apl ? "protection", │
│ gearset ? "p1", │
│ talents, │
│ consumables ? strength, │
│ profession1 ? "engineering", │
│ profession2 ? "blacksmithing", │
│ distanceFromTarget ? 5, │
│ }: │
│ mkPlayer { │
│ class = "warrior"; │
│ spec = "protection"; │
│ options = { │
│ startingRage = 0; │
│ shout = "BattleShout"; │
│ stance = "DefensiveStance"; │
│ }; │
│ inherit race gearset talents apl consu │
│ mables profession1 profession2 distanceFromT │
│ arget; │
│ glyphs = { │
│ }; │
│ }; │
│ │
│ protection = { │
│ talents = { │
│ }; │
│ │
│ p1 = { │
│ singleTarget = mkProtection { │
│ race = "human"; │
│ talents = protection.talents.shockwa │
│ ve; │
│ }; │
│ aoe = mkProtection { │
│ race = "human"; │
│ talents = protection.talents.dragonR │
│ oar; │
│ }; │
│ }; │
│ }; │
│ in │
│ protection │
└──────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET