Skip to content

Commit 1dcffe0

Browse files
authored
Update "Pulling the Strings"
Misnamed effect declaration/missing resets for control effect
1 parent efbe361 commit 1dcffe0

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

skill/c300309012.lua

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,18 @@ function s.ctrlop(e,tp,eg,ep,ev,re,r,rp)
5050
Duel.HintSelection(tc,true)
5151
if tc and Duel.GetControl(tc,1-tp) then
5252
--That monster cannot be Tributed
53-
local e1=Effect.CreateEffect(e:GetHandler())
54-
e1:SetDescription(3303)
55-
e1:SetType(EFFECT_TYPE_SINGLE)
56-
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CLIENT_HINT)
57-
e1:SetRange(LOCATION_MZONE)
58-
e1:SetCode(EFFECT_UNRELEASABLE_SUM)
59-
e1:SetValue(1)
60-
tc:RegisterEffect(e1)
61-
local e2=e:Clone()
62-
e2:SetCode(EFFECT_UNRELEASABLE_NONSUM)
63-
tc:RegisterEffect(e2)
53+
local e1a=Effect.CreateEffect(e:GetHandler())
54+
e1a:SetDescription(3303)
55+
e1a:SetType(EFFECT_TYPE_SINGLE)
56+
e1a:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CLIENT_HINT)
57+
e1a:SetRange(LOCATION_MZONE)
58+
e1a:SetCode(EFFECT_UNRELEASABLE_SUM)
59+
e1a:SetValue(1)
60+
e1a:SetReset(RESET_EVENT|RESETS_STANDARD)
61+
tc:RegisterEffect(e1a)
62+
local e1b=e1a:Clone()
63+
e1b:SetCode(EFFECT_UNRELEASABLE_NONSUM)
64+
tc:RegisterEffect(e1b)
6465
end
6566
end
6667
function s.desop(e,tp,eg,ep,ev,re,r,rp)
@@ -79,7 +80,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
7980
local c=e:GetHandler()
8081
--You take no damage from cards you own for the rest of this Duel
8182
local e1a=Effect.CreateEffect(e:GetHandler())
82-
e1:SetDescription(aux.Stringid(id,2))
83+
e1a:SetDescription(aux.Stringid(id,2))
8384
e1a:SetType(EFFECT_TYPE_FIELD)
8485
e1a:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CLIENT_HINT)
8586
e1a:SetCode(EFFECT_CHANGE_DAMAGE)

0 commit comments

Comments
 (0)