void BattleScene::onUseAttack(int spot, int attack, bool) { info.attack = attack; info.spot = spot; if (info.hits > 0) { info.moveData["currentHit"] = 0; } emit attackUsed(spot, attack, info.moveData); }
void RegularBattleScene::onUseAttack(int spot, int attack, bool) { emit attackUsed(spot, attack); }