Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
518 B
C++
21 lines
518 B
C++
#ifndef _CNULLSPELL_H_
|
|
#define _CNULLSPELL_H_
|
|
|
|
#include "Spell.h"
|
|
|
|
class CNullSpell : public CSpell
|
|
{
|
|
public:
|
|
|
|
CNullSpell() : CSpell(Spell_Info(Skill::ProtoType(), NULL,
|
|
Skill::SpellType::NONE, Skill::SpellID::None, 0, 0), Skill::Type::NONE) { }
|
|
virtual ~CNullSpell() { }
|
|
|
|
protected:
|
|
|
|
inline virtual bool Activate(CAggresiveCreature* pAffected, unsigned long dwOperateFlag) { return true; }
|
|
inline virtual bool Deactivate(CAggresiveCreature* pAffected, unsigned long dwOperateFlag) { return true; }
|
|
};
|
|
|
|
|
|
#endif |