1
This commit is contained in:
parent
bad3fb7d24
commit
f4a36094e5
@ -11,6 +11,7 @@
|
||||
#include "bullet.h"
|
||||
#include "app.h"
|
||||
#include "room.h"
|
||||
#include "explosion.h"
|
||||
|
||||
#include "attrhelper.h"
|
||||
|
||||
@ -548,7 +549,7 @@ float BattleDataContext::CalcDmg(Obstacle* target, IBullet* bullet)
|
||||
|
||||
float BattleDataContext::CalcDmg(Explosion* e)
|
||||
{
|
||||
float finaly_dmg = (1 - GetDef() / 1000) / 2 * 100;
|
||||
float finaly_dmg = e->GetDmg();
|
||||
#ifdef DEBUG
|
||||
if (owner_.Get()->IsPlayer()) {
|
||||
std::string data = a8::Format
|
||||
|
Loading…
x
Reference in New Issue
Block a user