📄 effectghostblade.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : EffectGhostBlade.h// Written by : // Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_GHOST_BLADE__#define __EFFECT_GHOST_BLADE__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectGhostBlade//////////////////////////////////////////////////////////////////////////////class EffectGhostBlade : public Effect {public: EffectGhostBlade(Creature* pCreature) throw(Error);public: void affect() throw(Error) {} void affect(Creature* pCreature) throw(Error); void unaffect(Creature* pCreature) throw(Error); void unaffect() throw(Error); EffectClass getEffectClass() const throw() { return EFFECT_CLASS_GHOST_BLADE; } string toString() const throw();public: int getToHitBonus() throw() { return m_ToHitBonus;} void setToHitBonus(ToHit_t ToHitBonus) throw(Error) { m_ToHitBonus = ToHitBonus;}private : ToHit_t m_ToHitBonus;};#endif // __EFFECT_GHOST_BLADE__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -