-
Notifications
You must be signed in to change notification settings - Fork 31
/
effect_constants.h
450 lines (441 loc) · 19 KB
/
effect_constants.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
/*
* Copyright (c) 2023-2024, Edoardo Lolletti (edo9300) <[email protected]>
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#ifndef EFFECT_CONSTANTS_H_
#define EFFECT_CONSTANTS_H_
#include <cstdint>
//status
#define EFFECT_STATUS_AVAILABLE 0x0001
//#define EFFECT_STATUS_ACTIVATED 0x0002
#define EFFECT_STATUS_SUMMON_SELF 0x0004
#define EFFECT_COUNT_CODE_OATH 0x1
#define EFFECT_COUNT_CODE_DUEL 0x2
#define EFFECT_COUNT_CODE_SINGLE 0x4
#define EFFECT_COUNT_CODE_CHAIN 0x8
//========== Reset ==========
#define RESET_SELF_TURN 0x10000000
#define RESET_OPPO_TURN 0x20000000
#define RESET_PHASE 0x40000000
#define RESET_CHAIN 0x80000000
#define RESET_EVENT 0x1000
#define RESET_CARD 0x2000
#define RESET_CODE 0x4000
#define RESET_COPY 0x8000
#define RESET_DISABLE 0x00010000
#define RESET_TURN_SET 0x00020000
#define RESET_TOGRAVE 0x00040000
#define RESET_REMOVE 0x00080000
#define RESET_TEMP_REMOVE 0x00100000
#define RESET_TOHAND 0x00200000
#define RESET_TODECK 0x00400000
#define RESET_LEAVE 0x00800000
#define RESET_TOFIELD 0x01000000
#define RESET_CONTROL 0x02000000
#define RESET_OVERLAY 0x04000000
#define RESET_MSCHANGE 0x08000000
//========== Types ==========
#define EFFECT_TYPE_SINGLE 0x0001
#define EFFECT_TYPE_FIELD 0x0002
#define EFFECT_TYPE_EQUIP 0x0004
#define EFFECT_TYPE_ACTIONS 0x0008
#define EFFECT_TYPE_ACTIVATE 0x0010
#define EFFECT_TYPE_FLIP 0x0020
#define EFFECT_TYPE_IGNITION 0x0040
#define EFFECT_TYPE_TRIGGER_O 0x0080
#define EFFECT_TYPE_QUICK_O 0x0100
#define EFFECT_TYPE_TRIGGER_F 0x0200
#define EFFECT_TYPE_QUICK_F 0x0400
#define EFFECT_TYPE_CONTINUOUS 0x0800
#define EFFECT_TYPE_XMATERIAL 0x1000
#define EFFECT_TYPE_GRANT 0x2000
#define EFFECT_TYPE_TARGET 0x4000
//========== Flags ==========
enum effect_flag : uint32_t {
EFFECT_FLAG_INITIAL = 0x0001,
EFFECT_FLAG_FUNC_VALUE = 0x0002,
EFFECT_FLAG_COUNT_LIMIT = 0x0004,
EFFECT_FLAG_FIELD_ONLY = 0x0008,
EFFECT_FLAG_CARD_TARGET = 0x0010,
EFFECT_FLAG_IGNORE_RANGE = 0x0020,
EFFECT_FLAG_ABSOLUTE_TARGET = 0x0040,
EFFECT_FLAG_IGNORE_IMMUNE = 0x0080,
EFFECT_FLAG_SET_AVAILABLE = 0x0100,
EFFECT_FLAG_CANNOT_NEGATE = 0x0200,
EFFECT_FLAG_CANNOT_DISABLE = 0x0400,
EFFECT_FLAG_PLAYER_TARGET = 0x0800,
EFFECT_FLAG_BOTH_SIDE = 0x1000,
EFFECT_FLAG_COPY_INHERIT = 0x2000,
EFFECT_FLAG_DAMAGE_STEP = 0x4000,
EFFECT_FLAG_DAMAGE_CAL = 0x8000,
EFFECT_FLAG_DELAY = 0x10000,
EFFECT_FLAG_SINGLE_RANGE = 0x20000,
EFFECT_FLAG_UNCOPYABLE = 0x40000,
EFFECT_FLAG_OATH = 0x80000,
EFFECT_FLAG_SPSUM_PARAM = 0x100000,
EFFECT_FLAG_REPEAT = 0x200000,
EFFECT_FLAG_NO_TURN_RESET = 0x400000,
EFFECT_FLAG_EVENT_PLAYER = 0x800000,
EFFECT_FLAG_OWNER_RELATE = 0x1000000,
EFFECT_FLAG_CANNOT_INACTIVATE = 0x2000000,
EFFECT_FLAG_CLIENT_HINT = 0x4000000,
EFFECT_FLAG_CONTINUOUS_TARGET = 0x8000000,
EFFECT_FLAG_LIMIT_ZONE = 0x10000000,
// EFFECT_FLAG_COF = 0x20000000,
// EFFECT_FLAG_CVAL_CHECK = 0x40000000,
EFFECT_FLAG_IMMEDIATELY_APPLY = 0x80000000,
};
enum effect_flag2 : uint32_t {
EFFECT_FLAG2_CONTINUOUS_EQUIP = 0x0001,
EFFECT_FLAG2_COF = 0x0002,
EFFECT_FLAG2_CHECK_SIMULTANEOUS = 0x0004,
EFFECT_FLAG2_FORCE_ACTIVATE_LOCATION = 0x40000000,
EFFECT_FLAG2_MAJESTIC_MUST_COPY = 0x80000000,
};
inline effect_flag operator|(effect_flag flag1, effect_flag flag2)
{
return static_cast<effect_flag>(static_cast<uint32_t>(flag1) | static_cast<uint32_t>(flag2));
}
//========== Codes ==========
#define EFFECT_IMMUNE_EFFECT 1
#define EFFECT_DISABLE 2
#define EFFECT_CANNOT_DISABLE 3
#define EFFECT_SET_CONTROL 4
#define EFFECT_CANNOT_CHANGE_CONTROL 5
#define EFFECT_CANNOT_ACTIVATE 6
#define EFFECT_CANNOT_TRIGGER 7
#define EFFECT_DISABLE_EFFECT 8
#define EFFECT_DISABLE_CHAIN 9
#define EFFECT_DISABLE_TRAPMONSTER 10
#define EFFECT_CANNOT_INACTIVATE 12
#define EFFECT_CANNOT_DISEFFECT 13
#define EFFECT_CANNOT_CHANGE_POSITION 14
#define EFFECT_TRAP_ACT_IN_HAND 15
#define EFFECT_TRAP_ACT_IN_SET_TURN 16
#define EFFECT_REMAIN_FIELD 17
#define EFFECT_MONSTER_SSET 18
#define EFFECT_QP_ACT_IN_SET_TURN 19
#define EFFECT_CANNOT_SUMMON 20
#define EFFECT_CANNOT_FLIP_SUMMON 21
#define EFFECT_CANNOT_SPECIAL_SUMMON 22
#define EFFECT_CANNOT_MSET 23
#define EFFECT_CANNOT_SSET 24
#define EFFECT_CANNOT_DRAW 25
#define EFFECT_CANNOT_DISABLE_SUMMON 26
#define EFFECT_CANNOT_DISABLE_SPSUMMON 27
#define EFFECT_SET_SUMMON_COUNT_LIMIT 28
#define EFFECT_EXTRA_SUMMON_COUNT 29
#define EFFECT_SPSUMMON_CONDITION 30
#define EFFECT_REVIVE_LIMIT 31
#define EFFECT_SUMMON_PROC 32
#define EFFECT_LIMIT_SUMMON_PROC 33
#define EFFECT_SPSUMMON_PROC 34
#define EFFECT_EXTRA_SET_COUNT 35
#define EFFECT_SET_PROC 36
#define EFFECT_LIMIT_SET_PROC 37
#define EFFECT_DEVINE_LIGHT 38
#define EFFECT_CANNOT_DISABLE_FLIP_SUMMON 39
#define EFFECT_INDESTRUCTABLE 40
#define EFFECT_INDESTRUCTABLE_EFFECT 41
#define EFFECT_INDESTRUCTABLE_BATTLE 42
#define EFFECT_UNRELEASABLE_SUM 43
#define EFFECT_UNRELEASABLE_NONSUM 44
#define EFFECT_DESTROY_SUBSTITUTE 45
#define EFFECT_CANNOT_RELEASE 46
#define EFFECT_INDESTRUCTABLE_COUNT 47
#define EFFECT_UNRELEASABLE_EFFECT 48
#define EFFECT_DESTROY_REPLACE 50
#define EFFECT_RELEASE_REPLACE 51
#define EFFECT_SEND_REPLACE 52
#define EFFECT_CANNOT_DISCARD_HAND 55
#define EFFECT_CANNOT_DISCARD_DECK 56
#define EFFECT_CANNOT_USE_AS_COST 57
#define EFFECT_CANNOT_PLACE_COUNTER 58
#define EFFECT_CANNOT_TO_GRAVE_AS_COST 59
#define EFFECT_LEAVE_FIELD_REDIRECT 60
#define EFFECT_TO_HAND_REDIRECT 61
#define EFFECT_TO_DECK_REDIRECT 62
#define EFFECT_TO_GRAVE_REDIRECT 63
#define EFFECT_REMOVE_REDIRECT 64
#define EFFECT_CANNOT_TO_HAND 65
#define EFFECT_CANNOT_TO_DECK 66
#define EFFECT_CANNOT_REMOVE 67
#define EFFECT_CANNOT_TO_GRAVE 68
#define EFFECT_CANNOT_TURN_SET 69
#define EFFECT_CANNOT_BE_BATTLE_TARGET 70
#define EFFECT_CANNOT_BE_EFFECT_TARGET 71
#define EFFECT_IGNORE_BATTLE_TARGET 72
#define EFFECT_CANNOT_DIRECT_ATTACK 73
#define EFFECT_DIRECT_ATTACK 74
#define EFFECT_GEMINI_STATUS 75
#define EFFECT_EQUIP_LIMIT 76
#define EFFECT_GEMINI_SUMMONABLE 77
#define EFFECT_UNION_LIMIT 78
#define EFFECT_REVERSE_DAMAGE 80
#define EFFECT_REVERSE_RECOVER 81
#define EFFECT_CHANGE_DAMAGE 82
#define EFFECT_REFLECT_DAMAGE 83
#define EFFECT_CANNOT_ATTACK 85
#define EFFECT_CANNOT_ATTACK_ANNOUNCE 86
#define EFFECT_CANNOT_CHANGE_POS_E 87
#define EFFECT_ACTIVATE_COST 90
#define EFFECT_SUMMON_COST 91
#define EFFECT_SPSUMMON_COST 92
#define EFFECT_FLIPSUMMON_COST 93
#define EFFECT_MSET_COST 94
#define EFFECT_SSET_COST 95
#define EFFECT_ATTACK_COST 96
#define EFFECT_UPDATE_ATTACK 100
#define EFFECT_SET_ATTACK 101
#define EFFECT_SET_ATTACK_FINAL 102
#define EFFECT_SET_BASE_ATTACK 103
#define EFFECT_UPDATE_DEFENSE 104
#define EFFECT_SET_DEFENSE 105
#define EFFECT_SET_DEFENSE_FINAL 106
#define EFFECT_SET_BASE_DEFENSE 107
#define EFFECT_REVERSE_UPDATE 108
#define EFFECT_SWAP_AD 109
#define EFFECT_SWAP_BASE_AD 110
#define EFFECT_SWAP_ATTACK_FINAL 111
#define EFFECT_SWAP_DEFENSE_FINAL 112
#define EFFECT_ADD_CODE 113
#define EFFECT_CHANGE_CODE 114
#define EFFECT_ADD_TYPE 115
#define EFFECT_REMOVE_TYPE 116
#define EFFECT_CHANGE_TYPE 117
#define EFFECT_REMOVE_CODE 118
#define EFFECT_ADD_RACE 120
#define EFFECT_REMOVE_RACE 121
#define EFFECT_CHANGE_RACE 122
#define EFFECT_ADD_ATTRIBUTE 125
#define EFFECT_REMOVE_ATTRIBUTE 126
#define EFFECT_CHANGE_ATTRIBUTE 127
#define EFFECT_UPDATE_LEVEL 130
#define EFFECT_CHANGE_LEVEL 131
#define EFFECT_UPDATE_RANK 132
#define EFFECT_CHANGE_RANK 133
#define EFFECT_UPDATE_LSCALE 134
#define EFFECT_CHANGE_LSCALE 135
#define EFFECT_UPDATE_RSCALE 136
#define EFFECT_CHANGE_RSCALE 137
#define EFFECT_SET_POSITION 140
#define EFFECT_SELF_DESTROY 141
#define EFFECT_SELF_TOGRAVE 142
#define EFFECT_DOUBLE_TRIBUTE 150
#define EFFECT_DECREASE_TRIBUTE 151
#define EFFECT_DECREASE_TRIBUTE_SET 152
#define EFFECT_EXTRA_RELEASE 153
#define EFFECT_TRIBUTE_LIMIT 154
#define EFFECT_EXTRA_RELEASE_SUM 155
#define EFFECT_TRIPLE_TRIBUTE 156
#define EFFECT_ADD_EXTRA_TRIBUTE 157
#define EFFECT_EXTRA_RELEASE_NONSUM 158
#define EFFECT_PUBLIC 160
#define EFFECT_COUNTER_PERMIT 0x10000
#define EFFECT_COUNTER_LIMIT 0x20000
#define EFFECT_RCOUNTER_REPLACE 0x30000
#define EFFECT_LPCOST_CHANGE 170
#define EFFECT_LPCOST_REPLACE 171
#define EFFECT_SKIP_DP 180
#define EFFECT_SKIP_SP 181
#define EFFECT_SKIP_M1 182
#define EFFECT_SKIP_BP 183
#define EFFECT_SKIP_M2 184
#define EFFECT_CANNOT_BP 185
#define EFFECT_CANNOT_M2 186
#define EFFECT_CANNOT_EP 187
#define EFFECT_SKIP_TURN 188
#define EFFECT_SKIP_EP 189
#define EFFECT_DEFENSE_ATTACK 190
#define EFFECT_MUST_ATTACK 191
#define EFFECT_FIRST_ATTACK 192
#define EFFECT_ATTACK_ALL 193
#define EFFECT_EXTRA_ATTACK 194
// #define EFFECT_MUST_BE_ATTACKED 195
#define EFFECT_ONLY_BE_ATTACKED 196
#define EFFECT_ATTACK_DISABLED 197
#define EFFECT_CHANGE_BATTLE_STAT 198
#define EFFECT_NO_BATTLE_DAMAGE 200
#define EFFECT_AVOID_BATTLE_DAMAGE 201
#define EFFECT_REFLECT_BATTLE_DAMAGE 202
#define EFFECT_PIERCE 203
#define EFFECT_BATTLE_DESTROY_REDIRECT 204
#define EFFECT_BATTLE_DAMAGE_TO_EFFECT 205
#define EFFECT_BOTH_BATTLE_DAMAGE 206
#define EFFECT_ALSO_BATTLE_DAMAGE 207
#define EFFECT_CHANGE_BATTLE_DAMAGE 208
#define EFFECT_TOSS_COIN_REPLACE 220
#define EFFECT_TOSS_DICE_REPLACE 221
#define EFFECT_TOSS_COIN_CHOOSE 222
#define EFFECT_TOSS_DICE_CHOOSE 223
#define EFFECT_FUSION_MATERIAL 230
#define EFFECT_CHAIN_MATERIAL 231
#define EFFECT_SYNCHRO_MATERIAL 232
#define EFFECT_XYZ_MATERIAL 233
#define EFFECT_FUSION_SUBSTITUTE 234
#define EFFECT_CANNOT_BE_FUSION_MATERIAL 235
#define EFFECT_CANNOT_BE_SYNCHRO_MATERIAL 236
#define EFFECT_SYNCHRO_MATERIAL_CUSTOM 237
#define EFFECT_CANNOT_BE_XYZ_MATERIAL 238
#define EFFECT_CANNOT_BE_LINK_MATERIAL 239
#define EFFECT_SYNCHRO_LEVEL 240
#define EFFECT_RITUAL_LEVEL 241
#define EFFECT_XYZ_LEVEL 242
#define EFFECT_EXTRA_RITUAL_MATERIAL 243
#define EFFECT_NONTUNER 244
#define EFFECT_OVERLAY_REMOVE_REPLACE 245
//#define EFFECT_SCRAP_CHIMERA 246
//#define EFFECT_TUNE_MAGICIAN_X 247
#define EFFECT_CANNOT_BE_MATERIAL 248
#define EFFECT_PRE_MONSTER 250
#define EFFECT_MATERIAL_CHECK 251
#define EFFECT_DISABLE_FIELD 260
#define EFFECT_USE_EXTRA_MZONE 261
#define EFFECT_USE_EXTRA_SZONE 262
#define EFFECT_MAX_MZONE 263
#define EFFECT_MAX_SZONE 264
#define EFFECT_MUST_USE_MZONE 265
#define EFFECT_BECOME_LINKED_ZONE 266
#define EFFECT_HAND_LIMIT 270
#define EFFECT_DRAW_COUNT 271
#define EFFECT_SPIRIT_DONOT_RETURN 280
#define EFFECT_SPIRIT_MAYNOT_RETURN 281
#define EFFECT_CHANGE_ENVIRONMENT 290
#define EFFECT_NECRO_VALLEY 291
#define EFFECT_FORBIDDEN 292
#define EFFECT_NECRO_VALLEY_IM 293
#define EFFECT_REVERSE_DECK 294
#define EFFECT_REMOVE_BRAINWASHING 295
#define EFFECT_BP_TWICE 296
#define EFFECT_UNIQUE_CHECK 297
#define EFFECT_MATCH_KILL 300
#define EFFECT_SYNCHRO_CHECK 310
#define EFFECT_QP_ACT_IN_NTPHAND 311
#define EFFECT_MUST_BE_SMATERIAL 312
#define EFFECT_TO_GRAVE_REDIRECT_CB 313
#define EFFECT_CHANGE_LEVEL_FINAL 314
#define EFFECT_CHANGE_RANK_FINAL 315
#define EFFECT_MUST_BE_FMATERIAL 316
#define EFFECT_MUST_BE_XMATERIAL 317
#define EFFECT_MUST_BE_LMATERIAL 318
#define EFFECT_SPSUMMON_PROC_G 320
#define EFFECT_SPSUMMON_COUNT_LIMIT 330
#define EFFECT_LEFT_SPSUMMON_COUNT 331
#define EFFECT_CANNOT_SELECT_BATTLE_TARGET 332
#define EFFECT_CANNOT_SELECT_EFFECT_TARGET 333
#define EFFECT_ADD_SETCODE 334
#define EFFECT_NO_EFFECT_DAMAGE 335
#define EFFECT_UNSUMMONABLE_CARD 336
#define EFFECT_DISCARD_COST_CHANGE 338
#define EFFECT_HAND_SYNCHRO 339
#define EFFECT_ONLY_ATTACK_MONSTER 343
#define EFFECT_MUST_ATTACK_MONSTER 344
#define EFFECT_PATRICIAN_OF_DARKNESS 345
#define EFFECT_EXTRA_ATTACK_MONSTER 346
#define EFFECT_UNION_STATUS 347
#define EFFECT_OLDUNION_STATUS 348
#define EFFECT_REMOVE_SETCODE 349
#define EFFECT_CHANGE_SETCODE 350
#define EFFECT_EXTRA_FUSION_MATERIAL 352
#define EFFECT_EXTRA_PENDULUM_SUMMON 360
#define EFFECT_IRON_WALL 361
#define EFFECT_CANNOT_LOSE_DECK 400
#define EFFECT_CANNOT_LOSE_LP 401
#define EFFECT_CANNOT_LOSE_EFFECT 402
#define EFFECT_BP_FIRST_TURN 403
#define EFFECT_UNSTOPPABLE_ATTACK 404
#define EFFECT_ALLOW_NEGATIVE 405
#define EFFECT_SELF_ATTACK 406
#define EFFECT_BECOME_QUICK 407
#define EFFECT_LEVEL_RANK 408
#define EFFECT_RANK_LEVEL 409
#define EFFECT_LEVEL_RANK_S 410
#define EFFECT_RANK_LEVEL_S 411
#define EFFECT_UPDATE_LINK 420
#define EFFECT_CHANGE_LINK 421
#define EFFECT_CHANGE_LINK_FINAL 422
#define EFFECT_ADD_LINKMARKER 423
#define EFFECT_REMOVE_LINKMARKER 424
#define EFFECT_CHANGE_LINKMARKER 425
#define EFFECT_FORCE_NORMAL_SUMMON_POSITION 426
#define EFFECT_FORCE_SPSUMMON_POSITION 427
#define EFFECT_DARKNESS_HIDE 428
#define EVENT_STARTUP 1000
#define EVENT_FLIP 1001
#define EVENT_FREE_CHAIN 1002
#define EVENT_DESTROY 1010
#define EVENT_REMOVE 1011
#define EVENT_TO_HAND 1012
#define EVENT_TO_DECK 1013
#define EVENT_TO_GRAVE 1014
#define EVENT_LEAVE_FIELD 1015
#define EVENT_CHANGE_POS 1016
#define EVENT_RELEASE 1017
#define EVENT_DISCARD 1018
#define EVENT_LEAVE_FIELD_P 1019
#define EVENT_CHAIN_SOLVING 1020
#define EVENT_CHAIN_ACTIVATING 1021
#define EVENT_CHAIN_SOLVED 1022
//#define EVENT_CHAIN_ACTIVATED 1023
#define EVENT_CHAIN_NEGATED 1024
#define EVENT_CHAIN_DISABLED 1025
#define EVENT_CHAIN_END 1026
#define EVENT_CHAINING 1027
#define EVENT_BECOME_TARGET 1028
#define EVENT_DESTROYED 1029
#define EVENT_MOVE 1030
#define EVENT_LEAVE_GRAVE 1031
#define EVENT_ADJUST 1040
#define EVENT_BREAK_EFFECT 1050
#define EVENT_SUMMON_SUCCESS 1100
#define EVENT_FLIP_SUMMON_SUCCESS 1101
#define EVENT_SPSUMMON_SUCCESS 1102
#define EVENT_SUMMON 1103
#define EVENT_FLIP_SUMMON 1104
#define EVENT_SPSUMMON 1105
#define EVENT_MSET 1106
#define EVENT_SSET 1107
#define EVENT_BE_MATERIAL 1108
#define EVENT_BE_PRE_MATERIAL 1109
#define EVENT_DRAW 1110
#define EVENT_DAMAGE 1111
#define EVENT_RECOVER 1112
#define EVENT_PREDRAW 1113
#define EVENT_SUMMON_NEGATED 1114
#define EVENT_FLIP_SUMMON_NEGATED 1115
#define EVENT_SPSUMMON_NEGATED 1116
#define EVENT_CONTROL_CHANGED 1120
#define EVENT_EQUIP 1121
#define EVENT_ATTACK_ANNOUNCE 1130
#define EVENT_BE_BATTLE_TARGET 1131
#define EVENT_BATTLE_START 1132
#define EVENT_BATTLE_CONFIRM 1133
#define EVENT_PRE_DAMAGE_CALCULATE 1134
// #define EVENT_DAMAGE_CALCULATING 1135
#define EVENT_PRE_BATTLE_DAMAGE 1136
//#define EVENT_BATTLE_END 1137
#define EVENT_BATTLED 1138
#define EVENT_BATTLE_DESTROYING 1139
#define EVENT_BATTLE_DESTROYED 1140
#define EVENT_DAMAGE_STEP_END 1141
#define EVENT_ATTACK_DISABLED 1142
#define EVENT_BATTLE_DAMAGE 1143
#define EVENT_TOSS_DICE 1150
#define EVENT_TOSS_COIN 1151
#define EVENT_TOSS_COIN_NEGATE 1152
#define EVENT_TOSS_DICE_NEGATE 1153
#define EVENT_LEVEL_UP 1200
#define EVENT_PAY_LPCOST 1201
#define EVENT_DETACH_MATERIAL 1202
#define EVENT_TURN_END 1210
#define EVENT_CONFIRM 1211
#define EVENT_TOHAND_CONFIRM 1212
#define EVENT_PHASE 0x1000
#define EVENT_PHASE_START 0x2000
#define EVENT_ADD_COUNTER 0x10000
#define EVENT_REMOVE_COUNTER 0x20000
#define EVENT_CUSTOM 0x10000000
#define DOUBLE_DAMAGE 0x80000000
#define HALF_DAMAGE 0x80000001
#endif /* EFFECT_CONSTANTS_H_ */