Commit fadb2195 authored by salix5's avatar salix5

edit

parent c221464b
......@@ -443,8 +443,8 @@ int32 effect::is_chainable(uint8 tp) {
if(!(type & EFFECT_TYPE_ACTIONS))
return FALSE;
int32 sp = get_speed();
// Curse of Field(12470447) is the exception
if((type & EFFECT_TYPE_ACTIVATE) && (sp <= 1) && handler->data.code != 12470447)
// Curse of Field is the exception
if((type & EFFECT_TYPE_ACTIVATE) && (sp <= 1) && handler->data.code != CARD_COF)
return FALSE;
if(pduel->game_field->core.current_chain.size()) {
if(!(flag & EFFECT_FLAG_FIELD_ONLY) && (type & EFFECT_TYPE_TRIGGER_O)
......
......@@ -88,6 +88,9 @@ public:
int32 in_range(int32 loc, int32 seq);
};
//special cards
#define CARD_COF 12470447
//status
#define EFFECT_STATUS_AVAILABLE 0x0001
#define EFFECT_STATUS_ACTIVATED 0x0002
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment