px_ls_item_defence_glove.h

来自「MMORPG游戏服务器端架构及函数」· C头文件 代码 · 共 49 行

H
49
字号
#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 tagItme_Glove_Base {
	int		index;									/* 序号 */
	char	name[MAX_ITEM_GLOVE_NAME_LEN];			/* 名称 */
	WORD	level_req;								/* 等级需求 */
	WORD	strength_req;							/* 力量 */
	WORD	agility_req;							/* 敏捷 */
	WORD	wit_req;								/* 智力 */
	WORD	command_req;							/* 统率 */
	WORD	defence;								/* 防御 */
	float	spd_swim;								/* 水中移动速度 */
	byte	fce;									/* 快速施法速度 - 元素	fce(fast cast element skill) */
	byte	fcm;									/* 快速施法速度 - 魔法	fcm(fast cast magic skill) */
	byte	fcp;									/* 快速施法速度 - 物理	fcp(fast cast physic skill) */
	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_GLOVE_BASE, * LPITEM_GLOVE_BASE;

//以下为定义道具-手套的快速施放速度
#define SPD_CAST_GLOVE_BASE_LOW			23		//
#define SPD_CAST_GLOVE_BASE_NORMAL		32
#define SPD_CAST_GLOVE_BASE_QUICK		40
#define SPD_CAST_GLOVE_BASE_RAPIDITY	52
#define SPD_CAST_GLOVE_BASE_CRAZY		75

⌨️ 快捷键说明

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