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

📄 px_ls_item_weapon_dangger.h

📁 MMORPG游戏服务器端架构及函数
💻 H
字号:
#pragma	  once

/* must been first include begin */
#include "..\ProjectX_Common\ProjectX_Copyright.h"
#include "..\ProjectX_Common\ProjectX_Common.h"
/* must been first include end */

/* std and common include */
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>


//匕首

typedef struct tagItem_Dangger_Base {
	int		index;									/* 序号 */
	char	name[MAX_ITEM_DANGGER_NAME_LEN];		/* 名称 */
	WORD	level_req;								/* 等级需求 */
	WORD	strength_req;							/* 力量 */
	WORD	agility_req;							/* 敏捷 */
	WORD	wit_req;								/* 智力 */
	WORD	command_req;							/* 统率 */
	BOOL	single_hand;							/* 单双手 */
	WORD	damage_min;								/* 最小攻击力 */
	WORD	damage_max;								/* 最大攻击力 */
	float	steal_hp_ratio;							/* 偷取hp几率 */
	float	steal_hp_persent;						/* 偷取hp百分比 */
	float	steal_mana_ratio;						/* 偷取mana几率 */
	float	steal_mana_persent;						/* 偷取mana百分比 */
	byte	physic_resist;							/* 物理抵抗 */
	byte	cold_resist;							/* 冰系抵抗 */
	byte	poison_resist;							/* 毒系抵抗 */
	byte	lighting_resist;						/* 电系抵抗 */
	byte	fire_resist;							/* 火系抵抗 */
	byte	magic_resist;							/* 魔法抵抗 */
	byte	fce;									/* 快速施法速度 - 元素	fce(fast cast element skill) */
	byte	fcm;									/* 快速施法速度 - 魔法	fcm(fast cast magic skill) */
	byte	fcp;									/* 快速施法速度 - 物理	fcp(fast cast physic skill) */
	byte	fss;									/* 快速召唤速度			fss(fast summon speed) */
	byte	set_num;								/* 套装数量 */
	byte	gender_req;								/* 性别专属 */
	BOOL	hunman_use;								/* 人类能否使用 */
	BOOL	hun_use;								/* 野蛮人 */
	BOOL	sorcer_use;								/* 法师 */
	BOOL	genius_use;								/* 精灵 */
	BOOL	bowman_use;								/* 弓弩手 */
	BOOL	taoist_use;								/* 道士 */
	BOOL	nodead_use;								/* 亡灵 */
	BOOL	craftsman_use;							/* 匠人 */
	BOOL	knight_use;								/* 骑士 */
	byte	size_x;									/* 道具占用的空间大小X */
	byte	size_y;									/* 道具占用的空间大小Y */
	float	weight;									/* 道具重量 */
	int		money_sell;								/* 道具出售金钱 */
}ITEM_DANGGER_BASE, * LPITEM_DANGGER_BASE;

⌨️ 快捷键说明

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