Skip to content

Conversation

@Wind2009-Louse
Copy link
Contributor

@Wind2009-Louse Wind2009-Louse commented Feb 9, 2025

If attacker leaves and returns to field, Duel.CalculateDamage should not be executed.

Test puzzle:

--[[message TEST]]
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,8000,0,0)

Debug.AddCard(27178262,0,0,LOCATION_HAND,1,POS_FACEUP_ATTACK)

Debug.AddCard(69025477,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(69025477,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(69025477,0,0,LOCATION_GRAVE,3,POS_FACEUP_ATTACK)

-- Debug.AddCard(34475451,1,1,LOCATION_HAND,1,POS_FACEUP_ATTACK)

Debug.AddCard(8687195,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(64966519,1,1,LOCATION_MZONE,4,POS_FACEUP_ATTACK)

-- Debug.AddCard(23446369,1,1,LOCATION_SZONE,0,POS_FACEDOWN_ATTACK)
Debug.AddCard(15610297,1,1,LOCATION_DECK,0,POS_FACEDOWN_ATTACK)

Debug.ReloadFieldEnd()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant