Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HiiragiGuardians
ygopro-THC-cards
Commits
655eaa47
Commit
655eaa47
authored
Aug 13, 2024
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete c19500150.lua
parent
876b63c2
Pipeline
#29172
passed with stage
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
74 deletions
+0
-74
script/c19500150.lua
script/c19500150.lua
+0
-74
No files found.
script/c19500150.lua
deleted
100644 → 0
View file @
876b63c2
--七色人形剧·临场发挥
function
c19500150
.
initial_effect
(
c
)
--
-- local e1=Effect.CreateEffect(c)
-- e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
--e1:SetCode(EVENT_DESTROYED)
-- e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
-- e1:SetCountLimit(1,19500151)
-- e1:SetOperation(c19500150.op)
-- c:RegisterEffect(e1)
--disable
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
19500150
,
2
))
e3
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_REMOVE
)
e3
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCountLimit
(
1
,
19500150
)
e3
:
SetCondition
(
c19500150
.
condition2
)
e3
:
SetTarget
(
c19500150
.
target2
)
e3
:
SetOperation
(
c19500150
.
activate2
)
c
:
RegisterEffect
(
e3
)
end
--function c19500150.op(e,tp,eg,ep,ev,re,r,rp)
--inactivatable
-- local e4=Effect.CreateEffect(e:GetHandler())
--e4:SetType(EFFECT_TYPE_FIELD)
-- e4:SetCode(EFFECT_CANNOT_INACTIVATE)
--e4:SetValue(c19500150.effectfilter)
-- e4:SetReset(RESET_PHASE+PHASE_END)
-- Duel.RegisterEffect(e4,tp)
-- local e5=e4:Clone()
-- e5:SetCode(EFFECT_CANNOT_DISEFFECT)
-- Duel.RegisterEffect(e5,tp)
-- local e10=Effect.CreateEffect(e:GetHandler())
-- e10:SetType(EFFECT_TYPE_FIELD)
-- e10:SetProperty(EFFECT_FLAG_CLIENT_HINT+EFFECT_FLAG_PLAYER_TARGET)
-- e10:SetReset(RESET_PHASE+PHASE_END)
-- e10:SetTargetRange(1,0)
-- e10:SetDescription(aux.Stringid(19500150,0))
-- Duel.RegisterEffect(e10,tp)
--end
function
c19500150
.
effectfilter
(
e
,
ct
)
local
p
=
e
:
GetHandler
():
GetControler
()
local
te
,
tp
,
loc
=
Duel
.
GetChainInfo
(
ct
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
,
CHAININFO_TRIGGERING_LOCATION
)
local
tc
=
te
:
GetHandler
()
return
p
==
tp
and
(
tc
:
IsSetCard
(
0x186
)
or
tc
:
IsSetCard
(
0x300
))
and
bit
.
band
(
loc
,
LOCATION_ONFIELD
)
~=
0
end
function
c19500150
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsChainDisablable
(
ev
)
then
return
false
end
local
te
,
p
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
return
te
and
(
te
:
GetHandler
():
IsSetCard
(
0x186
)
or
te
:
GetHandler
():
IsSetCard
(
0x300
))
and
te
:
IsActiveType
(
TYPE_MONSTER
)
and
p
==
tp
end
function
c19500150
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
ng
=
Group
.
CreateGroup
()
local
dg
=
Group
.
CreateGroup
()
for
i
=
1
,
ev
do
local
te
,
tgp
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
local
tc
=
te
:
GetHandler
()
ng
:
AddCard
(
tc
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
ng
,
ng
:
GetCount
(),
0
,
0
)
end
function
c19500150
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
dg
=
Group
.
CreateGroup
()
for
i
=
1
,
ev
do
local
te
,
tgp
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
if
tgp
~=
tp
then
Duel
.
NegateActivation
(
i
)
end
end
end
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment