Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
REIKAI
ygopro
Commits
d4c00e1b
Commit
d4c00e1b
authored
May 02, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0d7ab8c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
script/c31444249.lua
script/c31444249.lua
+1
-1
script/c8038143.lua
script/c8038143.lua
+2
-2
script/constant.lua
script/constant.lua
+2
-2
No files found.
script/c31444249.lua
View file @
d4c00e1b
...
@@ -37,7 +37,7 @@ function c31444249.lvtg(e,c)
...
@@ -37,7 +37,7 @@ function c31444249.lvtg(e,c)
end
end
function
c31444249
.
rdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31444249
.
rdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ac
=
Duel
.
GetAttacker
()
local
ac
=
Duel
.
GetAttacker
()
return
ep
~=
tp
and
ac
:
IsSetCard
(
0xbb
)
and
ac
:
GetOriginalLevel
()
>=
2
return
ep
~=
tp
and
ac
:
IsSetCard
(
0xbb
)
and
ac
:
GetOriginalLevel
()
>=
2
and
not
ac
:
IsImmuneToEffect
(
e
)
end
end
function
c31444249
.
rdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31444249
.
rdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChangeBattleDamage
(
ep
,
ev
/
2
)
Duel
.
ChangeBattleDamage
(
ep
,
ev
/
2
)
...
...
script/c8038143.lua
View file @
d4c00e1b
...
@@ -38,7 +38,7 @@ function c8038143.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -38,7 +38,7 @@ function c8038143.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
ng
:
AddCard
(
tc
)
ng
:
AddCard
(
tc
)
if
tc
:
IsOnField
()
and
tc
:
IsRelateToEffect
(
te
)
and
tc
:
IsAbleToDeck
(
)
then
if
tc
:
IsOnField
()
and
tc
:
IsRelateToEffect
(
te
)
and
not
tc
:
IsHasEffect
(
EFFECT_CANNOT_TO_DECK
)
and
IsPlayerCanSendtoDeck
(
tp
,
tc
)
then
dg
:
AddCard
(
tc
)
dg
:
AddCard
(
tc
)
end
end
end
end
...
@@ -54,7 +54,7 @@ function c8038143.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c8038143.activate(e,tp,eg,ep,ev,re,r,rp)
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
Duel
.
NegateActivation
(
i
)
Duel
.
NegateActivation
(
i
)
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
and
tc
:
IsAbleToDeck
(
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
and
not
tc
:
IsHasEffect
(
EFFECT_CANNOT_TO_DECK
)
and
IsPlayerCanSendtoDeck
(
tp
,
tc
)
then
tc
:
CancelToGrave
()
tc
:
CancelToGrave
()
dg
:
AddCard
(
tc
)
dg
:
AddCard
(
tc
)
end
end
...
...
script/constant.lua
View file @
d4c00e1b
...
@@ -136,10 +136,10 @@ STATUS_SUMMONING =0x0200 --召唤中
...
@@ -136,10 +136,10 @@ STATUS_SUMMONING =0x0200 --召唤中
STATUS_EFFECT_ENABLED
=
0x0400
--效果有效
STATUS_EFFECT_ENABLED
=
0x0400
--效果有效
STATUS_SUMMON_TURN
=
0x0800
--在本回合召喚/SET/特殊召喚
STATUS_SUMMON_TURN
=
0x0800
--在本回合召喚/SET/特殊召喚
STATUS_DESTROY_CONFIRMED
=
0x1000
--破坏确定
STATUS_DESTROY_CONFIRMED
=
0x1000
--破坏确定
STATUS_LEAVE_CONFIRMED
=
0x2000
--
离开确定
STATUS_LEAVE_CONFIRMED
=
0x2000
--
連鎖處理完後送去墓地的魔法陷阱
STATUS_BATTLE_DESTROYED
=
0x4000
--战斗破坏确定
STATUS_BATTLE_DESTROYED
=
0x4000
--战斗破坏确定
STATUS_COPYING_EFFECT
=
0x8000
--复制效果
STATUS_COPYING_EFFECT
=
0x8000
--复制效果
STATUS_CHAINING
=
0x10000
--
进入连锁
STATUS_CHAINING
=
0x10000
--
正在連鎖串中
STATUS_SUMMON_DISABLED
=
0x20000
--召唤无效
STATUS_SUMMON_DISABLED
=
0x20000
--召唤无效
STATUS_ACTIVATE_DISABLED
=
0x40000
--发动无效
STATUS_ACTIVATE_DISABLED
=
0x40000
--发动无效
STATUS_UNSUMMONABLE_CARD
=
0x80000
--不能通常召唤
STATUS_UNSUMMONABLE_CARD
=
0x80000
--不能通常召唤
...
...
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