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
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
Commits
cbd6a909
Commit
cbd6a909
authored
Dec 30, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a65e6195
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
31 deletions
+67
-31
c11221418.lua
c11221418.lua
+50
-14
c3146695.lua
c3146695.lua
+2
-2
constant.lua
constant.lua
+15
-15
No files found.
c11221418.lua
View file @
cbd6a909
...
@@ -31,6 +31,7 @@ function c11221418.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,6 +31,7 @@ function c11221418.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
--count
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE_START
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE_START
+
PHASE_END
)
...
@@ -43,56 +44,92 @@ function c11221418.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,56 +44,92 @@ function c11221418.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e1
:
SetLabelObject
(
tc
)
e1
:
SetLabelObject
(
tc
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
--cannot summon/flip summon/sp summon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e2
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
SetCondition
(
c11221418
.
limcon
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
e3
=
e2
:
Clone
()
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
e3
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
e3
:
SetLabelObject
(
e2
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e4
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e4
:
SetLabelObject
(
e3
)
Duel
.
RegisterEffect
(
e4
,
tp
)
Duel
.
RegisterEffect
(
e4
,
tp
)
--no damage
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e5
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
e5
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetTargetRange
(
1
,
1
)
e5
:
SetTargetRange
(
1
,
1
)
e5
:
SetValue
(
0
)
e5
:
SetValue
(
0
)
e5
:
SetLabelObject
(
e
1
)
e5
:
SetLabelObject
(
e
4
)
e5
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e5
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
Duel
.
RegisterEffect
(
e5
,
tp
)
Duel
.
RegisterEffect
(
e5
,
tp
)
local
e6
=
e5
:
Clone
()
local
e6
=
e5
:
Clone
()
e6
:
SetCode
(
EFFECT_NO_EFFECT_DAMAGE
)
e6
:
SetCode
(
EFFECT_NO_EFFECT_DAMAGE
)
e6
:
SetLabelObject
(
e5
)
e6
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e6
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
Duel
.
RegisterEffect
(
e6
,
tp
)
Duel
.
RegisterEffect
(
e6
,
tp
)
--reset e2~e6
local
e7
=
Effect
.
CreateEffect
(
c
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
Set
Category
(
CATEGORY_SPECIAL_SUMMON
)
e7
:
Set
Description
(
aux
.
Stringid
(
11221418
,
0
)
)
e7
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_
TRIGGER_F
)
e7
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_
CONTINUOUS
)
e7
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e7
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e7
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e7
:
SetCountLimit
(
1
)
e7
:
SetCountLimit
(
1
)
e7
:
SetCondition
(
c11221418
.
spcon
)
e7
:
SetCondition
(
c11221418
.
resetcon
)
e7
:
SetTarget
(
c11221418
.
sptg
)
e7
:
SetOperation
(
c11221418
.
resetop
)
e7
:
SetOperation
(
c11221418
.
spop
)
e7
:
SetLabelObject
(
e6
)
e7
:
SetLabelObject
(
e1
)
e7
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
e7
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
Duel
.
RegisterEffect
(
e7
,
tp
)
Duel
.
RegisterEffect
(
e7
,
tp
)
--trigger effect
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetDescription
(
aux
.
Stringid
(
11221418
,
1
))
e8
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e8
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e8
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e8
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e8
:
SetCountLimit
(
1
)
e8
:
SetCondition
(
c11221418
.
spcon
)
e8
:
SetTarget
(
c11221418
.
sptg
)
e8
:
SetOperation
(
c11221418
.
spop
)
e8
:
SetLabelObject
(
e1
)
e8
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
Duel
.
RegisterEffect
(
e8
,
tp
)
end
end
end
end
function
c11221418
.
limcon
(
e
)
return
e
:
GetLabelObject
():
GetLabel
()
<
3
end
function
c11221418
.
countop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11221418
.
countop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetTurnPlayer
()
~=
tp
then
return
end
if
Duel
.
GetTurnPlayer
()
~=
tp
then
return
end
local
ct
=
e
:
GetLabel
()
local
ct
=
e
:
GetLabel
()
e
:
SetLabel
(
ct
+
1
)
e
:
SetLabel
(
ct
+
1
)
end
end
function
c11221418
.
resetcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e6
=
e
:
GetLabelObject
()
local
e5
=
e6
:
GetLabelObject
()
local
e4
=
e5
:
GetLabelObject
()
local
e3
=
e4
:
GetLabelObject
()
local
e2
=
e3
:
GetLabelObject
()
local
e1
:
e2
:
GetLabelObject
()
return
Duel
.
GetTurnPlayer
()
==
tp
and
e1
:
GetLabel
()
==
2
end
function
c11221418
.
resetop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e6
=
e
:
GetLabelObject
()
local
e5
=
e6
:
GetLabelObject
()
local
e4
=
e5
:
GetLabelObject
()
local
e3
=
e4
:
GetLabelObject
()
local
e2
=
e3
:
GetLabelObject
()
e2
:
Reset
()
e3
:
Reset
()
e4
:
Reset
()
e5
:
Reset
()
e6
:
Reset
()
e
:
Reset
()
end
function
c11221418
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11221418
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
e
:
GetLabelObject
():
GetLabel
()
==
2
return
Duel
.
GetTurnPlayer
()
==
tp
and
e
:
GetLabelObject
():
GetLabel
()
==
2
end
end
...
@@ -101,13 +138,12 @@ function c11221418.mfilter(c)
...
@@ -101,13 +138,12 @@ function c11221418.mfilter(c)
end
end
function
c11221418
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c11221418
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c11221418
.
mfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c11221418
.
mfilter
(
chkc
)
end
if
chk
==
0
then
return
true
end
local
tc
=
e
:
GetLabelObject
():
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
():
GetLabelObject
()
if
chk
==
0
then
return
tc
:
GetFlagEffect
(
11221418
)
~=
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c11221418
.
mfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c11221418
.
mfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
tc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
tc
,
1
,
0
,
0
)
e
:
GetLabelObject
():
SetLabel
(
3
)
end
end
function
c11221418
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11221418
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
():
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
():
GetLabelObject
()
...
...
c3146695.lua
View file @
cbd6a909
...
@@ -34,8 +34,7 @@ function c3146695.regop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,8 +34,7 @@ function c3146695.regop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_PHASE_START
+
PHASE_END
)
e2
:
SetCode
(
EVENT_TURN_END
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetLabelObject
(
g
)
e2
:
SetLabelObject
(
g
)
e2
:
SetOperation
(
c3146695
.
reset
)
e2
:
SetOperation
(
c3146695
.
reset
)
...
@@ -61,4 +60,5 @@ function c3146695.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,4 +60,5 @@ function c3146695.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c3146695
.
reset
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c3146695
.
reset
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetLabelObject
():
DeleteGroup
()
e
:
GetLabelObject
():
DeleteGroup
()
e
:
Reset
()
end
end
constant.lua
View file @
cbd6a909
...
@@ -461,7 +461,7 @@ EFFECT_SPIRIT_DONOT_RETURN =280 --灵魂怪兽不返回手牌
...
@@ -461,7 +461,7 @@ EFFECT_SPIRIT_DONOT_RETURN =280 --灵魂怪兽不返回手牌
EFFECT_SPIRIT_MAYNOT_RETURN
=
281
--灵魂怪兽可以不返回手牌
EFFECT_SPIRIT_MAYNOT_RETURN
=
281
--灵魂怪兽可以不返回手牌
EFFECT_CHANGE_ENVIRONMENT
=
290
--改变场地
EFFECT_CHANGE_ENVIRONMENT
=
290
--改变场地
EFFECT_NECRO_VALLEY
=
291
--王家长眠之谷
EFFECT_NECRO_VALLEY
=
291
--王家长眠之谷
EFFECT_FORBIDDEN
=
292
--
禁止令
EFFECT_FORBIDDEN
=
292
--
不能Play(禁止令)
EFFECT_NECRO_VALLEY_IM
=
293
--不受「王家长眠之谷」的影响
EFFECT_NECRO_VALLEY_IM
=
293
--不受「王家长眠之谷」的影响
EFFECT_REVERSE_DECK
=
294
--翻转卡组
EFFECT_REVERSE_DECK
=
294
--翻转卡组
EFFECT_REMOVE_BRAINWASHING
=
295
--洗脑解除
EFFECT_REMOVE_BRAINWASHING
=
295
--洗脑解除
...
@@ -479,7 +479,7 @@ EFFECT_SPSUMMON_COUNT_LIMIT =330 --特殊召唤次数限制
...
@@ -479,7 +479,7 @@ EFFECT_SPSUMMON_COUNT_LIMIT =330 --特殊召唤次数限制
EFFECT_LEFT_SPSUMMON_COUNT
=
331
--剩餘召喚次數(召喚限制網)
EFFECT_LEFT_SPSUMMON_COUNT
=
331
--剩餘召喚次數(召喚限制網)
EFFECT_CANNOT_SELECT_BATTLE_TARGET
=
332
--對手不能選擇為攻擊對象
EFFECT_CANNOT_SELECT_BATTLE_TARGET
=
332
--對手不能選擇為攻擊對象
EFFECT_CANNOT_SELECT_EFFECT_TARGET
=
333
--對手不能選擇為效果對象
EFFECT_CANNOT_SELECT_EFFECT_TARGET
=
333
--對手不能選擇為效果對象
EFFECT_ADD_SETCODE
=
334
--
规则上视为「XX」字段
EFFECT_ADD_SETCODE
=
334
--
视为「XX」字段的效果
EFFECT_NO_EFFECT_DAMAGE
=
335
--玩家已受到"效果傷害變成0"的效果影響
EFFECT_NO_EFFECT_DAMAGE
=
335
--玩家已受到"效果傷害變成0"的效果影響
EFFECT_UNSUMMONABLE_CARD
=
336
--不能通常召唤的怪獸
EFFECT_UNSUMMONABLE_CARD
=
336
--不能通常召唤的怪獸
EFFECT_DISABLE_CHAIN_FIELD
=
337
--N/A
EFFECT_DISABLE_CHAIN_FIELD
=
337
--N/A
...
@@ -503,11 +503,11 @@ EFFECT_EXTRA_FUSION_MATERIAL =352 --
...
@@ -503,11 +503,11 @@ EFFECT_EXTRA_FUSION_MATERIAL =352 --
EVENT_STARTUP
=
1000
--游戏开始时
EVENT_STARTUP
=
1000
--游戏开始时
EVENT_FLIP
=
1001
--翻转时
EVENT_FLIP
=
1001
--翻转时
EVENT_FREE_CHAIN
=
1002
--自由时点(强脱等,还有昴星团等诱发即时效果)
EVENT_FREE_CHAIN
=
1002
--自由时点(强脱等,还有昴星团等诱发即时效果)
EVENT_DESTROY
=
1010
--
被破坏时(移動前)
EVENT_DESTROY
=
1010
--
確定被破壞的卡片移動前
EVENT_REMOVE
=
1011
--除外时
EVENT_REMOVE
=
1011
--除外时
EVENT_TO_HAND
=
1012
--加入手牌时
EVENT_TO_HAND
=
1012
--加入手牌时
EVENT_TO_DECK
=
1013
--回卡组时
EVENT_TO_DECK
=
1013
--回卡组时
EVENT_TO_GRAVE
=
1014
--
进
墓地时(不含REASON_RETURN)
EVENT_TO_GRAVE
=
1014
--
送去
墓地时(不含REASON_RETURN)
EVENT_LEAVE_FIELD
=
1015
--离场时
EVENT_LEAVE_FIELD
=
1015
--离场时
EVENT_CHANGE_POS
=
1016
--表示形式变更时
EVENT_CHANGE_POS
=
1016
--表示形式变更时
EVENT_RELEASE
=
1017
--解放时
EVENT_RELEASE
=
1017
--解放时
...
@@ -527,17 +527,17 @@ EVENT_ADJUST =1040 --adjust_all()调整後(御前试合)
...
@@ -527,17 +527,17 @@ EVENT_ADJUST =1040 --adjust_all()调整後(御前试合)
EVENT_SUMMON_SUCCESS
=
1100
--通常召唤成功时
EVENT_SUMMON_SUCCESS
=
1100
--通常召唤成功时
EVENT_FLIP_SUMMON_SUCCESS
=
1101
--翻转召唤成功时
EVENT_FLIP_SUMMON_SUCCESS
=
1101
--翻转召唤成功时
EVENT_SPSUMMON_SUCCESS
=
1102
--特殊召唤成功时
EVENT_SPSUMMON_SUCCESS
=
1102
--特殊召唤成功时
EVENT_SUMMON
=
1103
--召唤
时
(怪兽还没上场、神宣等时点)
EVENT_SUMMON
=
1103
--召唤
之际
(怪兽还没上场、神宣等时点)
EVENT_FLIP_SUMMON
=
1104
--翻转召唤
时
EVENT_FLIP_SUMMON
=
1104
--翻转召唤
之际
EVENT_SPSUMMON
=
1105
--特殊召唤
时
EVENT_SPSUMMON
=
1105
--特殊召唤
之际
EVENT_MSET
=
1106
--放置怪兽时
EVENT_MSET
=
1106
--放置怪兽时
EVENT_SSET
=
1107
--放置魔陷时
EVENT_SSET
=
1107
--放置魔陷时
EVENT_BE_MATERIAL
=
1108
--作为融合/仪式同调/超量素材时
EVENT_BE_MATERIAL
=
1108
--作为融合/仪式同调/超量素材时
EVENT_BE_PRE_MATERIAL
=
1109
--将要作为融合/仪式同调/超量素材时
EVENT_BE_PRE_MATERIAL
=
1109
--将要作为融合/仪式同调/超量素材时
EVENT_DRAW
=
1110
--抽卡
EVENT_DRAW
=
1110
--抽卡
时
EVENT_DAMAGE
=
1111
--造成战斗/效果伤害时
EVENT_DAMAGE
=
1111
--造成战斗/效果伤害时
EVENT_RECOVER
=
1112
--回复生命值时
EVENT_RECOVER
=
1112
--回复生命值时
EVENT_PREDRAW
=
1113
--抽卡前
EVENT_PREDRAW
=
1113
--抽卡
阶段通常抽卡
前
EVENT_CONTROL_CHANGED
=
1120
--控制权变更
EVENT_CONTROL_CHANGED
=
1120
--控制权变更
EVENT_EQUIP
=
1121
--装备卡装备时
EVENT_EQUIP
=
1121
--装备卡装备时
EVENT_ATTACK_ANNOUNCE
=
1130
--攻击宣言时
EVENT_ATTACK_ANNOUNCE
=
1130
--攻击宣言时
...
@@ -549,15 +549,15 @@ EVENT_DAMAGE_CALCULATING =1135 --N/A
...
@@ -549,15 +549,15 @@ EVENT_DAMAGE_CALCULATING =1135 --N/A
EVENT_PRE_BATTLE_DAMAGE
=
1136
--即将产生战斗伤害(只能使用EFFECT_TYPE_CONTINUOUS)
EVENT_PRE_BATTLE_DAMAGE
=
1136
--即将产生战斗伤害(只能使用EFFECT_TYPE_CONTINUOUS)
EVENT_BATTLE_END
=
1137
--N/A
EVENT_BATTLE_END
=
1137
--N/A
EVENT_BATTLED
=
1138
--伤害计算后(异女、同反转效果时点)
EVENT_BATTLED
=
1138
--伤害计算后(异女、同反转效果时点)
EVENT_BATTLE_DESTROYING
=
1139
--
战斗破坏
送去墓地时(BF-苍炎之修罗)
EVENT_BATTLE_DESTROYING
=
1139
--
以战斗破坏怪兽
送去墓地时(BF-苍炎之修罗)
EVENT_BATTLE_DESTROYED
=
1140
--战斗破坏送去墓地时(杀人番茄等)
EVENT_BATTLE_DESTROYED
=
1140
--
被
战斗破坏送去墓地时(杀人番茄等)
EVENT_DAMAGE_STEP_END
=
1141
--伤害步骤结束时
EVENT_DAMAGE_STEP_END
=
1141
--伤害步骤结束时
EVENT_ATTACK_DISABLED
=
1142
--攻击无效时(翻倍机会)
EVENT_ATTACK_DISABLED
=
1142
--攻击无效时(翻倍机会)
EVENT_BATTLE_DAMAGE
=
1143
--造成战斗伤害时
EVENT_BATTLE_DAMAGE
=
1143
--造成战斗伤害时
EVENT_TOSS_DICE
=
1150
--掷骰子
时
EVENT_TOSS_DICE
=
1150
--掷骰子
的结果产生后
EVENT_TOSS_COIN
=
1151
--抛硬币
时
EVENT_TOSS_COIN
=
1151
--抛硬币
的结果产生后
EVENT_TOSS_COIN_NEGATE
=
1152
--
抛硬币被无效时
EVENT_TOSS_COIN_NEGATE
=
1152
--
重新抛硬币
EVENT_TOSS_DICE_NEGATE
=
1153
--
掷骰子被无效时
EVENT_TOSS_DICE_NEGATE
=
1153
--
重新掷骰子
EVENT_LEVEL_UP
=
1200
--等级上升时
EVENT_LEVEL_UP
=
1200
--等级上升时
EVENT_PAY_LPCOST
=
1201
--支付生命值时
EVENT_PAY_LPCOST
=
1201
--支付生命值时
EVENT_DETACH_MATERIAL
=
1202
--去除超量素材时
EVENT_DETACH_MATERIAL
=
1202
--去除超量素材时
...
...
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