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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
27153b8c
Commit
27153b8c
authored
Aug 01, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/AC04' into master
parents
f4003fac
c8dced56
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
28 additions
and
22 deletions
+28
-22
c18046862.lua
c18046862.lua
+1
-1
c31322640.lua
c31322640.lua
+4
-4
c31539614.lua
c31539614.lua
+1
-1
c32484853.lua
c32484853.lua
+1
-1
c32762201.lua
c32762201.lua
+1
-1
c33206889.lua
c33206889.lua
+1
-1
c33506331.lua
c33506331.lua
+1
-1
c34323367.lua
c34323367.lua
+1
-1
c4145915.lua
c4145915.lua
+1
-1
c44728989.lua
c44728989.lua
+1
-1
c45445571.lua
c45445571.lua
+1
-1
c5267507.lua
c5267507.lua
+1
-1
c6089145.lua
c6089145.lua
+1
-1
c66532962.lua
c66532962.lua
+1
-1
c6659193.lua
c6659193.lua
+1
-1
c6812770.lua
c6812770.lua
+1
-1
c68316358.lua
c68316358.lua
+9
-3
No files found.
c18046862.lua
View file @
27153b8c
c31322640.lua
View file @
27153b8c
...
@@ -51,9 +51,9 @@ function s.costfilter(c,code)
...
@@ -51,9 +51,9 @@ function s.costfilter(c,code)
return
c
:
GetFlagEffect
(
code
)
~=
0
return
c
:
GetFlagEffect
(
code
)
~=
0
end
end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
qg
=
e
:
GetHandler
():
GetEquipGroup
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
and
qg
:
IsExists
(
s
.
costfilter
,
1
,
nil
,
e
:
GetHandler
():
GetCode
())
end
if
chk
==
0
then
return
c
:
IsAbleToGraveAsCost
()
and
aux
.
IsSelfEquip
(
c
,
FLAG_ID_ALLURE_QUEEN
)
end
Duel
.
SendtoGrave
(
e
:
GetHandler
()
,
REASON_COST
)
Duel
.
SendtoGrave
(
c
,
REASON_COST
)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
)
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsAttackBelow
(
1500
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsAttackBelow
(
1500
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c31539614.lua
View file @
27153b8c
c32484853.lua
View file @
27153b8c
c32762201.lua
View file @
27153b8c
c33206889.lua
View file @
27153b8c
c33506331.lua
View file @
27153b8c
c34323367.lua
View file @
27153b8c
c4145915.lua
View file @
27153b8c
c44728989.lua
View file @
27153b8c
c45445571.lua
View file @
27153b8c
c5267507.lua
View file @
27153b8c
c6089145.lua
View file @
27153b8c
c66532962.lua
View file @
27153b8c
c6659193.lua
View file @
27153b8c
c6812770.lua
View file @
27153b8c
c68316358.lua
View file @
27153b8c
...
@@ -16,6 +16,7 @@ function s.initial_effect(c)
...
@@ -16,6 +16,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
s
.
atktg
)
e2
:
SetValue
(
s
.
val
)
e2
:
SetValue
(
s
.
val
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--spsummon
--spsummon
...
@@ -46,11 +47,16 @@ function s.atkfilter(c,code)
...
@@ -46,11 +47,16 @@ function s.atkfilter(c,code)
return
c
:
IsFaceup
()
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
==
TYPE_MONSTER
return
c
:
IsFaceup
()
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
==
TYPE_MONSTER
and
c
:
GetFlagEffect
(
code
)
~=
0
and
c
:
GetFlagEffect
(
code
)
~=
0
end
end
function
s
.
atktg
(
e
,
c
)
return
c
:
IsSetCard
(
0x3
)
end
function
s
.
val
(
e
,
c
)
function
s
.
val
(
e
,
c
)
local
g
=
c
:
GetEquipGroup
():
Filter
(
s
.
atkfilter
,
nil
,
c
:
GetCode
()
)
local
g
=
c
:
GetEquipGroup
():
Filter
(
s
.
atkfilter
,
nil
,
FLAG_ID_ALLURE_QUEEN
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
return
g
:
GetSum
(
Card
.
GetBaseAttack
)
return
g
:
GetSum
(
Card
.
GetBaseAttack
)
else
return
0
end
else
return
0
end
end
end
function
s
.
spcfilter
(
c
,
tp
)
function
s
.
spcfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
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