Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
9ff904ad
Commit
9ff904ad
authored
Jan 14, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ceac08b1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
c43583400.lua
c43583400.lua
+13
-1
c64184058.lua
c64184058.lua
+1
-1
c71133680.lua
c71133680.lua
+1
-0
No files found.
c43583400.lua
View file @
9ff904ad
...
@@ -12,6 +12,13 @@ function c43583400.initial_effect(c)
...
@@ -12,6 +12,13 @@ function c43583400.initial_effect(c)
e1
:
SetTarget
(
c43583400
.
sumtg
)
e1
:
SetTarget
(
c43583400
.
sumtg
)
e1
:
SetOperation
(
c43583400
.
sumop
)
e1
:
SetOperation
(
c43583400
.
sumop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e0
:
SetCode
(
EVENT_BATTLED
)
e0
:
SetOperation
(
c43583400
.
regop
)
c
:
RegisterEffect
(
e0
)
--draw
--draw
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
43583400
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
43583400
,
1
))
...
@@ -23,8 +30,13 @@ function c43583400.initial_effect(c)
...
@@ -23,8 +30,13 @@ function c43583400.initial_effect(c)
e2
:
SetOperation
(
c43583400
.
drop
)
e2
:
SetOperation
(
c43583400
.
drop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c43583400
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
GetBattleTarget
()
then
return
end
c
:
RegisterFlagEffect
(
43583400
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
)
end
function
c43583400
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c43583400
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
and
e
:
GetHandler
():
Get
BattledGroupCount
(
)
>
0
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
and
e
:
GetHandler
():
Get
FlagEffect
(
43583400
)
>
0
end
end
function
c43583400
.
sumfilter
(
c
)
function
c43583400
.
sumfilter
(
c
)
return
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
IsSummonable
(
true
,
nil
)
return
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
IsSummonable
(
true
,
nil
)
...
...
c64184058.lua
View file @
9ff904ad
...
@@ -38,7 +38,7 @@ function c64184058.atlimit(e,c)
...
@@ -38,7 +38,7 @@ function c64184058.atlimit(e,c)
return
c
:
IsControler
(
1
-
tp
)
and
c
:
IsLevelAbove
(
6
)
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsControler
(
1
-
tp
)
and
c
:
IsLevelAbove
(
6
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c64184058
.
thfilter
(
c
)
function
c64184058
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x8
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x8
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
end
function
c64184058
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64184058
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c71133680.lua
View file @
9ff904ad
...
@@ -8,6 +8,7 @@ function c71133680.initial_effect(c)
...
@@ -8,6 +8,7 @@ function c71133680.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetCountLimit
(
1
,
71133680
)
e1
:
SetCountLimit
(
1
,
71133680
)
e1
:
SetCondition
(
c71133680
.
atkcon
)
e1
:
SetCondition
(
c71133680
.
atkcon
)
e1
:
SetCost
(
c71133680
.
atkcost
)
e1
:
SetCost
(
c71133680
.
atkcost
)
...
...
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