We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ac9830 commit 684ef6eCopy full SHA for 684ef6e
official/c21848500.lua
@@ -84,14 +84,17 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
84
end
85
function s.spop(e,tp,eg,ep,ev,re,r,rp)
86
local c=e:GetHandler()
87
- if c:IsRelateToEffect(e) and Duel.SpecialSummonStep(c,0,tp,tp,false,false,POS_FACEUP) then
88
- --Its ATK becomes doubled
89
- local e1=Effect.CreateEffect(c)
90
- e1:SetType(EFFECT_TYPE_SINGLE)
91
- e1:SetCode(EFFECT_SET_ATTACK_FINAL)
92
- e1:SetValue(c:GetAttack()*2)
93
- e1:SetReset(RESET_EVENT|RESETS_STANDARD_DISABLE)
94
- c:RegisterEffect(e1,true)
+ if c:IsRelateToEffect(e) then
+ local atk=c:GetAttack()*2
+ if Duel.SpecialSummonStep(c,0,tp,tp,false,false,POS_FACEUP) then
+ --Its ATK becomes doubled
+ local e1=Effect.CreateEffect(c)
+ e1:SetType(EFFECT_TYPE_SINGLE)
+ e1:SetCode(EFFECT_SET_ATTACK)
+ e1:SetValue(atk)
95
+ e1:SetReset(RESET_EVENT|RESETS_STANDARD_DISABLE)
96
+ c:RegisterEffect(e1,true)
97
+ end
98
+ Duel.SpecialSummonComplete()
99
- Duel.SpecialSummonComplete()
100
0 commit comments