Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update EFFECT_TRAP_ACT_IN_HAND and so on #2481

Merged
merged 10 commits into from
May 7, 2024
1 change: 1 addition & 0 deletions c10045474.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function c10045474.initial_effect(c)
c:RegisterEffect(e1)
--act in hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(10045474,0))
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetCondition(c10045474.handcon)
Expand Down
1 change: 1 addition & 0 deletions c12541409.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function c12541409.initial_effect(c)
c:RegisterEffect(e1)
--act in set turn
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(12541409,2))
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
1 change: 1 addition & 0 deletions c14883228.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function c14883228.initial_effect(c)
c:RegisterEffect(e1)
--act in hand
local e2=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(14883228,0))
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetCondition(c14883228.handcon)
Expand Down
1 change: 1 addition & 0 deletions c15693423.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function c15693423.initial_effect(c)
c:RegisterEffect(e1)
--act in hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(15693423,0))
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetCondition(c15693423.handcon)
Expand Down
1 change: 1 addition & 0 deletions c15943341.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function c15943341.activate(e,tp,eg,ep,ev,re,r,rp)
local og=Duel.GetOperatedGroup()
if og:IsExists(c15943341.checkfilter,1,nil,tp) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(15943341,1))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
Expand Down
1 change: 1 addition & 0 deletions c21593977.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ end
function c21593977.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21593977,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e1:SetTargetRange(LOCATION_HAND,0)
Expand Down
7 changes: 3 additions & 4 deletions c23002292.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ function c23002292.initial_effect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c23002292.condition)
e1:SetCost(c23002292.cost)
e1:SetTarget(c23002292.target)
e1:SetOperation(c23002292.activate)
c:RegisterEffect(e1)
--act in hand
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetCost(c23002292.cost)
e2:SetDescription(aux.Stringid(23002292,1))
c:RegisterEffect(e2)
end
function c23002292.condition(e,tp,eg,ep,ev,re,r,rp)
Expand All @@ -22,9 +23,7 @@ function c23002292.condition(e,tp,eg,ep,ev,re,r,rp)
end
function c23002292.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
if e:GetHandler():IsStatus(STATUS_ACT_FROM_HAND) then
Duel.PayLPCost(tp,math.floor(Duel.GetLP(tp)/2))
end
Duel.PayLPCost(tp,math.floor(Duel.GetLP(tp)/2))
end
function c23002292.setfilter(c)
return c:IsType(TYPE_TRAP) and c:IsSSetable(true)
Expand Down
1 change: 1 addition & 0 deletions c24425055.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function c24425055.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst()
if tc and Duel.SSet(tp,tc)~=0 then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(24425055,0))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
1 change: 1 addition & 0 deletions c2511.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ function c2511.acttg(e,c)
end
function c2511.operation(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(2511,2))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
1 change: 1 addition & 0 deletions c25209168.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ function c25209168.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=stg:Select(tp,1,1,nil):GetFirst()
if tc and Duel.SSet(tp,tc)~=0 then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(25209168,3))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
1 change: 1 addition & 0 deletions c2547033.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function c2547033.initial_effect(c)
c:RegisterEffect(e2)
--act in set turn
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(2547033,1))
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e3:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
1 change: 1 addition & 0 deletions c27012990.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function c27012990.initial_effect(c)
c:RegisterEffect(e1)
--act in hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(27012990,0))
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetCondition(c27012990.handcon)
Expand Down
1 change: 1 addition & 0 deletions c27923575.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ function c27923575.setop(e,tp,eg,ep,ev,re,r,rp)
Duel.SSet(tp,tg)
for tc in aux.Next(tg) do
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(27923575,2))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
1 change: 1 addition & 0 deletions c29649320.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function c29649320.setop(e,tp,eg,ep,ev,re,r,rp)
local sg=Group.FromCards(c,tc)
if Duel.SSet(tp,sg)==0 then return end
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29649320,0))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
2 changes: 2 additions & 0 deletions c29762407.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ function c29762407.initial_effect(c)
c:RegisterEffect(e1)
--Trap activate in set turn
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(29762407,1))
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(LOCATION_SZONE,0)
e2:SetCountLimit(1,29762407)
e2:SetDescription(aux.Stringid(29762407,1))
c:RegisterEffect(e2)
--spsummon
local e3=Effect.CreateEffect(c)
Expand Down
2 changes: 2 additions & 0 deletions c30907810.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ function c30907810.initial_effect(c)
c:RegisterEffect(e1)
--activate from hand
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(30907810,2))
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_QP_ACT_IN_NTPHAND)
e3:SetRange(LOCATION_MZONE)
e3:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x108))
e3:SetTargetRange(LOCATION_HAND,0)
e3:SetValue(32841045)
c:RegisterEffect(e3)
local e4=e3:Clone()
e4:SetCode(EFFECT_TRAP_ACT_IN_HAND)
Expand Down
2 changes: 2 additions & 0 deletions c31629407.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
function c31629407.initial_effect(c)
--activate from hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(31629407,1))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_QP_ACT_IN_NTPHAND)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x108))
e1:SetTargetRange(LOCATION_HAND,0)
e1:SetValue(32841045)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
Expand Down
2 changes: 2 additions & 0 deletions c32841045.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
function c32841045.initial_effect(c)
--activate from hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(32841045,1))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_QP_ACT_IN_NTPHAND)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x108))
e1:SetTargetRange(LOCATION_HAND,0)
e1:SetValue(32841045)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
Expand Down
1 change: 1 addition & 0 deletions c33773528.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function c33773528.initial_effect(c)
c:RegisterEffect(e0)
--Trap activate in set turn
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(33773528,1))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
1 change: 1 addition & 0 deletions c34302287.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function c34302287.initial_effect(c)
c:RegisterEffect(e1)
--act in hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(34302287,1))
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetCondition(c34302287.handcon)
Expand Down
1 change: 1 addition & 0 deletions c36346532.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function c36346532.setop(e,tp,eg,ep,ev,re,r,rp)
local sc=g:GetFirst()
if sc and Duel.SSet(tp,sc)~=0 then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(36346532,1))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
1 change: 1 addition & 0 deletions c36429703.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ function c36429703.setop(e,tp,eg,ep,ev,re,r,rp)
if tc and Duel.SSet(tp,tc)~=0 then
if tc:IsType(TYPE_QUICKPLAY) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(36429703,2))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetCode(EFFECT_QP_ACT_IN_SET_TURN)
Expand Down
1 change: 1 addition & 0 deletions c37617348.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2)
--quick activate
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1))
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e3:SetTargetRange(LOCATION_SZONE,0)
Expand Down
2 changes: 2 additions & 0 deletions c37649320.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ function c37649320.initial_effect(c)
c:RegisterEffect(e1)
--activate trap in hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(37649320,1))
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetRange(LOCATION_MZONE)
e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0xd4))
e2:SetTargetRange(LOCATION_HAND,0)
e2:SetValue(37649320)
c:RegisterEffect(e2)
--search
local e3=Effect.CreateEffect(c)
Expand Down
1 change: 1 addition & 0 deletions c43697559.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
--ジェット・ロイド
function c43697559.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(43697559,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
Expand Down
25 changes: 24 additions & 1 deletion c44487250.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,31 @@ end
function c44487250.condition(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and re:IsActiveType(TYPE_MONSTER) and Duel.IsChainNegatable(ev)
end
function c44487250.only_filter(c,onlyc)
local require_count=c==onlyc and 2 or 1
return c:CheckRemoveOverlayCard(tp,require_count,REASON_COST)
end
function c44487250.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckRemoveOverlayCard(tp,1,0,1,REASON_COST) end
if chk==0 then
local c=e:GetHandler()
if c:IsLocation(LOCATION_HAND) then
local fromhand_effects={c:IsHasEffect(EFFECT_TRAP_ACT_IN_HAND)}
local available_fromhand_effects={}
for _,te in ipairs(fromhand_effects) do
local cost=te:GetCost()
if te:CheckCountLimit(tp) and (not cost or cost(te,tp,eg,ep,ev,re,r,rp,0,e)) then
table.insert(available_fromhand_effects,te)
end
end
if #available_fromhand_effects==1 and available_fromhand_effects[1]:GetValue()==85551711 then
return Duel.IsExistingMatchingCard(c44487250.only_filter,tp,LOCATION_MZONE,0,1,nil,available_fromhand_effects[1]:GetHandler())
else
return Duel.CheckRemoveOverlayCard(tp,1,0,1,REASON_COST)
end
else
return Duel.CheckRemoveOverlayCard(tp,1,0,1,REASON_COST)
end
end
Duel.RemoveOverlayCard(tp,1,0,1,1,REASON_COST)
end
function c44487250.target(e,tp,eg,ep,ev,re,r,rp,chk)
Expand Down
1 change: 1 addition & 0 deletions c49826746.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ function c49826746.initial_effect(c)
aux.AddCodeList(c,80280737)
--Trap activate in set turn
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(49826746,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
2 changes: 2 additions & 0 deletions c50237654.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function c50237654.drop(e,tp,eg,ep,ev,re,r,rp)
if Duel.SSet(tp,dc,tp,false)==0 then return end
if dc:IsType(TYPE_QUICKPLAY) then
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50237654,2))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetCode(EFFECT_QP_ACT_IN_SET_TURN)
Expand All @@ -51,6 +52,7 @@ function c50237654.drop(e,tp,eg,ep,ev,re,r,rp)
end
if dc:IsType(TYPE_TRAP) then
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50237654,2))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
2 changes: 2 additions & 0 deletions c5230799.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
function c5230799.initial_effect(c)
--activate from hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(5230799,1))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_QP_ACT_IN_NTPHAND)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x108))
e1:SetTargetRange(LOCATION_HAND,0)
e1:SetValue(32841045)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
Expand Down
1 change: 1 addition & 0 deletions c52945066.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function c52945066.initial_effect(c)
c:RegisterEffect(e1)
--act in hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(52945066,0))
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetCondition(c52945066.handcon)
Expand Down
2 changes: 2 additions & 0 deletions c55428242.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ function c55428242.initial_effect(c)
c:RegisterEffect(e1)
--
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(55428242,0))
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetRange(LOCATION_MZONE)
e2:SetTargetRange(LOCATION_HAND,0)
e2:SetTarget(c55428242.etarget)
e2:SetValue(55428242)
c:RegisterEffect(e2)
--
local e3=Effect.CreateEffect(c)
Expand Down
2 changes: 2 additions & 0 deletions c58019984.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) and Duel.SSet(tp,tc)>0 then
if tc:IsType(TYPE_QUICKPLAY) then
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(58019984,2))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetCode(EFFECT_QP_ACT_IN_SET_TURN)
Expand All @@ -54,6 +55,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
if tc:IsType(TYPE_TRAP) then
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(58019984,2))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
1 change: 1 addition & 0 deletions c59839761.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function c59839761.initial_effect(c)
c:RegisterEffect(e1)
--act in hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(59839761,0))
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetCondition(c59839761.handcon)
Expand Down
1 change: 1 addition & 0 deletions c60990740.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function c60990740.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.DisableShuffleCheck()
if tc:GetType()==TYPE_TRAP and Duel.SSet(tp,tc)~=0 then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(60990740,0))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
Expand Down
1 change: 1 addition & 0 deletions c61397885.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function c61397885.initial_effect(c)
c:RegisterEffect(e1)
--act in hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(61397885,1))
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_TRAP_ACT_IN_HAND)
e2:SetCondition(c61397885.handcon)
Expand Down
1 change: 1 addition & 0 deletions c68018709.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
function c68018709.initial_effect(c)
--act qp in hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(68018709,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_QP_ACT_IN_NTPHAND)
e1:SetRange(LOCATION_MZONE)
Expand Down
Loading