Bug Verified

HasAuraType condition does not parse placeholders.

#6309 opened by Unknown 1 year ago

Unknownreported this bug

Recently, support for placeholders for the aura auratype parameter was added. However, there is no way to dynamically check for an aura type as the HasAuraType condition does not parse placeholders.

Example:

AuraType_apply:
  Skills:
  - skill{s=AuraType_test;aura_type=1} @self

AuraType_test
  Skills:
  # Apply Aura
  - aura{d=40;name=Testing;auratype=<skill.aura_type>}
  # Check if AuraType present
  - message{m=Has this Aura Type already!} ?hasauratype{type=<skill.aura_type>}
  - message{m=Control} ?hasauratype{type=1}
Sign in to join the discussion.