Commit a53858a6 authored by Tachibana's avatar Tachibana

watele

parent 320f2b89
Pipeline #6712 passed with stages
in 24 minutes and 39 seconds
......@@ -47,7 +47,8 @@ function rkst.advop(e,tp,eg,ep,ev,re,r,rp,c)
local tp=e:GetHandlerPlayer()
local res1=false
local mg=Duel.GetMatchingGroup(rkst.otfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
local res = c:IsLevelAbove(7) and minc<=1 and Duel.CheckTribute(c,1,1,mg)
local c=e:GetHandler()
local res = Duel.CheckTribute(c,1,1,mg)
if Duel.IsPlayerAffectedByEffect(tp,16110026) then
res1=Duel.IsPlayerCanDiscardDeckAsCost(tp,1)
end
......@@ -86,7 +87,6 @@ function cm.initial_effect(c)
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_TOGRAVE)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e3:SetCode(EVENT_SUMMON_SUCCESS)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCountLimit(1,m)
e3:SetCondition(cm.descon)
e3:SetTarget(cm.destg)
......@@ -116,7 +116,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE)
end
function cm.filter(c)
return ((c:IsAttack(2400) and c:IsDefense(1000)) or (c:IsAttack(2800) and c:IsDefense(1000))) and c:IsAbleToHand()
return c:IsAttackAbove(2400) and c:IsDefense(1000) and c:IsAbleToHand()
end
function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true 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