This commit is contained in:
aozhiwei 2022-09-06 17:31:27 +08:00
parent 8a7fe19d4b
commit 21d98161a7

View File

@ -504,7 +504,9 @@ void Obstacle::OnBulletHit(Bullet* bullet)
}
}
}
#ifdef NEWGS
#ifdef ATTR
float finaly_dmg = bullet->sender.Get()->GetBattleContext()->CalcDmg(this, bullet);
#else
float finaly_dmg = 0;
float atk_rate = 0;
float def_rate = 0;