1
This commit is contained in:
parent
06630b8240
commit
faa5d82a2a
@ -845,7 +845,8 @@ void Creature::DoSkill(int skill_id,
|
||||
curr_skill_ = skill;
|
||||
playing_skill = true;
|
||||
context_dir = skill_dir_;
|
||||
context_pos = GetMutablePos().AddGlmVec3(skill_dir_ * skill_distance_);
|
||||
context_pos = GetPos();
|
||||
context_pos.AddGlmVec3(skill_dir_ * skill_distance_);
|
||||
CurrentSkill()->last_use_frameno = room->GetFrameNo();
|
||||
skill->LockCastPhase();
|
||||
if (CurrentSkill()->meta->skill_target() == kST_Self
|
||||
|
@ -218,7 +218,6 @@ class Creature : public MoveableEntity
|
||||
void DecInventory(int slot_id, int num);
|
||||
std::array<Inventory, IS_END>& GetInventoryData() { return inventory_; };
|
||||
virtual void _UpdateMove(int speed) {};
|
||||
virtual void Goto();
|
||||
bool HasSpecMove();
|
||||
void _UpdateSpecMove();
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "mt/macro.h"
|
||||
#include "mtb/Player.h"
|
||||
#include "mtb/Hero.h"
|
||||
|
||||
namespace mt
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user