Commit ee0f882e authored by Tachibana's avatar Tachibana

ndyd

parent f8f963e2
Pipeline #5680 passed with stages
in 23 minutes and 15 seconds
......@@ -95,7 +95,8 @@ function c18003014.valcheck(e,c)
end
end
function c18003014.immtg(e,c)
return aux.GetColumn(0,4)
return aux.GetColumn(c,e:GetHandler():GetControler())==0 or
aux.GetColumn(c,e:GetHandler():GetControler())==4
end
function c18003014.efilter(e,re)
return e:GetHandlerPlayer()~=re:GetHandlerPlayer() and re:IsActivated()
......
......@@ -41,7 +41,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CHANGE_DAMAGE)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetTargetRange(1,1)
e2:SetTargetRange(1,0)
e2:SetValue(cm.val)
e2:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e2,tp)
......
......@@ -28,7 +28,7 @@ function c50221320.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsChainNegatable(ev) and (re:IsActiveType(TYPE_MONSTER) or re:IsHasType(EFFECT_TYPE_ACTIVATE))
end
function c50221320.cfilter(c)
return c:IsSetCard(0xcb3) and c:IsType(TYPE_MONSTER+TYPE_RITUAL) and not c:IsStatus(STATUS_BATTLE_DESTROYED)
return c:IsSetCard(0xcb3) and c:IsType(TYPE_MONSTER) and c:IsType(TYPE_RITUAL) and not c:IsStatus(STATUS_BATTLE_DESTROYED)
end
function c50221320.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c50221320.cfilter,1,nil) 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