Commit a36bf19b authored by salix5's avatar salix5
parent 1af102fa
...@@ -371,6 +371,7 @@ public: ...@@ -371,6 +371,7 @@ public:
#define SUMMON_TYPE_RITUAL 0x45000000 #define SUMMON_TYPE_RITUAL 0x45000000
#define SUMMON_TYPE_SYNCHRO 0x46000000 #define SUMMON_TYPE_SYNCHRO 0x46000000
#define SUMMON_TYPE_XYZ 0x49000000 #define SUMMON_TYPE_XYZ 0x49000000
#define SUMMON_TYPE_PENDULUM 0x4a000000
//Status //Status
#define STATUS_DISABLED 0x0001 // #define STATUS_DISABLED 0x0001 //
#define STATUS_TO_ENABLE 0x0002 // #define STATUS_TO_ENABLE 0x0002 //
......
...@@ -3671,6 +3671,8 @@ int32 field::change_position(uint16 step, group * targets, effect * reason_effec ...@@ -3671,6 +3671,8 @@ int32 field::change_position(uint16 step, group * targets, effect * reason_effec
pcard->set_status(STATUS_SET_TURN, TRUE); pcard->set_status(STATUS_SET_TURN, TRUE);
pcard->enable_field_effect(FALSE); pcard->enable_field_effect(FALSE);
pcard->summon_info &= 0xdf00ffff; pcard->summon_info &= 0xdf00ffff;
if(pcard->summon_info & SUMMON_TYPE_PENDULUM)
pcard->summon_info &= 0xf000ffff;
pcard->spsummon_counter[0] = pcard->spsummon_counter[1] = 0; pcard->spsummon_counter[0] = pcard->spsummon_counter[1] = 0;
pcard->spsummon_counter_rst[0] = pcard->spsummon_counter_rst[1] = 0; pcard->spsummon_counter_rst[0] = pcard->spsummon_counter_rst[1] = 0;
} }
......
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