Commit 3f1de01f authored by wind2009's avatar wind2009

Fix

parent b3fb6f3b
Pipeline #41528 passed with stages
in 2 minutes and 8 seconds
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
100250202 100250202
100250203 100250203
100250204 100250204
100250044
100250062 100250062
100250063 100250063
100250064 100250064
......
...@@ -4,4 +4,5 @@ ...@@ -4,4 +4,5 @@
100249001 100249001
100238301 100238301
100200280 100200280
100252001 100252001
\ No newline at end of file 100200281
\ No newline at end of file
...@@ -33,7 +33,7 @@ function s.thcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -33,7 +33,7 @@ function s.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end end
function s.thfilter(c) function s.thfilter(c)
return c:GetAttack()==c:GetDefense() and c:IsRace(RACE_SPELLCASTER) return aux.AtkEqualsDef(c) and c:IsRace(RACE_SPELLCASTER)
and c:IsLevel(4,8) and c:IsAbleToHand() and c:IsLevel(4,8) and c:IsAbleToHand()
end end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
...@@ -81,7 +81,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,7 +81,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e3:SetReset(RESET_EVENT+RESETS_STANDARD) e3:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e3) tc:RegisterEffect(e3)
end end
if Duel.IsExistingMatchingCard(s.cfilter,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then if Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
end end
...@@ -89,4 +89,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,4 +89,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.cfilter(c) function s.cfilter(c)
return c:IsSetCard(0x2d7) and c:IsType(TYPE_MONSTER) or c:IsCode(68468459) return c:IsSetCard(0x2d7) and c:IsType(TYPE_MONSTER) or c:IsCode(68468459)
end end
\ No newline at end of file
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