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
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
MyCard
ygopro-scripts
Commits
ceac08b1
Commit
ceac08b1
authored
Jan 14, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
306fe320
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
c3113667.lua
c3113667.lua
+1
-1
c4848423.lua
c4848423.lua
+3
-1
c50588353.lua
c50588353.lua
+2
-2
c85216896.lua
c85216896.lua
+1
-1
c86938484.lua
c86938484.lua
+1
-1
No files found.
c3113667.lua
View file @
ceac08b1
...
@@ -22,7 +22,7 @@ function c3113667.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c3113667.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e3
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e3
:
SetCondition
(
c3113667
.
spcon1
)
e3
:
SetCondition
(
c3113667
.
spcon1
)
e3
:
SetTarget
(
c3113667
.
sptg
)
e3
:
SetTarget
(
c3113667
.
sptg
)
e3
:
SetOperation
(
c3113667
.
spop
)
e3
:
SetOperation
(
c3113667
.
spop
)
...
...
c4848423.lua
View file @
ceac08b1
...
@@ -11,5 +11,7 @@ function c4848423.initial_effect(c)
...
@@ -11,5 +11,7 @@ function c4848423.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c4848423
.
rev
(
e
,
re
,
r
,
rp
,
rc
)
function
c4848423
.
rev
(
e
,
re
,
r
,
rp
,
rc
)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
and
e
:
GetHandler
():
GetBattleTarget
()
local
c
=
e
:
GetHandler
()
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
and
(
c
==
Duel
.
GetAttacker
()
or
c
==
Duel
.
GetAttackTarget
())
end
end
c50588353.lua
View file @
ceac08b1
...
@@ -24,7 +24,7 @@ function c50588353.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c50588353.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
TIMING_MAIN_END
+
TIMING_BATTLE_START
+
TIMING_BATTLE_END
)
e2
:
SetHintTiming
(
0
,
TIMING_MAIN_END
+
TIMING_BATTLE_START
+
TIMING_BATTLE_END
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
5058835
3
+
100
)
e2
:
SetCountLimit
(
1
,
5058835
4
)
e2
:
SetCondition
(
c50588353
.
spcon
)
e2
:
SetCondition
(
c50588353
.
spcon
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
c50588353
.
sptg
)
e2
:
SetTarget
(
c50588353
.
sptg
)
...
@@ -61,7 +61,7 @@ function c50588353.hspop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +61,7 @@ function c50588353.hspop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c50588353
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50588353
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_CHAINING
)
and
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
and
(
ph
==
PHASE_MAIN1
or
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
or
ph
==
PHASE_MAIN2
)
and
(
ph
==
PHASE_MAIN1
or
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
or
ph
==
PHASE_MAIN2
)
end
end
function
c50588353
.
spfilter
(
c
,
e
,
tp
)
function
c50588353
.
spfilter
(
c
,
e
,
tp
)
...
...
c85216896.lua
View file @
ceac08b1
...
@@ -28,7 +28,7 @@ function c85216896.initial_effect(c)
...
@@ -28,7 +28,7 @@ function c85216896.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
8521689
6
+
100
)
e3
:
SetCountLimit
(
1
,
8521689
7
)
e3
:
SetTarget
(
c85216896
.
rmtg
)
e3
:
SetTarget
(
c85216896
.
rmtg
)
e3
:
SetOperation
(
c85216896
.
rmop
)
e3
:
SetOperation
(
c85216896
.
rmop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
...
c86938484.lua
View file @
ceac08b1
...
@@ -18,7 +18,7 @@ function c86938484.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c86938484.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
8693848
4
+
100
)
e2
:
SetCountLimit
(
1
,
8693848
5
)
e2
:
SetTarget
(
c86938484
.
sptg2
)
e2
:
SetTarget
(
c86938484
.
sptg2
)
e2
:
SetOperation
(
c86938484
.
spop2
)
e2
:
SetOperation
(
c86938484
.
spop2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
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