Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | 0,
|
| | | ref hurtValue, ref attackType);
|
| | |
|
| | |
|
| | | if (ClientDungeonStageUtility.isClientDungeon)
|
| | | {
|
| | | // hurtValue = int(dMaxHP*0.01*(1+atkSkillPer/10000.0))
|
| | | hurtValue = (uint)Mathf.Ceil(PlayerDatas.Instance.extersion.MaxHP * .01f * (1 + m_Owner.NpcConfig.PoisionAtk * Constants.F_DELTA));
|
| | | }
|
| | |
|
| | | AttackHandler.HurtObjs _hurtObject = new AttackHandler.HurtObjs
|
| | | {
|
| | | AttackType = attackType,
|
| | |
| | | byte attackType = 0;
|
| | |
|
| | | AttackHandler.CalculateDamage(this, PlayerDatas.Instance.hero, _skill, 0, ref hurtValue, ref attackType);
|
| | | if (ClientDungeonStageUtility.isClientDungeon)
|
| | | {
|
| | | // hurtValue = int(dMaxHP*0.01*(1+atkSkillPer/10000.0))
|
| | | hurtValue = (uint)Mathf.Ceil(PlayerDatas.Instance.extersion.MaxHP * .01f * (1 + NpcConfig.PoisionAtk * Constants.F_DELTA));
|
| | | }
|
| | | if (PlayerDatas.Instance.hero.ActorInfo.Hp - hurtValue < 0)
|
| | | {
|
| | | hurtValue = (uint)PlayerDatas.Instance.hero.ActorInfo.Hp;
|