34 lines
730 B
C++
34 lines
730 B
C++
#ifndef GAMESERVER_QUICKSTEP_ABILITY_H_
|
|
#define GAMESERVER_QUICKSTEP_ABILITY_H_
|
|
|
|
#pragma once
|
|
|
|
#include "Ability.h"
|
|
|
|
class QuickStepAbility : public Ability
|
|
{
|
|
public:
|
|
QuickStepAbility()
|
|
{
|
|
}
|
|
virtual ~QuickStepAbility()
|
|
{
|
|
}
|
|
|
|
virtual void InitDetailed(
|
|
Character* attacker,
|
|
SLOTCODE skill_code,
|
|
SkillInfo* skill_info_data,
|
|
BYTE skill_stat_type,
|
|
const BASE_ABILITYINFO* base_ability_info
|
|
);
|
|
virtual bool Execute(Character* target, BYTE* msg, WORD& msg_size);
|
|
|
|
private:
|
|
bool FastMove(Character* target, WzVector destination);
|
|
|
|
bool executable_condition_;
|
|
nsGrid::ViewBoxCubic available_range_box_;
|
|
};
|
|
|
|
#endif // GAMESERVER_QUICKSTEP_ABILITY_H_
|