1
This commit is contained in:
parent
73df9239c4
commit
95a619d5b1
@ -75,7 +75,12 @@ void Bullet::OnHit(std::set<Entity*>& objects)
|
||||
player->stats.damage_amount_out += finaly_dmg;
|
||||
hum->DecHP(finaly_dmg, player->GetEntityUniId(), player->name, gun_meta->i->id());
|
||||
#ifdef DEBUG
|
||||
player->SendDebugMsg(a8::Format("bullet atk:%f", {GetAtk()}));
|
||||
player->SendDebugMsg(a8::Format("bullet weapon_id:%d atk:%f",
|
||||
{
|
||||
gun_meta->i->id(),
|
||||
GetAtk()
|
||||
})
|
||||
);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@ -103,7 +108,12 @@ void Bullet::OnHit(std::set<Entity*>& objects)
|
||||
}
|
||||
obstacle->BroadcastFullState(room);
|
||||
#ifdef DEBUG
|
||||
player->SendDebugMsg(a8::Format("bullet atk:%f", {GetAtk()}));
|
||||
player->SendDebugMsg(a8::Format("bullet weapon_id:%d atk:%f",
|
||||
{
|
||||
gun_meta->i->id(),
|
||||
GetAtk()
|
||||
})
|
||||
);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user