Files
Client/Server/RylServerProject/RylGameLibrary/Creature/Siege/CastleArms.h
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

42 lines
1.4 KiB
C++

#ifndef _BASE_CASTLE_ARMS_OBJECT_H_
#define _BASE_CASTLE_ARMS_OBJECT_H_
#pragma once
#include <Creature/Siege/SiegeObject.h>
#include <Creature/Siege/SiegeConstants.h>
using namespace Siege;
class CCastleArms : public CSiegeObject
{
public:
virtual ~CCastleArms();
// CSkillMonster 의 기능
virtual bool AttackCID(CCharacter* lpRideChar, AtType attackType, AtNode& attackNode, unsigned short& wError);
virtual bool Attack(AtType attackType, unsigned char cDefenderNum, CAggresiveCreature** ppDefenders, unsigned char* cDefenserJudges, unsigned short* wDefenserMPHeal);
virtual bool MissileAttack(AtType attackType, float fDir, float nRange, float fAngle, char cTargetType);
virtual bool Dead(CAggresiveCreature* pOffencer);
// 수성 병기 관련 함수
bool Upgrade(unsigned char cUpgradeStep);
bool Repair(unsigned short wRepairHP);
bool Destroy(unsigned char cOffencerNation = 0, bool bTakeGold = false );
bool Update(unsigned char cState, unsigned long dwValue1, unsigned long dwValue2, unsigned long dwOwnerID, unsigned char cSubCmd);
bool ChangeType(unsigned short wType);
// Rider 관련 정보
virtual bool Ride(unsigned long dwCID); // 병기 탑승
virtual bool GetOff(unsigned long dwCID); // 병기 내림
protected:
CCastleArms(MonsterCreateInfo& MonsterCreate, const CastleObjectInfo& CastleObject);
friend class CSiegeObjectMgr;
};
#endif _BASE_CASTLE_ARMS_OBJECT_H_