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