Stamina is only drained when you are gaining experience after killing a monster. If you are training with summoned monsters, being attacked, or making runes, your time of stamina will remain
Source: https://tibia.fandom.com/wiki/Stamina
Stamina only decreases when you gain experience, so if you remain online attacking a monster but you don't actually kill it, your stamina won´t decrease.
However, since you won't be offline or in a resting area (assuming you have the daily bonus active) you won't regenerate any stamina.
Question Revival VI contestMarch 16, 2025
Looking for new TibiaQA staff membersJuly 12, 2024
Interview with Solkrin - lead of the Customer Support team at CipSoftDecember 20, 2023