Commit ac57dc56 authored by Chen Bill's avatar Chen Bill

Revert operation.cpp

This reverts commit a9880fe0.
parent c3efb49a
...@@ -1409,7 +1409,7 @@ int32 field::equip(uint16 step, uint8 equip_player, card * equip_card, card * ta ...@@ -1409,7 +1409,7 @@ int32 field::equip(uint16 step, uint8 equip_player, card * equip_card, card * ta
peffect->owner = equip_card; peffect->owner = equip_card;
peffect->handler = equip_card; peffect->handler = equip_card;
peffect->type = EFFECT_TYPE_SINGLE; peffect->type = EFFECT_TYPE_SINGLE;
if(equip_card->get_type() == TYPE_TRAP) { if(equip_card->get_type() & TYPE_TRAP) {
peffect->code = EFFECT_ADD_TYPE; peffect->code = EFFECT_ADD_TYPE;
peffect->value = TYPE_EQUIP; peffect->value = TYPE_EQUIP;
} else if(equip_card->data.type & TYPE_UNION) { } else if(equip_card->data.type & TYPE_UNION) {
......
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