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
39a063d6
Commit
39a063d6
authored
Apr 13, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d8ac73a1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
c23516703.lua
c23516703.lua
+1
-1
c36378044.lua
c36378044.lua
+2
-2
No files found.
c23516703.lua
View file @
39a063d6
...
...
@@ -36,5 +36,5 @@ function c23516703.limittg(e,c,tp)
end
function
c23516703
.
countval
(
e
,
tp
)
local
t1
,
t2
,
t3
=
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_SUMMON
,
ACTIVITY_FLIPSUMMON
,
ACTIVITY_SPSUMMON
)
if
t1
+
t2
+
t
2
>=
2
then
return
0
else
return
2
-
t1
-
t2
-
t3
end
if
t1
+
t2
+
t
3
>=
2
then
return
0
else
return
2
-
t1
-
t2
-
t3
end
end
c36378044.lua
View file @
39a063d6
...
...
@@ -7,10 +7,10 @@ function c36378044.initial_effect(c)
e1
:
SetTarget
(
c36378044
.
atktg1
)
e1
:
SetOperation
(
c36378044
.
atkop
)
c
:
RegisterEffect
(
e1
)
--
atk change
--
coin
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
36378044
,
0
))
e2
:
SetCategory
(
CATEGORY_
ATKCHANGE
+
CATEGORY_COIN
)
e2
:
SetCategory
(
CATEGORY_
DRAW
+
CATEGORY_DESTROY
+
CATEGORY_COIN
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e2
:
SetRange
(
LOCATION_SZONE
)
...
...
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