📄 effectpotentialexplosion.h
字号:
//////////////////////////////////////////////////////////////////////////////// Filename : EffectPotentialExplosion.h// Written by : // Description : //////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_POTENTIAL_EXPLOSION__#define __EFFECT_POTENTIAL_EXPLOSION__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectPotentialExplosion//////////////////////////////////////////////////////////////////////////////class EffectPotentialExplosion : public Effect {public: EffectPotentialExplosion(Creature* pCreature) throw(Error);public: EffectClass getEffectClass() const throw() { return EFFECT_CLASS_POTENTIAL_EXPLOSION; } void affect() throw(Error) {} void affect(Creature* pCreature) throw(Error); void affect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pObject) throw(Error); void unaffect(Creature* pCreature) throw(Error); void unaffect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pObject) throw(Error); void unaffect() throw(Error); void unaffect(Item* pItem) throw(Error) {} string toString() const throw();public: int getDiffSTR(void) throw() { return m_diffSTR;} int getDiffDEX(void) throw() { return m_diffDEX;} void setDiffSTR(int diffSTR) throw(Error) { m_diffSTR = diffSTR;} void setDiffDEX(int diffDEX) throw(Error) { m_diffDEX = diffDEX;}private : int m_diffSTR; int m_diffDEX;};#endif // __EFFECT_POTENTIAL_EXPLOSION__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -