Commit 9cca8f64 authored by argon.sun's avatar argon.sun

fix

parent 7b980111
...@@ -957,7 +957,7 @@ int32 field::process() { ...@@ -957,7 +957,7 @@ int32 field::process() {
tc[count - i - 1]->current.sequence = player[target_player].list_main.size() - 1; tc[count - i - 1]->current.sequence = player[target_player].list_main.size() - 1;
} }
} }
if(core.deck_reversed) { if(count > 0 && core.deck_reversed) {
pduel->write_buffer8(MSG_DECK_TOP); pduel->write_buffer8(MSG_DECK_TOP);
pduel->write_buffer8(target_player); pduel->write_buffer8(target_player);
pduel->write_buffer8(0); pduel->write_buffer8(0);
......
...@@ -82,5 +82,9 @@ function c24096228.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,5 +82,9 @@ function c24096228.operation(e,tp,eg,ep,ev,re,r,rp)
if tg then tg(e,tp,eg,ep,ev,re,r,rp,1) end if tg then tg(e,tp,eg,ep,ev,re,r,rp,1) end
Duel.BreakEffect() Duel.BreakEffect()
if op then op(e,tp,eg,ep,ev,re,r,rp) end if op then op(e,tp,eg,ep,ev,re,r,rp) end
if bit.band(tpe,TYPE_FIELD)~=0 then
local of=Duel.GetFieldCard(1-tp,LOCATION_SZONE,5)
if of then Duel.Destroy(of,REASON_RULE) end
end
end end
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