📄 px_ls_item_staff_skill.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_Skill_Base {
int index; /* 序号 */
char name[MAX_ITEM_SKILL_NAME_LEN]; /* 名称 */
WORD level_req; /* 需求等级 */
byte gender_req; /* 性别专属 */
WORD hp_consume; /* 消耗hp */
WORD mana_consume; /* 消耗mana */
WORD sp_consume; /* 消耗sp */
byte skill_type; /* 技能基类型-物理?火系?冰系?电系?毒系?魔法? */
BOOL interrupt; /* 施放此技能时可否被打断 */
WORD damage_max; /* 最大攻击力 */
float damage_max_ratio; /* 施放最大攻击力几率 */
WORD damage_min; /* 最小攻击力 */
float damage_min_ratio; /* 施放最下攻击力几率 */
byte startup_frame; /* 启动帧数 */
byte persist_frame; /* 持续帧数 */
byte colden_frame; /* 冷冻帧数 */
byte delay_frame; /* 延迟帧数 */
byte resist_base; /* 相应于基类型的基值 */
BOOL region; /* 是否为区域技能 */
byte range; /* 影响半径 */
float value_per_frame; /* 每帧影响值 */
byte damage_type; /* 基类型子类型 */
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_SKILL_BASE, * LPITEM_SKILL_BASE;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -