Warcraft-GoA-Development-Team / Warcraft-Guardians-of-Azeroth-2

"Guardians of Azeroth" is a mod for Crusader Kings 3 with a worldwide development team, based on the Warcraft universe by Blizzard Entertainment. In this mod, our team is working to recreate the world of Azeroth in all of its glory, particularly focusing on the story of the classic Warcraft strategy games and World of Warcraft Classic.
83 stars 67 forks source link

has_cultural_pillar wrong scope wc_cultural__triggers, culture_is_elemental_favoured_heritage #1569

Open Rimaka94 opened 2 weeks ago

Rimaka94 commented 2 weeks ago

Issue Description: When testing for death-spells branch, I found this error in error.log:

[10:53:35][E][jomini_script_system.cpp:284]: Script system error! (while building tooltip/description) Error: has_cultural_pillar trigger [ Wrong scope for trigger: character, expected culture ] Script location: file: common/scripted_triggers/wc_cultural_triggers.txt line: 671 (culture_is_elemental_favoured_heritage) file: common/script_values/wc_magic_values.txt line: 4817 (wc_elemental_fire_favour_bonus_for_heritage) file: common/scripted_effects/wc_magic_effects.txt line: 201 (show_spell_tt_effect_elemental) file: common/scripted_effects/wc_magic_effects.txt line: 237 (execute_scoped_spell_effect) file: common/scripted_guis/wc_magic_guis.txt line: 1028 (spell_tooltip_sgui:effect)

How To Reproduce: May need to navigate around in the elemental-fire spellbook to get this to pop.

Screenshots:

Game Files: