Skip to content

Commit 684ef6e

Browse files
committed
"Maliss <Q> Hearts Crypter" update
update to the ATK evaluation to prevent conflict with rulings for the interaction with "Maliss <P> Dormouse"
1 parent 9ac9830 commit 684ef6e

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

official/c21848500.lua

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,17 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
8484
end
8585
function s.spop(e,tp,eg,ep,ev,re,r,rp)
8686
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)
87+
if c:IsRelateToEffect(e) then
88+
local atk=c:GetAttack()*2
89+
if Duel.SpecialSummonStep(c,0,tp,tp,false,false,POS_FACEUP) then
90+
--Its ATK becomes doubled
91+
local e1=Effect.CreateEffect(c)
92+
e1:SetType(EFFECT_TYPE_SINGLE)
93+
e1:SetCode(EFFECT_SET_ATTACK)
94+
e1:SetValue(atk)
95+
e1:SetReset(RESET_EVENT|RESETS_STANDARD_DISABLE)
96+
c:RegisterEffect(e1,true)
97+
end
98+
Duel.SpecialSummonComplete()
9599
end
96-
Duel.SpecialSummonComplete()
97100
end

0 commit comments

Comments
 (0)