std::cout<<PARTY_MEMBER_OBJ[-CURRENT_TURN-1]->name<<" uses "<<PARTY_MEMBER_STATS[PARTY_MEMBER_ID[-CURRENT_TURN-1]]->selectedMove->name<<""<<PARTY_MEMBER_STATS[PARTY_MEMBER_ID[-CURRENT_TURN-1]]->selectedMove->grade<<" on "<<ent->obj->name<<" recovering "<<healAmt<<" health.\n";
ent->AddHP(healAmt);
}
}else{
std::cout<<PARTY_MEMBER_OBJ[-CURRENT_TURN-1]->name<<" uses "<<PARTY_MEMBER_STATS[PARTY_MEMBER_ID[-CURRENT_TURN-1]]->selectedMove->name<<""<<PARTY_MEMBER_STATS[PARTY_MEMBER_ID[-CURRENT_TURN-1]]->selectedMove->grade<<" on "<<PARTY_MEMBER_OBJ[-PARTY_MEMBER_STATS[PARTY_MEMBER_ID[-CURRENT_TURN-1]]->selectedTarget-1]->name<<" but it failed.\n";
}
@ -2802,19 +2806,15 @@ goes on a very long time, I hope you can understand this is only for testing pur
std::cout<<PARTY_MEMBER_OBJ[-CURRENT_TURN-1]->name<<" uses "<<PARTY_MEMBER_STATS[PARTY_MEMBER_ID[-CURRENT_TURN-1]]->selectedMove->name<<""<<PARTY_MEMBER_STATS[PARTY_MEMBER_ID[-CURRENT_TURN-1]]->selectedMove->grade<<" on "<<ent->obj->name<<" dealing "<<dmgAmt<<" health.\n";
ent->_SetDirectHP(ent->GetHP()-dmgAmt);
ent->obj->blinkFrames=35;
if(ent->GetHP()<=0){
ent->obj->dead=true;
}
}
}
}else{
std::cout<<PARTY_MEMBER_OBJ[-CURRENT_TURN-1]->name<<" uses "<<PARTY_MEMBER_STATS[PARTY_MEMBER_ID[-CURRENT_TURN-1]]->selectedMove->name<<""<<PARTY_MEMBER_STATS[PARTY_MEMBER_ID[-CURRENT_TURN-1]]->selectedMove->grade<<" on "<<BATTLE_ENCOUNTER->objs[PARTY_MEMBER_STATS[PARTY_MEMBER_ID[-CURRENT_TURN-1]]->selectedTarget]->obj->name<<" but it failed.\n";
}
@ -2825,8 +2825,10 @@ goes on a very long time, I hope you can understand this is only for testing pur
std::cout<<BATTLE_ENCOUNTER->objs[CURRENT_TURN]->obj->name<<" uses "<<BATTLE_ENCOUNTER->objs[CURRENT_TURN]->selectedMove->name<<""<<BATTLE_ENCOUNTER->objs[CURRENT_TURN]->selectedMove->grade<<" on "<<ent->obj->name<<" recovering "<<healAmt<<" health.\n";
ent->AddHP(healAmt);
}
}else{
std::cout<<BATTLE_ENCOUNTER->objs[CURRENT_TURN]->obj->name<<" uses "<<BATTLE_ENCOUNTER->objs[CURRENT_TURN]->selectedMove->name<<""<<BATTLE_ENCOUNTER->objs[CURRENT_TURN]->selectedMove->grade<<" on "<<BATTLE_ENCOUNTER->objs[BATTLE_ENCOUNTER->objs[CURRENT_TURN]->selectedTarget]->obj->name<<" but it failed.\n";
}
@ -2835,12 +2837,14 @@ goes on a very long time, I hope you can understand this is only for testing pur
std::cout<<BATTLE_ENCOUNTER->objs[CURRENT_TURN]->obj->name<<" uses "<<BATTLE_ENCOUNTER->objs[CURRENT_TURN]->selectedMove->name<<""<<BATTLE_ENCOUNTER->objs[CURRENT_TURN]->selectedMove->grade<<" on "<<PARTY_MEMBER_OBJ[-BATTLE_ENCOUNTER->objs[CURRENT_TURN]->selectedTarget-1]->name<<" but it failed.\n";
@ -3037,6 +3041,28 @@ goes on a very long time, I hope you can understand this is only for testing pur