浏览代码

修改bug

lzx 1 周之前
父节点
当前提交
d4e8fdf94c

+ 1 - 1
Assets/Resources/Shader/Shader Graphs_ShengShiShader.mat

@@ -66,5 +66,5 @@ Material:
     m_Colors:
     - _mainColor: {r: 0.21314356, g: 1.4060051, b: 2.1517377, a: 0}
     - _off: {r: 0.01, g: 0.01, b: 0, a: 0}
-    - _pos: {r: -10.839999, g: -5.3999996, b: -30, a: 0}
+    - _pos: {r: -1.8000001, g: -5.3999996, b: -30, a: 0}
   m_BuildTextureStacks: []

+ 1 - 1
Assets/Scripts/GameUI/EventManager/EventSystemManager.cs

@@ -483,7 +483,7 @@ public class EventSystemManager : Singleton<EventSystemManager>
             int randomValue1 = Random.Range(0, 101);
             // 达到怪率刷新场景特定事件
             //不然刷新通用事件(每个地图都可以刷的)
-            if (randomValue1 >= bigMap.DivineSenseGeneralProbability && candidateEvents.Count > 0)
+            if (randomValue1 < bigMap.DivineSenseGeneralProbability && candidateEvents.Count > 0)
             {
                 int randomValue2 = Random.Range(0, candidateEvents.Count);