Files
LGram16 dd97ddec92 Restructure repository to include all source folders
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>
2025-11-29 20:17:20 +09:00

39 lines
1.2 KiB
C++

#ifndef _CASTLE_GUARD_OBJECT_H_
#define _CASTLE_GUARD_OBJECT_H_
#pragma once
#include <Creature/Siege/CastleArms.h>
using namespace Siege;
class CCastleGuard : public CCastleArms
{
public:
virtual ~CCastleGuard();
// CSkillMonster 의 기능
void NormalBehavior(unsigned long dwTick);
void AttackBehavior(unsigned long dwTick);
void SearchPlayer(void);
bool Dead(CAggresiveCreature* pOffencer);
// 가드는 자동 공격이므로 아래 함수의 구현이 없다.
bool AttackCID(CCharacter* lpRideChar, AtType attackType, AtNode& attackNode, unsigned short& wError) { return false; }
bool Attack(AtType attackType, unsigned char cDefenderNum, CAggresiveCreature** ppDefenders,
unsigned char* cDefenserJudges, unsigned short* wDefenserMPHeal) { return false; }
bool MissileAttack(AtType attackType, float fDir, float nRange, float fAngle, char cTargetType) { return false; }
// Rider 관련 정보
bool Ride(unsigned long dwCID) { return false; } // 병기 탑승
bool GetOff(unsigned long dwCID) { return false; } // 병기 내림 (중계 서버로 패킷 전송)
private:
CCastleGuard(MonsterCreateInfo& MonsterCreate, const CastleObjectInfo& CastleObject);
friend class CSiegeObjectMgr;
};
#endif _CASTLE_GUARD_OBJECT_H_