DragonKnightOfBreeze / Paradox-Language-Support

IDEA Plugin: Paradox Language Support.
https://windea.icu/Paradox-Language-Support
MIT License
36 stars 4 forks source link

无法解析使用了scripted_variables的参数预设值 #51

Closed Elivicti closed 11 months ago

Elivicti commented 11 months ago

script_valuescripted_effect里使用scripted_variables作为参数的预设值会报错

Snipaste_2023-09-21_17-25-11

其中@GF_zion_project_energy_cost_1为定义在scripted_variables里的常量,值为5000

经测试,游戏内使用如下代码会将变量的值设为5000,所以代码是有效的

set_variable = {
    which = v_test
    value = value:GF_test|VALUE|7500|
}
DragonKnightOfBreeze commented 11 months ago

image