1
This commit is contained in:
parent
2fbed545af
commit
a8bb57ee4b
@ -13,6 +13,7 @@
|
||||
#include "trigger.h"
|
||||
#include "car.h"
|
||||
#include "bullet.h"
|
||||
#include "skillhelper.h"
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
@ -1395,6 +1396,8 @@ void Creature::ProcSkillPhase(MetaData::SkillPhase* phase)
|
||||
#else
|
||||
_UpdateMove(phase->param1.GetInt());
|
||||
#endif
|
||||
float recover_hp = SkillHelper::GetSjydhxRecoverHp(this, CurrentSkill()->meta);
|
||||
AddHp(recover_hp);
|
||||
a8::Vec2 pre_dir = old_dir;
|
||||
a8::Vec2 pre_pos = old_pos;
|
||||
#ifdef DEBUG
|
||||
|
@ -226,3 +226,8 @@ void SkillHelper::ProcBulletHitBuff(Bullet* bullet, Creature* c, int buff_uniid)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
float SkillHelper::GetSjydhxRecoverHp(Creature* c, const MetaData::Skill* skill_meta)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@ -17,6 +17,8 @@ class SkillHelper
|
||||
|
||||
//爱心香风
|
||||
static int GetAxxfDmg(const MetaData::Skill* skill_meta);
|
||||
//瞬间移动回血
|
||||
static float GetSjydhxRecoverHp(Creature* c, const MetaData::Skill* skill_meta);
|
||||
//此面向敌
|
||||
static int GetCmxdDmg(const MetaData::Skill* skill_meta);
|
||||
static int GetCmxdDistance(const MetaData::Skill* skill_meta);
|
||||
|
Loading…
x
Reference in New Issue
Block a user