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
f9fad2b2
Commit
f9fad2b2
authored
May 23, 2015
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bfc804fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
script/c17016362.lua
script/c17016362.lua
+2
-2
script/c21648584.lua
script/c21648584.lua
+0
-1
script/constant.lua
script/constant.lua
+2
-2
No files found.
script/c17016362.lua
View file @
f9fad2b2
...
@@ -8,7 +8,7 @@ function c17016362.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c17016362.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
e1
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_AVAILABLE_BD
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetValue
(
c17016362
.
damval
)
e1
:
SetValue
(
c17016362
.
damval
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -41,7 +41,7 @@ function c17016362.damval(e,re,val,r,rp,rc)
...
@@ -41,7 +41,7 @@ function c17016362.damval(e,re,val,r,rp,rc)
if
val
<=
atk
then
return
0
else
return
val
end
if
val
<=
atk
then
return
0
else
return
val
end
end
end
function
c17016362
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c17016362
.
mtcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsAbleToEnterBP
()
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
Duel
.
IsAbleToEnterBP
()
end
end
function
c17016362
.
mtcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c17016362
.
mtcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
script/c21648584.lua
View file @
f9fad2b2
...
@@ -20,7 +20,6 @@ function c21648584.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -20,7 +20,6 @@ function c21648584.activate(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
c21648584
.
indtg
)
e1
:
SetTarget
(
c21648584
.
indtg
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
script/constant.lua
View file @
f9fad2b2
...
@@ -260,13 +260,13 @@ EFFECT_FLAG_REPEAT =0x200000 --发动被无效后可以再次发动
...
@@ -260,13 +260,13 @@ EFFECT_FLAG_REPEAT =0x200000 --发动被无效后可以再次发动
EFFECT_FLAG_NO_TURN_RESET
=
0x400000
--发条等“这张卡在场上只能发动一次”的效果
EFFECT_FLAG_NO_TURN_RESET
=
0x400000
--发条等“这张卡在场上只能发动一次”的效果
EFFECT_FLAG_EVENT_PLAYER
=
0x800000
--视为对方玩家的效果(动作?)
EFFECT_FLAG_EVENT_PLAYER
=
0x800000
--视为对方玩家的效果(动作?)
EFFECT_FLAG_OWNER_RELATE
=
0x1000000
--和效果持有者相关
EFFECT_FLAG_OWNER_RELATE
=
0x1000000
--和效果持有者相关
EFFECT_FLAG_AVAILABLE_BD
=
0x2000000
--战斗
伤害操作
(纳祭之魔 地狱战士)
EFFECT_FLAG_AVAILABLE_BD
=
0x2000000
--战斗
破坏确定时效果也适用
(纳祭之魔 地狱战士)
EFFECT_FLAG_CLIENT_HINT
=
0x4000000
--客户端提示
EFFECT_FLAG_CLIENT_HINT
=
0x4000000
--客户端提示
EFFECT_FLAG_CHAIN_UNIQUE
=
0x8000000
--同一组连锁只能发动一次
EFFECT_FLAG_CHAIN_UNIQUE
=
0x8000000
--同一组连锁只能发动一次
EFFECT_FLAG_NAGA
=
0x10000000
--神卡纳迦!
EFFECT_FLAG_NAGA
=
0x10000000
--神卡纳迦!
EFFECT_FLAG_COF
=
0x20000000
--邪恶的仪式
EFFECT_FLAG_COF
=
0x20000000
--邪恶的仪式
EFFECT_FLAG_CVAL_CHECK
=
0x40000000
--以卡为COST的诱发效果需要使用
EFFECT_FLAG_CVAL_CHECK
=
0x40000000
--以卡为COST的诱发效果需要使用
EFFECT_FLAG_IMMEDIATELY_APPLY
=
0x80000000
--
EFFECT_FLAG_IMMEDIATELY_APPLY
=
0x80000000
--
卡在发动时效果就立即适用(卡通世界)
--========== Codes ========== --对永续性效果表示效果类型 EFFECT开头,对诱发型效果表示触发效果的事件/时点 EVENT开头
--========== Codes ========== --对永续性效果表示效果类型 EFFECT开头,对诱发型效果表示触发效果的事件/时点 EVENT开头
EFFECT_IMMUNE_EFFECT
=
1
--效果免疫
EFFECT_IMMUNE_EFFECT
=
1
--效果免疫
EFFECT_DISABLE
=
2
--效果无效(技能抽取)
EFFECT_DISABLE
=
2
--效果无效(技能抽取)
...
...
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