Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
729d4129
Commit
729d4129
authored
Feb 13, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1de0d4f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
script/c42945701.lua
script/c42945701.lua
+3
-1
script/c95526884.lua
script/c95526884.lua
+1
-0
No files found.
script/c42945701.lua
View file @
729d4129
...
...
@@ -15,7 +15,9 @@ function c42945701.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
1
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_FIRE
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsAttribute
,
1
,
1
,
nil
,
ATTRIBUTE_FIRE
)
e
:
SetLabel
(
g
:
GetFirst
():
GetAttack
())
local
atk
=
g
:
GetFirst
():
GetTextAttack
()
if
atk
<
0
then
atk
=
0
end
e
:
SetLabel
(
atk
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c42945701
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c95526884.lua
View file @
729d4129
...
...
@@ -24,6 +24,7 @@ function c95526884.reccon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
if
not
d
then
return
false
end
local
m
=
a
:
GetAttack
()
-
d
:
GetDefence
()
e
:
SetLabel
(
m
)
return
c
==
a
and
m
>
0
and
bit
.
band
(
d
:
GetBattlePosition
(),
POS_DEFENCE
)
~=
0
...
...
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