Skip to content

Commit 74ed768

Browse files
authored
fix "Turbo Warrior"
should also not be untargettable by monsters without a Level
1 parent b2888dd commit 74ed768

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

official/c46195773.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ function s.initial_effect(c)
2020
e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
2121
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
2222
e2:SetRange(LOCATION_MZONE)
23-
e2:SetValue(function(e,re,rp) return re:IsMonsterEffect() and re:GetCardLevel()<=6 end)
23+
e2:SetValue(function(e,re,rp)
24+
local lvl=re:GetCardLevel()
25+
return lvl>0 and lvl<=6
26+
end)
2427
c:RegisterEffect(e2)
2528
end
2629
s.material={67270095}

0 commit comments

Comments
 (0)