diff --git a/Assets/PerfectWorld/Scripts/Managers/CECAttacksMan.cs b/Assets/PerfectWorld/Scripts/Managers/CECAttacksMan.cs index 4a00ded268..9281a69bb3 100644 --- a/Assets/PerfectWorld/Scripts/Managers/CECAttacksMan.cs +++ b/Assets/PerfectWorld/Scripts/Managers/CECAttacksMan.cs @@ -873,7 +873,9 @@ public class CECAttackEvent m_timeToBeFired = (uint)nTimeToBeFired; m_timeToDoDamage = (uint)nTimeToDoDamage; m_bFinished = false; +#if UNITY_EDITOR debugCounter = UnityEngine.Random.Range(0, 1000); +#endif AddTarget(idTarget, dwModifier, nDamage); } diff --git a/Assets/PerfectWorld/Scripts/Network/CSNetwork/CSNetwork.csproj.meta b/Assets/PerfectWorld/Scripts/Network/CSNetwork/CSNetwork.csproj.meta new file mode 100644 index 0000000000..333a9b1482 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Network/CSNetwork/CSNetwork.csproj.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d0c06c588e2a6442488a3542551fb243 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/CECHostPlayer.Skill.cs b/Assets/Scripts/CECHostPlayer.Skill.cs index d5911ab23a..543c087e6a 100644 --- a/Assets/Scripts/CECHostPlayer.Skill.cs +++ b/Assets/Scripts/CECHostPlayer.Skill.cs @@ -1821,6 +1821,7 @@ namespace BrewMonster /// If m_startingSkillID is set (>0), uses that specific skill ID and the next 7 (ID+1 to ID+7). /// Otherwise, cycles through all learned skills in groups of 8. /// + #if UNITY_EDITOR public void CycleSkillShortcuts() { // Get shortcut set 1 @@ -1936,5 +1937,7 @@ namespace BrewMonster CDlgQuickBar cDlgQuickBar = CECUIManager.Instance?.GetCDlgQuickBar(); cDlgQuickBar?.UpdateShortcuts(); } + #endif } + } \ No newline at end of file diff --git a/Assets/Scripts/CECUIManager.cs b/Assets/Scripts/CECUIManager.cs index 4b2cb79795..17c9527bae 100644 --- a/Assets/Scripts/CECUIManager.cs +++ b/Assets/Scripts/CECUIManager.cs @@ -675,11 +675,13 @@ public class CECUIManager : MonoSingleton public void OnChangeSkillShortcut() { + #if UNITY_EDITOR CECHostPlayer hostPlayer = EC_Game.GetGameRun()?.GetHostPlayer(); if (hostPlayer != null) { hostPlayer.CycleSkillShortcuts(); } + #endif } ///