fixing fantasy age bug

This commit is contained in:
Nic Bradley
2023-03-27 15:50:00 -07:00
parent 72d9921c4b
commit a3b2a17324
+1 -1
View File
@@ -3462,7 +3462,7 @@
let thisfocusname = v["repeating_spell_spell-talent"];
let thisnote = `{{note1=${v["repeating_spell_spell-spellpower"]}}} {{note1-name=@{spellpower_label}}}`;
if (v.game === "dragon-age") {thisability = "magic"; thisfocusname = v["repeating_spell_spell-school"];};
if (v.game === "fantasy-age" || v.game === "titansgrave") {thisability = "intelligence"; thisfocusname = v["repeating_spell_spell-school"];};
if (v.game === "fantasy-age" || v.game === "fantasy-age-core" || v.game === "titansgrave") {thisability = "intelligence"; thisfocusname = v["repeating_spell_spell-school"];};
if (v.game === "modern-age") {thisnote = `{{note1=${v["repeating_spell_spell-mp-cost"]}}} {{note1-name=@{power_cost_label}}}`};
if (v.game === "threefold") {thisnote = `{{note1=${v["repeating_spell_spell-mp-cost"]}}} {{note1-name=@{kanna_cost_label}}}`};
ability_check(thisability, thisfocusname, v["repeating_spell_spell-focus-bonus"], `{{desc=${v["repeating_spell_spell-name"]}}} {{tn=${v["repeating_spell_spell-tn"]}}} ${thisnote}`)