Commit c8cc0f34 authored by argon.sun's avatar argon.sun

fix

parent 8f172f57
...@@ -4595,6 +4595,7 @@ int32 field::adjust_step(uint16 step) { ...@@ -4595,6 +4595,7 @@ int32 field::adjust_step(uint16 step) {
} }
} }
core.deck_reversed = res; core.deck_reversed = res;
eset.clear();
filter_field_effect(EFFECT_REMOVE_BRAINWASHING, &eset, FALSE); filter_field_effect(EFFECT_REMOVE_BRAINWASHING, &eset, FALSE);
res = eset.count ? TRUE : FALSE; res = eset.count ? TRUE : FALSE;
if(res && !core.remove_brainwashing) { if(res && !core.remove_brainwashing) {
......
...@@ -30,7 +30,7 @@ function c17955766.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,7 +30,7 @@ function c17955766.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=tg:GetFirst() local tc=tg:GetFirst()
if tc then if tc then
local atk=tc:GetAttack() local atk=tc:GetAttack()
if atk>0 and Duel.IsExistingMatchingCard(c17955766.filter,tp,LOCATION_MZONE,0,1,nil,atk) then if atk>=0 and Duel.IsExistingMatchingCard(c17955766.filter,tp,LOCATION_MZONE,0,1,nil,atk) then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
Duel.Damage(1-tp,500,REASON_EFFECT) Duel.Damage(1-tp,500,REASON_EFFECT)
else else
......
...@@ -37,7 +37,7 @@ function c78734254.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -37,7 +37,7 @@ function c78734254.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=tg:GetFirst() local tc=tg:GetFirst()
if tc then if tc then
local atk=tc:GetAttack() local atk=tc:GetAttack()
if atk>0 and Duel.IsExistingMatchingCard(c78734254.filter,tp,LOCATION_MZONE,0,1,nil,atk) then if atk>=0 and Duel.IsExistingMatchingCard(c78734254.filter,tp,LOCATION_MZONE,0,1,nil,atk) then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
Duel.Damage(1-tp,500,REASON_EFFECT) Duel.Damage(1-tp,500,REASON_EFFECT)
end end
......
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