Commit fad22485 authored by VanillaSalt's avatar VanillaSalt

fix

parent 557944ba
...@@ -66,7 +66,7 @@ function c1686814.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,7 +66,7 @@ function c1686814.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(Card.IsControler,1,nil,tp) return eg:IsExists(Card.IsControler,1,nil,tp)
end end
function c1686814.spfilter(c,e,tp) function c1686814.spfilter(c,e,tp)
return (c:IsSetCard(0xc2) or (c:GetLevel()==7 or c:GetLevel()==8)) return (c:IsSetCard(0xc2) or ((c:GetLevel()==7 or c:GetLevel()==8) and c:IsRace(RACE_DRAGON)))
and c:IsType(TYPE_SYNCHRO) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsType(TYPE_SYNCHRO) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c1686814.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c1686814.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -27,7 +27,7 @@ function c2055403.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -27,7 +27,7 @@ function c2055403.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLP(tp)>=ct*1000 then if Duel.GetLP(tp)>=ct*1000 then
Duel.SetLP(tp,Duel.GetLP(tp)-ct*1000) Duel.SetLP(tp,Duel.GetLP(tp)-ct*1000)
else else
Duel.SetLP(0) Duel.SetLP(tp,0)
end end
end end
end end
...@@ -60,7 +60,7 @@ function c61156777.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function c61156777.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c61156777.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function c61156777.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then e:GetHandler():IsCanRemoveCounter(tp,0x34,1,REASON_EFFECT) end if chk==0 then return e:GetHandler():IsCanRemoveCounter(tp,0x34,1,REASON_EFFECT) end
return Duel.SelectYesNo(tp,aux.Stringid(61156777,2)) return Duel.SelectYesNo(tp,aux.Stringid(61156777,2))
end end
function c61156777.repop(e,tp,eg,ep,ev,re,r,rp) function c61156777.repop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -8,10 +8,14 @@ function c83555666.initial_effect(c) ...@@ -8,10 +8,14 @@ function c83555666.initial_effect(c)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,0x1e1) e1:SetHintTiming(0,0x1e1)
e1:SetCountLimit(1,83555666+EFFECT_COUNT_CODE_OATH) e1:SetCountLimit(1,83555666+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c83555666.condition)
e1:SetTarget(c83555666.target) e1:SetTarget(c83555666.target)
e1:SetOperation(c83555666.activate) e1:SetOperation(c83555666.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c83555666.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp
end
function c83555666.filter(c,lp) function c83555666.filter(c,lp)
return c:IsFaceup() and c:IsAttackBelow(lp) and c:IsDestructable() return c:IsFaceup() and c:IsAttackBelow(lp) and c:IsDestructable()
end 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