Commit b0811594 authored by Nemo Ma's avatar Nemo Ma

fix

parent 3519f3d5
......@@ -27,6 +27,7 @@ function cm.initial_effect(c)
e3:SetRange(LOCATION_MZONE)
e3:SetCode(EFFECT_IMMUNE_EFFECT)
e3:SetTargetRange(LOCATION_MZONE,0)
e3:SetCondition(cm.econ)
e3:SetTarget(cm.etarget)
e3:SetValue(cm.efilter)
c:RegisterEffect(e3)
......@@ -169,6 +170,9 @@ end
function cm.tokendes(e)
return not e:GetOwner():GetCardTarget():IsContains(e:GetHandler())
end
function cm.econ(e)
return Duel.GetTurnPlayer()==e:GetHandlerPlayer()
end
function cm.etarget(e,c)
return c:IsSetCard(0x351)
end
......@@ -212,5 +216,5 @@ function cm.upop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.bgmop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(11,0,aux.Stringid(m,7))
Duel.Hint(HINT_MUSIC,0,aux.Stringid(m,7))
end
......@@ -28,6 +28,7 @@ function cm.initial_effect(c)
e3:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(LOCATION_MZONE,0)
e3:SetCondition(cm.econ)
e3:SetTarget(cm.etarget)
e3:SetValue(1)
c:RegisterEffect(e3)
......@@ -39,6 +40,7 @@ function cm.initial_effect(c)
e5:SetCode(EFFECT_UPDATE_ATTACK)
e5:SetRange(LOCATION_MZONE)
e5:SetTargetRange(LOCATION_MZONE,0)
e5:SetCondition(cm.econ)
e5:SetTarget(cm.etarget)
e5:SetValue(1300)
c:RegisterEffect(e5)
......@@ -182,6 +184,9 @@ end
function cm.tokendes(e)
return not e:GetOwner():GetCardTarget():IsContains(e:GetHandler())
end
function cm.econ(e)
return Duel.GetTurnPlayer()==e:GetHandlerPlayer()
end
function cm.etarget(e,c)
return c:IsSetCard(0x351)
end
......@@ -222,5 +227,5 @@ function cm.efilter(e,re)
return e:GetOwnerPlayer()~=re:GetOwnerPlayer()
end
function cm.bgmop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(11,0,aux.Stringid(m,7))
Duel.Hint(HINT_MUSIC,0,aux.Stringid(m,7))
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