Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
867d1a07
Commit
867d1a07
authored
Aug 14, 2024
by
mercury233
Committed by
GitHub
Aug 14, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ヴォルカニック・デビル and E-HERO マリシャス・デビル (#2634)
close #2633
parent
37bfbc07
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
c32543380.lua
c32543380.lua
+4
-0
c86676862.lua
c86676862.lua
+2
-3
No files found.
c32543380.lua
View file @
867d1a07
...
@@ -16,6 +16,7 @@ function c32543380.initial_effect(c)
...
@@ -16,6 +16,7 @@ function c32543380.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_MUST_ATTACK
)
e2
:
SetCode
(
EFFECT_MUST_ATTACK
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c32543380
.
bpcon
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
local
e3
=
e2
:
Clone
()
...
@@ -55,6 +56,9 @@ function c32543380.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -55,6 +56,9 @@ function c32543380.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
g
=
e
:
GetLabelObject
()
local
g
=
e
:
GetLabelObject
()
Duel
.
SendtoGrave
(
g
,
REASON_SPSUMMON
)
Duel
.
SendtoGrave
(
g
,
REASON_SPSUMMON
)
end
end
function
c32543380
.
bpcon
(
e
)
return
Duel
.
IsTurnPlayer
(
1
-
e
:
GetHandlerPlayer
())
and
Duel
.
IsBattlePhase
()
end
function
c32543380
.
atklimit
(
e
,
c
)
function
c32543380
.
atklimit
(
e
,
c
)
return
c
==
e
:
GetHandler
()
return
c
==
e
:
GetHandler
()
end
end
...
...
c86676862.lua
View file @
867d1a07
...
@@ -26,6 +26,7 @@ function c86676862.initial_effect(c)
...
@@ -26,6 +26,7 @@ function c86676862.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_MUST_ATTACK
)
e4
:
SetCode
(
EFFECT_MUST_ATTACK
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
c86676862
.
poscon
)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
local
e5
=
e4
:
Clone
()
...
@@ -39,9 +40,7 @@ function c86676862.ffilter(c)
...
@@ -39,9 +40,7 @@ function c86676862.ffilter(c)
return
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsLevelAbove
(
6
)
return
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsLevelAbove
(
6
)
end
end
function
c86676862
.
poscon
(
e
)
function
c86676862
.
poscon
(
e
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
Duel
.
IsTurnPlayer
(
1
-
e
:
GetHandlerPlayer
())
and
Duel
.
IsBattlePhase
()
return
Duel
.
GetTurnPlayer
()
~=
e
:
GetHandler
():
GetControler
()
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
end
function
c86676862
.
atklimit
(
e
,
c
)
function
c86676862
.
atklimit
(
e
,
c
)
return
c
==
e
:
GetHandler
()
return
c
==
e
:
GetHandler
()
...
...
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