+
Skip to content

Dynamic ai_strategy variable false positive #176

Open
@Zankoas

Description

@Zankoas

Dynamic ai_strategy variables throw a lot of errors, such as here:

			modifier = {
				NOT = { has_war_with = FROM }
				OR = {
					check_variable = { FROM.ai_strategy_conquer@THIS > 0 }
					check_variable = { FROM.ai_strategy_antagonize@THIS > 0 }
					check_variable = { FROM.ai_strategy_declare_war@THIS > 0 }
					check_variable = { FROM.ai_strategy_prepare_for_war@THIS > 0 }
					any_owned_state = { is_claim_or_core_of_FROM = yes }
				}
				factor = 1.5
			}

Seems the issue is with with multiple links at the same time; if you remove FROM part the error will disappear.

Similar too this issue: #34

Full screenshot:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载