effectblunting.h

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 45 行

H
45
字号
//////////////////////////////////////////////////////////////////////////////// Filename    : EffectBlunting.h// Written by  : // Description : Blunting俊 狼茄 规绢仿 窍碍 effect//////////////////////////////////////////////////////////////////////////////#ifndef __EFFECT_BLUNTING__#define __EFFECT_BLUNTING__#include "Effect.h"//////////////////////////////////////////////////////////////////////////////// class EffectBlunting//////////////////////////////////////////////////////////////////////////////class EffectBlunting : public Effect {public:	EffectBlunting(Creature* pCreature) throw(Error);public:    EffectClass getEffectClass() const throw() { return EFFECT_CLASS_BLUNTING; }	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  getLevel() const { return m_Level; }	void setLevel(int level) throw() { m_Level = level; }	int getDefensePenalty(void) const { return m_DefensePenalty; }	void setDefensePenalty(int penalty) { m_DefensePenalty = penalty; }private:	int m_Level;	int m_DefensePenalty;};#endif // __EFFECT_BLUNTING__

⌨️ 快捷键说明

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