Commit 8b79b27a authored by DailyShana's avatar DailyShana

fix & update

parent d054c8ab
......@@ -8,7 +8,7 @@ function c17016362.initial_effect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CHANGE_DAMAGE)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_AVAILABLE_BD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(1,0)
e1:SetValue(c17016362.damval)
c:RegisterEffect(e1)
......
......@@ -11,5 +11,5 @@ function c4848423.initial_effect(c)
c:RegisterEffect(e1)
end
function c4848423.rev(e,re,r,rp,rc)
return bit.band(r,REASON_BATTLE)~=0 and rc==e:GetHandler()
return bit.band(r,REASON_BATTLE)~=0 and e:GetHandler():GetBattleTarget()
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment