Просмотр исходного кода

【GameEditor】增加场景事件:塔血量超低时触发穿云箭事件;场景初始化时重置主播角色位置

大爷 1 год назад
Родитель
Сommit
d8dea07000

+ 2 - 2
GameEditor/.setting/buffs/.tree

@@ -318,7 +318,7 @@
   <node Name="跨服" IsExpanded="False">
     <node Name="1038" IsExpanded="False" />
   </node>
-  <node Name="事件Buff" IsExpanded="True">
+  <node Name="事件Buff" IsExpanded="False">
     <node Name="10010" IsExpanded="False" />
     <node Name="10011" IsExpanded="False" />
     <node Name="10012" IsExpanded="False" />
@@ -389,7 +389,7 @@
       <node Name="12026" IsExpanded="False" />
     </node>
   </node>
-  <node Name="通用buff" IsExpanded="False">
+  <node Name="通用buff" IsExpanded="True">
     <node Name="1040" IsExpanded="False" />
     <node Name="1050" IsExpanded="False" />
     <node Name="1060" IsExpanded="False" />

+ 3 - 0
GameEditor/.setting/scenes/10098.tree

@@ -17,5 +17,8 @@
     <node Name="第三波BOSS" IsExpanded="False" />
     <node Name="第四波BOSS" IsExpanded="False" />
     <node Name="单位受到伤害,发送战报" IsExpanded="False" />
+    <node Name="塔一求救" IsExpanded="False" />
+    <node Name="塔二求救" IsExpanded="False" />
+    <node Name="塔三求救" IsExpanded="False" />
   </events>
 </root>

+ 4 - 8
GameEditor/.setting/skills/.tree

@@ -6,6 +6,9 @@
   </node>
   <node Name="BOSS AOE伤害" IsExpanded="True">
     <node Name="90003" IsExpanded="False" />
+    <node Name="90011" IsExpanded="False" />
+    <node Name="900111" IsExpanded="False" />
+    <node Name="900112" IsExpanded="False" />
   </node>
   <node Name="BOSS召唤" IsExpanded="True">
     <node Name="912906" IsExpanded="False" />
@@ -20,7 +23,7 @@
     <node Name="90209" IsExpanded="False" />
     <node Name="90210" IsExpanded="False" />
   </node>
-  <node Name="普攻" IsExpanded="False">
+  <node Name="普攻" IsExpanded="True">
     <node Name="101" IsExpanded="False" />
     <node Name="102" IsExpanded="False" />
     <node Name="103" IsExpanded="False" />
@@ -42,11 +45,4 @@
     <node Name="90205" IsExpanded="False" />
     <node Name="90206" IsExpanded="False" />
   </node>
-  <node Name="斩妖修仙传技能" IsExpanded="True">
-    <node Name="boss技能" IsExpanded="True">
-      <node Name="主动-900XX" IsExpanded="True">
-        <node Name="900111" IsExpanded="False" />
-      </node>
-    </node>
-  </node>
 </node>

+ 14 - 17
GameEditor/.setting/spells/.tree

@@ -1,11 +1,19 @@
 <?xml version="1.0" encoding="utf-16"?>
 <node Name="法术" IsExpanded="True">
-  <node Name="BOSS AOE伤害" IsExpanded="False">
+  <node Name="BOSS AOE伤害" IsExpanded="True">
     <node Name="毒圈" IsExpanded="True">
       <node Name="90003" IsExpanded="False" />
       <node Name="91001" IsExpanded="False" />
       <node Name="910010" IsExpanded="False" />
     </node>
+    <node Name="寒霜" IsExpanded="True">
+      <node Name="90011" IsExpanded="False" />
+      <node Name="900111" IsExpanded="False" />
+      <node Name="900112" IsExpanded="False" />
+      <node Name="900113" IsExpanded="False" />
+      <node Name="900114" IsExpanded="False" />
+      <node Name="900115" IsExpanded="False" />
+    </node>
   </node>
   <node Name="BOSS召唤" IsExpanded="True">
     <node Name="91290501" IsExpanded="False" />
@@ -19,12 +27,6 @@
     <node Name="90209" IsExpanded="False" />
     <node Name="90210" IsExpanded="False" />
   </node>
-  <node Name="抛物线炸弹" IsExpanded="True">
-    <node Name="90203" IsExpanded="False" />
-    <node Name="90204" IsExpanded="False" />
-    <node Name="90205" IsExpanded="False" />
-    <node Name="90206" IsExpanded="False" />
-  </node>
   <node Name="普通玩家普攻法术" IsExpanded="True">
     <node Name="101" IsExpanded="False" />
     <node Name="102" IsExpanded="False" />
@@ -41,15 +43,10 @@
     <node Name="113" IsExpanded="False" />
     <node Name="114" IsExpanded="False" />
   </node>
-  <node Name="斩妖修仙传" IsExpanded="True">
-    <node Name="BOSS法术" IsExpanded="True">
-      <node Name="远程普攻" IsExpanded="True" />
-      <node Name="主动" IsExpanded="True">
-        <node Name="寒霜" IsExpanded="True">
-          <node Name="900111" IsExpanded="False" />
-          <node Name="900114" IsExpanded="False" />
-        </node>
-      </node>
-    </node>
+  <node Name="玩家抛物线导弹" IsExpanded="False">
+    <node Name="90203" IsExpanded="False" />
+    <node Name="90204" IsExpanded="False" />
+    <node Name="90205" IsExpanded="False" />
+    <node Name="90206" IsExpanded="False" />
   </node>
 </node>

+ 1 - 1
GameEditor/data/scenes/.md5

@@ -1 +1 @@
-7dded93ebd16680c9c0aa556df1ebf08 :        35874 : 10098.xml
+58813ae38f5eb4006cb1f61de61474c4 :        47413 : 10098.xml

+ 233 - 1
GameEditor/data/scenes/10098.xml

@@ -26,6 +26,13 @@
               <Value>8000</Value>
             </TotalTimeMS>
           </element>
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitTransportAction">
+            <Pos type="CommonAI.Zone.ZoneEditor.EventTrigger.PositionValue+VALUE">
+              <X>214.00</X>
+              <Y>80.00</Y>
+            </Pos>
+            <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+          </element>
         </Datas>
       </Actions>
       <Active>True</Active>
@@ -77,7 +84,7 @@
               </TotalTimeMS>
             </DelayAction>
             <DelayTimeMS type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+VALUE">
-              <Value>4000</Value>
+              <Value>5000</Value>
             </DelayTimeMS>
           </element>
           <element type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitTransportAction">
@@ -419,6 +426,231 @@
         </Datas>
       </Triggers>
     </element>
+    <element type="CommonAI.Zone.ZoneEditor.ZoneEvent">
+      <Actions type="CommonAI.Zone.ZoneEditor.EventActions">
+        <Datas element_type="CommonAI.Zone.EventTrigger.AbstractAction">
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.AddUnitEffect">
+            <Effect type="CommonAI.Zone.LaunchEffect">
+              <BindBody>False</BindBody>
+              <EarthQuakeMS>800</EarthQuakeMS>
+              <EarthQuakeXYZ>1.00</EarthQuakeXYZ>
+              <EffectAddSpeed>1.00</EffectAddSpeed>
+              <EffectHight>0.00</EffectHight>
+              <EffectOffsetX>0.00</EffectOffsetX>
+              <EffectOffsetY>0.00</EffectOffsetY>
+              <EffectTimeMS>5000</EffectTimeMS>
+              <IsLoop>False</IsLoop>
+              <IsSyncSenderRotation>False</IsSyncSenderRotation>
+              <Name>chuanyunjian01</Name>
+              <RType>None</RType>
+              <ScaleToBodySize>0.00</ScaleToBodySize>
+              <property.SerialNumber>30676699</property.SerialNumber>
+            </Effect>
+            <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+          </element>
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.SetUnitBool">
+            <Key>HasCallHelp</Key>
+            <SyncToClient>True</SyncToClient>
+            <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+            <Value type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+VALUE">
+              <Value>True</Value>
+            </Value>
+          </element>
+        </Datas>
+      </Actions>
+      <Active>True</Active>
+      <Comment></Comment>
+      <Conditions type="CommonAI.Zone.ZoneEditor.EventConditions">
+        <Datas element_type="CommonAI.Zone.EventTrigger.AbstractCondition">
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanCondition">
+            <Value type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+IntegerComparison">
+              <Op>LESS_THAN</Op>
+              <Value1 type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+UnitHP">
+                <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+              </Value1>
+              <Value2 type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+VALUE">
+                <Value>1000</Value>
+              </Value2>
+            </Value>
+          </element>
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanCondition">
+            <Value type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+BooleanComparison">
+              <Condition1 type="CommonAI.Zone.ZoneEditor.EventTrigger.GetUnitAsBoolean">
+                <Key>HasCallHelp</Key>
+                <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+              </Condition1>
+              <Condition2 type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+VALUE">
+                <Value>True</Value>
+              </Condition2>
+              <Op>NOT_EQUAL</Op>
+            </Value>
+          </element>
+        </Datas>
+      </Conditions>
+      <DelayTimeMS>0</DelayTimeMS>
+      <LocalVars type="CommonAI.Zone.ZoneEditor.EventLocalVars">
+        <Datas element_type="CommonAI.Zone.EventTrigger.LocalVar" />
+      </LocalVars>
+      <Name>塔一求救</Name>
+      <SavePath></SavePath>
+      <Triggers type="CommonAI.Zone.ZoneEditor.EventTriggers">
+        <Datas element_type="CommonAI.Zone.EventTrigger.AbstractTrigger">
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.SpecifyUnitDamaged">
+            <UnitTemplateID>1001</UnitTemplateID>
+          </element>
+        </Datas>
+      </Triggers>
+    </element>
+    <element type="CommonAI.Zone.ZoneEditor.ZoneEvent">
+      <Actions type="CommonAI.Zone.ZoneEditor.EventActions">
+        <Datas element_type="CommonAI.Zone.EventTrigger.AbstractAction">
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.AddUnitEffect">
+            <Effect type="CommonAI.Zone.LaunchEffect">
+              <BindBody>False</BindBody>
+              <EarthQuakeMS>800</EarthQuakeMS>
+              <EarthQuakeXYZ>1.00</EarthQuakeXYZ>
+              <EffectAddSpeed>1.00</EffectAddSpeed>
+              <EffectHight>0.00</EffectHight>
+              <EffectOffsetX>0.00</EffectOffsetX>
+              <EffectOffsetY>0.00</EffectOffsetY>
+              <EffectTimeMS>5000</EffectTimeMS>
+              <IsLoop>False</IsLoop>
+              <IsSyncSenderRotation>False</IsSyncSenderRotation>
+              <Name>chuanyunjian01</Name>
+              <RType>None</RType>
+              <ScaleToBodySize>0.00</ScaleToBodySize>
+              <property.SerialNumber>30678674</property.SerialNumber>
+            </Effect>
+            <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+          </element>
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.SetUnitBool">
+            <Key>HasCallHelp</Key>
+            <SyncToClient>True</SyncToClient>
+            <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+            <Value type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+VALUE">
+              <Value>True</Value>
+            </Value>
+          </element>
+        </Datas>
+      </Actions>
+      <Active>True</Active>
+      <Comment></Comment>
+      <Conditions type="CommonAI.Zone.ZoneEditor.EventConditions">
+        <Datas element_type="CommonAI.Zone.EventTrigger.AbstractCondition">
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanCondition">
+            <Value type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+IntegerComparison">
+              <Op>LESS_THAN</Op>
+              <Value1 type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+UnitHP">
+                <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+              </Value1>
+              <Value2 type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+VALUE">
+                <Value>1000</Value>
+              </Value2>
+            </Value>
+          </element>
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanCondition">
+            <Value type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+BooleanComparison">
+              <Condition1 type="CommonAI.Zone.ZoneEditor.EventTrigger.GetUnitAsBoolean">
+                <Key>HasCallHelp</Key>
+                <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+              </Condition1>
+              <Condition2 type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+VALUE">
+                <Value>True</Value>
+              </Condition2>
+              <Op>NOT_EQUAL</Op>
+            </Value>
+          </element>
+        </Datas>
+      </Conditions>
+      <DelayTimeMS>0</DelayTimeMS>
+      <LocalVars type="CommonAI.Zone.ZoneEditor.EventLocalVars">
+        <Datas element_type="CommonAI.Zone.EventTrigger.LocalVar" />
+      </LocalVars>
+      <Name>塔二求救</Name>
+      <SavePath></SavePath>
+      <Triggers type="CommonAI.Zone.ZoneEditor.EventTriggers">
+        <Datas element_type="CommonAI.Zone.EventTrigger.AbstractTrigger">
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.SpecifyUnitDamaged">
+            <UnitTemplateID>1002</UnitTemplateID>
+          </element>
+        </Datas>
+      </Triggers>
+    </element>
+    <element type="CommonAI.Zone.ZoneEditor.ZoneEvent">
+      <Actions type="CommonAI.Zone.ZoneEditor.EventActions">
+        <Datas element_type="CommonAI.Zone.EventTrigger.AbstractAction">
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.AddUnitEffect">
+            <Effect type="CommonAI.Zone.LaunchEffect">
+              <BindBody>False</BindBody>
+              <EarthQuakeMS>800</EarthQuakeMS>
+              <EarthQuakeXYZ>1.00</EarthQuakeXYZ>
+              <EffectAddSpeed>1.00</EffectAddSpeed>
+              <EffectHight>0.00</EffectHight>
+              <EffectOffsetX>0.00</EffectOffsetX>
+              <EffectOffsetY>0.00</EffectOffsetY>
+              <EffectTimeMS>5000</EffectTimeMS>
+              <IsLoop>False</IsLoop>
+              <IsSyncSenderRotation>False</IsSyncSenderRotation>
+              <Name>chuanyunjian01</Name>
+              <RType>None</RType>
+              <ScaleToBodySize>0.00</ScaleToBodySize>
+              <property.SerialNumber>30678676</property.SerialNumber>
+            </Effect>
+            <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+          </element>
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.SetUnitBool">
+            <Key>HasCallHelp</Key>
+            <SyncToClient>True</SyncToClient>
+            <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+            <Value type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+VALUE">
+              <Value>True</Value>
+            </Value>
+          </element>
+        </Datas>
+      </Actions>
+      <Active>True</Active>
+      <Comment></Comment>
+      <Conditions type="CommonAI.Zone.ZoneEditor.EventConditions">
+        <Datas element_type="CommonAI.Zone.EventTrigger.AbstractCondition">
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanCondition">
+            <Value type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+IntegerComparison">
+              <Op>LESS_THAN</Op>
+              <Value1 type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+UnitHP">
+                <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+              </Value1>
+              <Value2 type="CommonAI.Zone.ZoneEditor.EventTrigger.IntegerValue+VALUE">
+                <Value>1000</Value>
+              </Value2>
+            </Value>
+          </element>
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanCondition">
+            <Value type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+BooleanComparison">
+              <Condition1 type="CommonAI.Zone.ZoneEditor.EventTrigger.GetUnitAsBoolean">
+                <Key>HasCallHelp</Key>
+                <Unit type="CommonAI.Zone.ZoneEditor.EventTrigger.UnitValue+Trigging" />
+              </Condition1>
+              <Condition2 type="CommonAI.Zone.ZoneEditor.EventTrigger.BooleanValue+VALUE">
+                <Value>True</Value>
+              </Condition2>
+              <Op>NOT_EQUAL</Op>
+            </Value>
+          </element>
+        </Datas>
+      </Conditions>
+      <DelayTimeMS>0</DelayTimeMS>
+      <LocalVars type="CommonAI.Zone.ZoneEditor.EventLocalVars">
+        <Datas element_type="CommonAI.Zone.EventTrigger.LocalVar" />
+      </LocalVars>
+      <Name>塔三求救</Name>
+      <SavePath></SavePath>
+      <Triggers type="CommonAI.Zone.ZoneEditor.EventTriggers">
+        <Datas element_type="CommonAI.Zone.EventTrigger.AbstractTrigger">
+          <element type="CommonAI.Zone.ZoneEditor.EventTrigger.SpecifyUnitDamaged">
+            <UnitTemplateID>1003</UnitTemplateID>
+          </element>
+        </Datas>
+      </Triggers>
+    </element>
   </Events>
   <FileName>/res/scene/sc_openmap_03.assetbundles</FileName>
   <ID>10098</ID>

BIN
GameEditor/data/scenes/10098.xml.bin


+ 2 - 2
GameEditor/data/skills/912906.xml

@@ -80,7 +80,7 @@
   <IsManuallyCancelable>False</IsManuallyCancelable>
   <IsSelectRange>False</IsSelectRange>
   <IsSingleAction>False</IsSingleAction>
-  <Name>蜘蛛3级</Name>
+  <Name>蜘蛛3级召唤</Name>
   <Properties type="XmdsCommon.Plugin.XmdsSkillProperties">
     <AddUseTimesIntervalMS>3000</AddUseTimesIntervalMS>
     <IsRandomNormalAttack>False</IsRandomNormalAttack>
@@ -107,5 +107,5 @@
   <SelectRangeSize>0.00</SelectRangeSize>
   <SelectRangeType>NA</SelectRangeType>
   <SingleActionCoolDownMS>500</SingleActionCoolDownMS>
-  <property.EditorPath>技能/BOSS召唤/蜘蛛3级(912906)</property.EditorPath>
+  <property.EditorPath>技能/BOSS召唤/蜘蛛3级召唤(912906)</property.EditorPath>
 </SkillTemplate>

BIN
GameEditor/data/skills/912906.xml.bin