Commit c88a351b authored by POLYMER's avatar POLYMER

fix

parent 7d4a8963
......@@ -60,7 +60,6 @@ function c22022850.scop(e,tp,eg,ep,ev,re,r,rp)
end
function c22022850.discon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) and rp==1-tp and re:IsActiveType(TYPE_MONSTER) and Duel.IsChainNegatable(ev)
and e:GetHandler():GetOverlayGroup():IsExists(Card.IsCode,1,nil,16195942)
end
function c22022850.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
......
......@@ -22,6 +22,9 @@ function c22023660.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.RegisterFlagEffect(tp,22023340,0,0,0)
Duel.Hint(HINT_CARD,0,22023340)
end
end
function c22023660.activate(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) and not Duel.GetFlagEffect(tp,22023340)>2 then return end
Duel.SelectOption(tp,aux.Stringid(22023660,0))
Duel.SelectOption(tp,aux.Stringid(22023660,1))
Duel.Damage(1-tp,500,REASON_EFFECT)
......@@ -38,11 +41,6 @@ function c22023660.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Damage(1-tp,500,REASON_EFFECT)
Duel.SelectOption(tp,aux.Stringid(22023660,2))
Duel.Damage(1-tp,1500,REASON_EFFECT)
end
function c22023660.activate(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) and not Duel.GetFlagEffect(tp,22023340)>2 then return end
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Damage(p,d,REASON_EFFECT)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
......
......@@ -51,8 +51,8 @@ function cm.xyzop(e,tp,chk)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterFlagEffect(1,m,RESET_PHASE+PHASE_END,0,1)
Duel.RegisterFlagEffect(0,m,RESET_PHASE+PHASE_END,0,1)
Duel.RegisterFlagEffect(1,m+10000000,RESET_PHASE+PHASE_END,0,1)
Duel.RegisterFlagEffect(0,m+10000000,RESET_PHASE+PHASE_END,0,1)
end
function cm.spcon1(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -16,7 +16,7 @@ function c95101257.initial_effect(c)
c:RegisterEffect(e1)
end
function c95101257.poscon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(Card.IsSummonPlayer,1,nil,1-tp)
return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==0 eg:IsExists(Card.IsSummonPlayer,1,nil,1-tp)
end
function c95101257.poscost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsDiscardable() 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