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

📄 effectprotectionfrompoison.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectProtectionFromPoison.h// Written by  : excel96// Description : // ProtectionFromPoison俊 狼秦辑 积己登绰 刀单固瘤 距拳 捞棋飘捞促.//////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_PROTECTION_FROM_POISON__#define __EFFECT_PROTECTION_FROM_POISON__#include "Effect.h"#include "EffectLoader.h"//////////////////////////////////////////////////////////////////////////////// class EffectProtectionFromPoison//////////////////////////////////////////////////////////////////////////////class EffectProtectionFromPoison : public Effect {public:	EffectProtectionFromPoison(Creature* pCreature) throw(Error);public:    EffectClass getEffectClass() const throw() { return EFFECT_CLASS_PROTECTION_FROM_POISON; }	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() throw(Error);	void unaffect(Creature* pCreature) throw(Error);	void unaffect(Item* pItem) throw(Error) {}	void unaffect(Zone* pZone, ZoneCoord_t x, ZoneCoord_t y, Object* pObject) throw(Error);	string toString() const throw();public:	Resist_t getResist(void) const throw() { return m_Resist; }	void setResist(Resist_t resist) { m_Resist = resist; }private :	Resist_t m_Resist;};//////////////////////////////////////////////////////////////////////////////// class EffectProtectionFromPoisonLoader//////////////////////////////////////////////////////////////////////////////class EffectProtectionFromPoisonLoader : public EffectLoader {public:	virtual Effect::EffectClass getEffectClass() const throw() { return Effect::EFFECT_CLASS_PROTECTION_FROM_POISON; }	virtual string getEffectClassName() const throw() { return "EffectProtectionFromPoison"; }public:	virtual void load(Creature* pCreature) throw(Error);};extern EffectProtectionFromPoisonLoader* g_pEffectProtectionFromPoisonLoader;#endif // __EFFECT_PROTECTION_FROM_POISON__

⌨️ 快捷键说明

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