1
This commit is contained in:
parent
3085b50992
commit
3d23c706bc
@ -42,6 +42,7 @@
|
||||
#include "ability.h"
|
||||
#include "stats.h"
|
||||
#include "hero.h"
|
||||
#include "guide.h"
|
||||
|
||||
#include "buff/sprint.h"
|
||||
|
||||
@ -89,6 +90,8 @@ Human::Human():Creature()
|
||||
AddInventory(IS_ICE, FIGHTING_MODE_BULLET_NUM);
|
||||
}
|
||||
stats = std::make_shared<PlayerStats>();
|
||||
guide_ = std::make_shared<Guide>();
|
||||
guild_->Init(this);
|
||||
}
|
||||
|
||||
Human::~Human()
|
||||
|
@ -40,6 +40,7 @@ class Loot;
|
||||
class Car;
|
||||
class Buff;
|
||||
class PlayerStats;
|
||||
class Guide;
|
||||
struct BornPoint;
|
||||
class Human : public Creature
|
||||
{
|
||||
@ -253,6 +254,7 @@ class Human : public Creature
|
||||
void ProcThrowDmg(int throw_uniid);
|
||||
void CalcStats();
|
||||
void ShiledBreak();
|
||||
std::shared_ptr<Guide> GetGuide() { return guide_; };
|
||||
|
||||
protected:
|
||||
void ProcLootWeapon(AddItemDTO& dto);
|
||||
@ -343,5 +345,7 @@ private:
|
||||
float old_sync_speed = 0;
|
||||
std::map<int, long long> attacker_hash_;
|
||||
|
||||
std::shared_ptr<Guide> guide_;
|
||||
|
||||
friend class PBUtils;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user