Commit 20dab0fe authored by salix5's avatar salix5

Merge pull request #843 from sidschingis/patch1

fix Duel Negate Attack
parents 0f15bf64 49e42978
......@@ -483,7 +483,8 @@ int32 field::process() {
|| (attacker->current.location != LOCATION_MZONE)
|| (attacker->current.position & POS_FACEDOWN)
|| ((attacker->current.position & POS_DEFENCE) && !(attacker->is_affected_by_effect(EFFECT_DEFENCE_ATTACK)))
|| attacker->is_affected_by_effect(EFFECT_ATTACK_DISABLED)
|| attacker->is_affected_by_effect(EFFECT_ATTACK_DISABLED)
|| attacker->is_affected_by_effect(EFFECT_CANNOT_ATTACK)
|| !attacker->is_affect_by_effect(core.reason_effect)) {
returns.ivalue[0] = 0;
pduel->lua->add_param(returns.ivalue[0], PARAM_TYPE_BOOLEAN);
......
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