Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | {
|
| | | // 是否飘字
|
| | | if (_sTarget.HurtHP != 0
|
| | | || _sTarget.AttackType == (byte)HurtAttackType.Miss)
|
| | | || _sTarget.AttackType == (byte)HurtAttackType.Miss
|
| | | || _sTarget.AttackType == (byte)HurtAttackType.Immune
|
| | | || _sTarget.AttackType == (byte)HurtAttackType.Suppress)
|
| | | {
|
| | | GAStaticDefine.PopHp(_attacker, _cTarget, _sTarget.AttackType, (int)_sTarget.HurtHP);
|
| | | }
|
| | |
| | | {
|
| | | // 是否飘字
|
| | | if (_sTarget.HurtHP != 0
|
| | | || _sTarget.AttackType == (byte)HurtAttackType.Miss)
|
| | | || _sTarget.AttackType == (byte)HurtAttackType.Miss
|
| | | || _sTarget.AttackType == (byte)HurtAttackType.Immune
|
| | | || _sTarget.AttackType == (byte)HurtAttackType.Suppress)
|
| | | {
|
| | | GAStaticDefine.PopHp(_attacker, _cTarget, _sTarget.AttackType, (int)_sTarget.HurtHP);
|
| | | }
|
| | |
| | | //{
|
| | |
|
| | | //}
|
| | |
|
| | | // ---- 判断是否显示
|
| | | if ((caster != null// 来源不能为空
|
| | | && (caster.ServerInstID == PlayerDatas.Instance.PlayerId // 自己攻击
|
| | |
| | | _targetRealm = 0;
|
| | | _pattern = (PopUpNum.Pattern)(((int)HurtAttackType.Normal - 1) * 3);
|
| | | }
|
| | | else if (attackType == (int)HurtAttackType.Immune)
|
| | | {
|
| | | _base = (int)PopUpNum.Pattern.PlayerAttack;
|
| | | }
|
| | |
|
| | | var popupInfo = new PopUpNum.PopupInfo()
|
| | | {
|
| | |
| | | var _cfg = Config.Instance.Get<HorseConfig>(_id);
|
| | | if (_cfg != null)
|
| | | {
|
| | | return _cfg.Name;
|
| | | return GetTextColorByItemColor(_cfg.Name, _cfg.Quality, _dict);
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | |
| | | public class ExceptionCatcher
|
| | | {
|
| | |
|
| | | public static void Init()
|
| | | {
|
| | | if (VersionConfig.Get().versionAuthority == VersionAuthority.Release)
|
| | | {
|
| | | #if UNITY_ANDROID
|
| | | #if !UNITY_EDITOR
|
| | | BuglyAgent.ConfigDebugMode(false);
|
| | | BuglyAgent.ConfigAutoReportLogLevel(VersionConfig.Get().versionAuthority == VersionAuthority.Release ? LogSeverity.LogException : LogSeverity.LogError);
|
| | | BuglyAgent.ConfigDefault(VersionConfig.Get().appId, VersionConfig.Get().version, SystemInfo.deviceName, 0);
|
| | | #if UNITY_ANDROID
|
| | | BuglyAgent.InitWithAppId("bff7374864");
|
| | | #elif UNITY_IPHONE || UNITY_IOS
|
| | | BuglyAgent.InitWithAppId("553c67c376");
|
| | | #endif
|
| | | #endif
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | if (VersionConfig.Get().versionAuthority == VersionAuthority.Release)
|
| | | {
|
| | | #if UNITY_ANDROID
|
| | | #if !UNITY_EDITOR
|
| | | BuglyAgent.EnableExceptionHandler();
|
| | | #endif
|
| | | }
|