| | |
| | | // AttackType = 伤害飘血类型 |
| | | |
| | | // 即BattleType一般代表本次技能的攻击方式,如 1-物伤常规攻击、11-物伤连击、22-法伤反击等 |
| | | |
| | | // 而AttackType一般代表的是本次技能的伤害飘血类型,如普通伤害,暴击伤害、格挡、回血等 |
| | | |
| | | |
| | | // |
| | | // 101011111 |
| | | |
| | | |
| | | // 服务器拥有的DamageType |
| | | public enum ServerDamageType |
| | | { |
| | | Damage = 2,//普通伤害 (2^1 序号1) |
| | | Recovery = 4,//治疗 (2^2 序号2) |
| | | |
| | | Reborn = 8,//复活 (2^3 序号3) |
| | | |
| | | Immune = 16,//免疫 (2^4 序号4) |
| | | |
| | | Block = 32, //格挡 (2^5 序号5) |
| | | |
| | | Realdamage = 64, //真伤/无视防伤 (2^6 序号6) |
| | | Crit = 128, //暴击 (2^7 序号7) |
| | | |
| | | Stunned = 256, //击晕 (2^8 序号8) |
| | | |
| | | Dodge = 512, //闪避 (2^9 序号9) |
| | | |
| | | DamageReverse = 1024,//伤害变为 (2^10 序号10) |
| | | |
| | | SuckHpReverse = 2048,//吸血毒药 (2^11 序号11) |
| | | SelfHarm = 4096,//自残 (2^12 序号12) |
| | | Protected = 8192,//本次伤害有受保护标记 (2^13 序号13) |
| | | |
| | | IngoreSheild = 16384,//无视护盾 (2^14 序号14) |
| | | |
| | | BreakArmor = 32768,//破甲伤害 (2^15 序号15) |
| | | |
| | | Parry = 65536,//招架 (2^16 序号16) |
| | | CompletelyDodge = 131072, |
| | | } |
| | | |
| | | public enum DamageType |
| | | { |
| | | Normal, //普通伤害 |
| | | Dodge, //闪避 |
| | | Heal, //治疗 |
| | | Continuous,//持续伤害 |
| | | Block, //格挡 |
| | | ReverseInjury,//反伤 |
| | | Recovery, //吸血 |
| | | Crit, //暴击 |
| | | Combo, //连击 |
| | | Stuned, //击晕 |
| | | } |
| | | Damage = 2, //普通伤害 (2^1) |
| | | |
| | | Recovery = 4, //治疗 (2^2) |
| | | |
| | | Reflect = 8, //反弹伤害 (2^3) |
| | | |
| | | Bloody = 16, //流血伤害 (2^4) |
| | | |
| | | Block = 32, //格挡 (2^5) |
| | | |
| | | Immune = 64, //免疫 (2^6) |
| | | |
| | | Crit = 128, //暴击 (2^7) |
| | | |
| | | Stunned = 256, //击晕 (2^8) |
| | | |
| | | Dodge = 512, //闪避 (2^9) |
| | | |
| | | RageUp = 1024, //怒气提升 (2^10) |
| | | |
| | | SuckHP = 2048, //吸血 (2^11) |
| | | |
| | | Realdamage = 4096, //真伤 (2^12) |
| | | |
| | | CritDamage = Crit + Damage, //暴击伤害 |
| | | |
| | | CritHeal = Crit + Recovery, //暴击回血 |
| | | |
| | | CritRealdamage = Crit + Realdamage, //暴击真伤 |
| | | |
| | | SuckHpReverse = 8192,//吸血毒药 (2^13 序号13) |
| | | |
| | | Protected = 16384,//本次伤害有受保护标记 (2^14 序号14) |
| | | |
| | | |
| | | |
| | | BreakArmor = 32768,//破甲伤害 (2^15 序号15) |
| | | |
| | | Parry = 65536,//招架 (2^16 序号16) |
| | | |
| | | CompletelyDodge = 131072,//极限闪避 |
| | | } |
| | | |