Commit 9b3dbc2c authored by DailyShana's avatar DailyShana

update MSG_SELECT_CHAIN

parent cf73af57
...@@ -739,6 +739,9 @@ public: ...@@ -739,6 +739,9 @@ public:
// //
#define PHINT_DESC_ADD 6 #define PHINT_DESC_ADD 6
#define PHINT_DESC_REMOVE 7 #define PHINT_DESC_REMOVE 7
//
#define EDESC_OPERATION 1
#define EDESC_RESET 2
//Messages //Messages
#define MSG_RETRY 1 #define MSG_RETRY 1
#define MSG_HINT 2 #define MSG_HINT 2
......
...@@ -308,9 +308,9 @@ int32 field::select_chain(uint16 step, uint8 playerid, uint8 spe_count, uint8 fo ...@@ -308,9 +308,9 @@ int32 field::select_chain(uint16 step, uint8 playerid, uint8 spe_count, uint8 fo
effect* peffect = core.select_chains[i].triggering_effect; effect* peffect = core.select_chains[i].triggering_effect;
card* pcard = peffect->handler; card* pcard = peffect->handler;
if(peffect->is_flag(EFFECT_FLAG_FIELD_ONLY)) if(peffect->is_flag(EFFECT_FLAG_FIELD_ONLY))
pduel->write_buffer8(0x1); pduel->write_buffer8(EDESC_OPERATION);
else if(!(peffect->type & EFFECT_TYPE_ACTIONS)) else if(!(peffect->type & EFFECT_TYPE_ACTIONS))
pduel->write_buffer8(0x2); pduel->write_buffer8(EDESC_RESET);
else else
pduel->write_buffer8(0); pduel->write_buffer8(0);
pduel->write_buffer32(pcard->data.code); pduel->write_buffer32(pcard->data.code);
......
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