Commit 75878dee authored by nanahira's avatar nanahira

updc

parent 5e72ede1
......@@ -3326,6 +3326,8 @@ int32 card::is_capable_cost_to_grave(uint8 playerid) {
return FALSE;
if(is_affected_by_effect(EFFECT_CANNOT_USE_AS_COST))
return FALSE;
if(is_affected_by_effect(EFFECT_CANNOT_TO_GRAVE_AS_COST))
return FALSE;
if(!is_capable_send_to_grave(playerid))
return FALSE;
auto op_param = sendto_param;
......
......@@ -249,7 +249,7 @@ inline effect_flag operator|(effect_flag flag1, effect_flag flag2)
#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 //
......
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