⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 effectmiracleshield.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectMiracleShield.h// Written by  : excel96// Description ://////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_MIRACLE_SHIELD__#define __EFFECT_MIRACLE_SHIELD__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectMiracleShield//////////////////////////////////////////////////////////////////////////////class EffectMiracleShield : public Effect {public:	EffectMiracleShield(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_MIRACLE_SHIELD; }	string toString() const throw();public:	int getDefenseBonus() throw() { return m_DefenseBonus;}	void setDefenseBonus(Defense_t DefenseBonus) throw(Error) { m_DefenseBonus = DefenseBonus;}	int getProtectionBonus() throw() { return m_ProtectionBonus;}	void setProtectionBonus(Protection_t ProtectionBonus) throw(Error) { m_ProtectionBonus = ProtectionBonus;}private :	Defense_t    m_DefenseBonus;	Protection_t m_ProtectionBonus;};#endif // __EFFECT_MIRACLE_SHIELD__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -