码迷,mamicode.com
首页 > 其他好文 > 详细

游戏开发—英雄类属性

时间:2016-03-26 12:40:55      阅读:153      评论:0      收藏:0      [点我收藏+]

标签:

------------------------------------------------------
-- 属性ID
ePropID_maxHP = ePropID_hero +  1;   -- 最大生命值-------1
ePropID_atkN = ePropID_hero +  2;    -- 攻击力-------2
ePropID_defN = ePropID_hero +  3;    -- 防御力-------3
ePropID_atr = ePropID_hero +  4;     -- 命中值-------4
ePropID_ctr = ePropID_hero +  5;     -- 闪避值-------5
ePropID_acrN = ePropID_hero +  6;    -- 暴击-------6
ePropID_tou = ePropID_hero +  7;     -- 韧性-------7
ePropID_atkA = ePropID_hero +  8;    -- 暴击伤害-------15
ePropID_defA = ePropID_hero +  9;    -- 暴击防御-------16
ePropID_deflect = ePropID_hero + 10; -- 偏斜率-------刀客18
ePropID_atkD = ePropID_hero + 11;    -- 偏斜伤害-------刀客19
ePropID_atkH = ePropID_hero + 12;    -- 神圣伤害-------14
ePropID_atkC = ePropID_hero + 13;    -- 心法伤害(citta)-------8
ePropID_defC = ePropID_hero + 14;    -- 心法防御-------9
ePropID_atkW = ePropID_hero + 15;    -- 神兵伤害-------11
ePropID_defW = ePropID_hero + 16;    -- 神兵防御-------12
ePropID_masterC = ePropID_hero + 17; -- 心法精通-------10
ePropID_masterW = ePropID_hero + 18; -- 神兵精通-------13
ePropID_healA = ePropID_hero + 19;   -- 治疗暴击-------医生18
ePropID_sbd = ePropID_hero + 20;     -- 吸血-------邪派17
ePropID_shell = ePropID_hero + 21;   -- 护体-------正派17
ePropID_dmgToH = ePropID_hero + 22;  -- 对人形类伤害(human)
ePropID_dmgToB = ePropID_hero + 23;  -- 对野兽类伤害(beast)
ePropID_dmgToD = ePropID_hero + 24;  -- 对恶魔类伤害(demon)
ePropID_dmgToA = ePropID_hero + 25;  -- 对不死类伤害(athanasy)
ePropID_dmgToO = ePropID_hero + 26;  -- 对特殊类伤害(other)
ePropID_dmgByH = ePropID_hero + 27;  -- 受到人形类伤害
ePropID_dmgByB = ePropID_hero + 28;  -- 受到兽类伤害
ePropID_dmgByD = ePropID_hero + 29;  -- 受到魔类伤害
ePropID_dmgByA = ePropID_hero + 30;  -- 受到死类伤害
ePropID_dmgByO = ePropID_hero + 31;  -- 受到殊类伤害
ePropID_res1 = ePropID_hero + 32;    -- 控制类抗性
ePropID_res2 = ePropID_hero + 33;    -- 虚弱类抗性
ePropID_res3 = ePropID_hero + 34;    -- 持续伤害类抗性
ePropID_res4 = ePropID_hero + 35;    -- 状态抗性4
ePropID_res5 = ePropID_hero + 36;    -- 状态抗性5
ePropID_hp = ePropID_hero + 37;      -- 当前气血
ePropID_alertRange = ePropID_hero + 38; -- 预警范围
ePropID_maxSP = ePropID_hero + 39;   -- 最大能量
ePropID_sp = ePropID_hero + 40;      -- 当前能量
ePropID_healGain = ePropID_hero + 41;   -- 治疗效果加成
ePropID_defStrike = ePropID_hero + 42;  -- 忽视防御
ePropID_mercenarydmgTo = ePropID_hero + 43;  -- 随从伤害加成
ePropID_mercenarydmgBy = ePropID_hero + 44;  -- 随从伤害减免
ePropID_behealGain = ePropID_hero + 45;      -- 收到治疗效果加成


游戏开发—英雄类属性

标签:

原文地址:http://blog.csdn.net/heyuchang666/article/details/50986105

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!