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
0
Issues
0
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
八宫一月
ygopro-THC-cards
Commits
a4449c27
Commit
a4449c27
authored
Jun 18, 2022
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c50343.lua
parent
9f0a7521
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
script/c50343.lua
script/c50343.lua
+4
-6
No files found.
script/c50343.lua
View file @
a4449c27
...
...
@@ -30,7 +30,6 @@ function c50343.initial_effect(c)
e0
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e0
:
SetRange
(
LOCATION_MZONE
)
e0
:
SetTarget
(
c50343
.
target
)
e0
:
SetValue
(
c50343
.
efilter
)
c
:
RegisterEffect
(
e0
)
end
...
...
@@ -68,10 +67,9 @@ function c50343.tgop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
CalculateDamage
(
a
,
c
,
true
)
end
end
function
c50343
.
target
(
e
,
c
)
local
te
,
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TARGET_CARDS
)
return
te
and
te
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
g
and
g
:
IsContains
(
c
)
and
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
function
c50343
.
efilter
(
e
,
te
)
return
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
local
c
=
e
:
GetHandler
()
local
ec
=
te
:
GetHandler
()
if
ec
:
IsHasCardTarget
(
c
)
then
return
true
end
return
te
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
and
te
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
c
:
IsRelateToEffect
(
te
)
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
end
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