fix return for condition type

This commit is contained in:
Bunny67
2020-06-13 19:42:05 +03:00
parent b0b9ed4d30
commit b758383aa6
+2 -2
View File
@@ -996,7 +996,7 @@ WeakAuras.event_prototypes = {
name = "unitisunit",
display = L["Unit is Unit"],
type = "unit",
init = "UnitIsUnit(unit, extraUnit)",
init = "UnitIsUnit(unit, extraUnit) == 1 and true or false",
values = "actual_unit_types_with_specific",
test = "unitisunit",
store = true,
@@ -1068,7 +1068,7 @@ WeakAuras.event_prototypes = {
name = "attackable",
display = L["Attackable"],
type = "tristate",
init = "UnitCanAttack('player', unit)",
init = "UnitCanAttack('player', unit) == 1 and true or false",
store = true,
conditionType = "bool"
},