Skip to content

Commit 476690e

Browse files
authored
"Allure Queen LV3" update
Prevent script errors due to an undefined variable when using its effect in the presence of "Golden Allure Queen"
1 parent 2b6e776 commit 476690e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

official/c87257460.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--Allure Queen LV3
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--Equip 1 Level 3 or lower monster your opponent controls to this card
5+
--Once per turn, during your Main Phase, you can select 1 Level 3 or lower monster on your opponent's side of the field and equip it to this card
66
local e1=Effect.CreateEffect(c)
77
e1:SetDescription(aux.Stringid(id,0))
88
e1:SetCategory(CATEGORY_EQUIP)
@@ -23,7 +23,7 @@ function s.initial_effect(c)
2323
e2:SetCondition(s.eqconquick)
2424
c:RegisterEffect(e2)
2525
aux.AddEREquipLimit(c,s.eqconquick,s.eqval,s.equipop,e2)
26-
--Special Summon 1 "Allure Queen LV5" from your hand or Deck
26+
--During your Standby Phase, by sending this card to the Graveyard while it's equipped due to its effect, Special Summon 1 "Allure Queen LV5" from your hand or Deck
2727
local e3=Effect.CreateEffect(c)
2828
e3:SetDescription(aux.Stringid(id,1))
2929
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
@@ -47,7 +47,7 @@ function s.eqconignition(e,tp,eg,ep,ev,re,r,rp)
4747
end
4848
function s.eqconquick(e,tp,eg,ep,ev,re,r,rp)
4949
local c=e:GetHandler()
50-
return not c:GetEquipGroup():IsExists(Card.HasFlagEffect,1,nil,id) and c:IsOriginalSetCard(SET_ALLURE_QUEEN) and Duel.IsPlayerAffectedByEffect(tp,EFFECT_GOLDEN_ALLURE_QUEEN)
50+
return not c:GetEquipGroup():IsExists(Card.HasFlagEffect,1,nil,id) and c:IsOriginalSetCard(SET_ALLURE_QUEEN) and Duel.IsPlayerAffectedByEffect(e:GetHandlerPlayer(),EFFECT_GOLDEN_ALLURE_QUEEN)
5151
end
5252
function s.eqfilter(c)
5353
return c:IsLevelBelow(3) and c:IsFaceup() and c:IsAbleToChangeControler()
@@ -99,4 +99,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
9999
if #g>0 then
100100
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
101101
end
102-
end
102+
end

0 commit comments

Comments
 (0)