}
if(grazeFlag) message = [message stringByAppendingString:[NSString stringWithFormat:@"かすりヒット!\n"]];
- if(!healFlag) message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は%gのダメージを受けた!", U->C.name, dmg]];
+ if(!healFlag) {
+ message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は%gのダメージを受けた!", U->C.name, dmg]];
+ btHitFlag1 = true;
+ }
else {
message = [message stringByAppendingString:[NSString stringWithFormat:@"%@はHPが%g回復した!", U->C.name, dmg]];
btHitFlag1 = false;
message = [message stringByAppendingString:[NSString stringWithFormat:@"かすりヒット!\n"]];
message = [message stringByAppendingString:[NSString stringWithFormat:@"%@は%gのダメージを受けた!", U->C.name, dmg]];
+ btHitFlag2 = true;
}else if(battleDef2Flag){