Skip to content

Commit

Permalink
fix(warlock): require demon to be present for some spells (#815)
Browse files Browse the repository at this point in the history
* fix(warlock): demonology talent Soul Strike requires a Felguard pet

* fix(warlock): affliction Grimoire of Sacrifice requires a pet
  • Loading branch information
johnnylam88 committed Jan 20, 2021
1 parent ae5a9a5 commit 9c93263
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/scripts/ovale_warlock_spells.ts
Expand Up @@ -374,7 +374,12 @@ Define(corrupting_leer_conduit 174)
Define(lead_by_example_soulbind 342156)
`;
// END

code += `
#grimoire_of_sacrifice
SpellRequire(grimoire_of_sacrifice unusable set=1 enabled=(not pet.present()))
#soul_strike
SpellRequire(soul_strike unusable set=1 enabled=(not pet.present() or not pet.creaturefamily("Felguard")))
`;
OvaleScripts.RegisterScript(
"WARLOCK",
undefined,
Expand Down

0 comments on commit 9c93263

Please sign in to comment.