Skip to content

Commit e54282e

Browse files
committed
"The Immortal Sun God" update
The effect has been changed from: > then if you Special Summoned "The Winged Dragon of Ra" by this effect, send it to the GY, and if you do, you can Special Summon ... to > then if you Special Summoned "The Winged Dragon of Ra" by this effect, you can send it to the GY, and if you do, Special Summon ...
1 parent 5f5bcc9 commit e54282e

5 files changed

Lines changed: 17 additions & 15 deletions

File tree

pre-release/c101403001.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function s.initial_effect(c)
2525
e2:SetTarget(s.thtg)
2626
e2:SetOperation(s.thop)
2727
c:RegisterEffect(e2)
28-
--During the End Phase, if "Immortal Sun God" was sent to your GY this turn: You can add this card from your GY to your hand
28+
--During the End Phase, if "The Immortal Sun God" was sent to your GY this turn: You can add this card from your GY to your hand
2929
local e3=Effect.CreateEffect(c)
3030
e3:SetDescription(aux.Stringid(id,2))
3131
e3:SetCategory(CATEGORY_TOHAND)

pre-release/c101403002.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function s.initial_effect(c)
2323
return e:GetHandler():IsPreviousLocation(LOCATION_HAND|LOCATION_ONFIELD)
2424
end)
2525
c:RegisterEffect(e1c)
26-
--During the End Phase, if "Immortal Sun God" was sent to your GY this turn: You can add this card from your GY to your hand
26+
--During the End Phase, if "The Immortal Sun God" was sent to your GY this turn: You can add this card from your GY to your hand
2727
local e2=Effect.CreateEffect(c)
2828
e2:SetDescription(aux.Stringid(id,1))
2929
e2:SetCategory(CATEGORY_TOHAND)

pre-release/c101403003.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function s.initial_effect(c)
2626
e2:SetTarget(s.tdtg)
2727
e2:SetOperation(s.tdop)
2828
c:RegisterEffect(e2)
29-
--During the End Phase, if "Immortal Sun God" was sent to your GY this turn: You can add this card from your GY to your hand
29+
--During the End Phase, if "The Immortal Sun God" was sent to your GY this turn: You can add this card from your GY to your hand
3030
local e3=Effect.CreateEffect(c)
3131
e3:SetDescription(aux.Stringid(id,2))
3232
e3:SetCategory(CATEGORY_TOHAND)

pre-release/c101403004.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function s.initial_effect(c)
2424
e2:SetTarget(s.sptg)
2525
e2:SetOperation(s.spop)
2626
c:RegisterEffect(e2)
27-
--During the End Phase, if "Immortal Sun God" was sent to your GY this turn: You can add this card from your GY to your hand
27+
--During the End Phase, if "The Immortal Sun God" was sent to your GY this turn: You can add this card from your GY to your hand
2828
local e3=Effect.CreateEffect(c)
2929
e3:SetDescription(aux.Stringid(id,1))
3030
e3:SetCategory(CATEGORY_TOHAND)

pre-release/c101403051.lua

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
--不死なる太陽神
2-
--Immortal Sun God
2+
--The Immortal Sun God
33
--Scripted by Eerie Code
44
local s,id=GetID()
55
function s.initial_effect(c)
66
--Special Summon 1 "The Winged Dragon of Ra" monster from your GY or banishment, ignoring its Summoning conditions, then if you Special Summoned "The Winged Dragon of Ra" by this effect, send it to the GY, and if you do, you can Special Summon 1 "The Winged Dragon of Ra" monster from your Extra Deck. During the End Phase, send the monsters Special Summoned by this effect to the GY
7+
--Special Summon 1 "The Winged Dragon of Ra" monster from your GY or banishment, ignoring its Summoning conditions, then if you Special Summoned "The Winged Dragon of Ra" by this effect, you can send it to the GY, and if you do, Special Summon 1 "The Winged Dragon of Ra" monster from your Extra Deck. During the End Phase, send the monsters Special Summoned by this effect to the GY
78
local e1=Effect.CreateEffect(c)
89
e1:SetDescription(aux.Stringid(id,0))
910
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOGRAVE)
@@ -41,9 +42,9 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
4142
Duel.SetPossibleOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_MZONE)
4243
Duel.SetPossibleOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
4344
end
44-
function s.extraspfilter(c,e,tp)
45+
function s.extraspfilter(c,e,tp,exc)
4546
return c:IsSetCard(SET_THE_WINGED_DRAGON_OF_RA) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
46-
and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
47+
and Duel.GetLocationCountFromEx(tp,tp,exc,c)>0
4748
end
4849
function s.activate(e,tp,eg,ep,ev,re,r,rp)
4950
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
@@ -52,15 +53,16 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
5253
if sc and Duel.SpecialSummonStep(sc,0,tp,tp,true,false,POS_FACEUP)
5354
and sc:IsCode(CARD_RA) then
5455
Duel.SpecialSummonComplete()
55-
Duel.BreakEffect()
56-
if Duel.SendtoGrave(sc,REASON_EFFECT)>0 and sc:IsLocation(LOCATION_GRAVE)
57-
and Duel.IsExistingMatchingCard(s.extraspfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp)
56+
if sc:IsAbleToGrave() and Duel.IsExistingMatchingCard(s.extraspfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,sc)
5857
and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
59-
sc=nil
60-
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
61-
sc=Duel.SelectMatchingCard(tp,s.extraspfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp):GetFirst()
62-
if sc then
63-
Duel.SpecialSummonStep(sc,0,tp,tp,false,false,POS_FACEUP)
58+
Duel.BreakEffect()
59+
if Duel.SendtoGrave(sc,REASON_EFFECT)>0 and sc:IsLocation(LOCATION_GRAVE) then
60+
sc=nil
61+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
62+
sc=Duel.SelectMatchingCard(tp,s.extraspfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp):GetFirst()
63+
if sc then
64+
Duel.SpecialSummonStep(sc,0,tp,tp,false,false,POS_FACEUP)
65+
end
6466
end
6567
end
6668
end

0 commit comments

Comments
 (0)