Преглед на файлове

【增加】场景增加事件,当某个单位受到伤害时发送战报,用于贡献榜

johnclot69 преди 1 година
родител
ревизия
b3bef3e7ce

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

@@ -16,5 +16,6 @@
     <node Name="游戏失败" IsExpanded="False" />
     <node Name="第三波BOSS" IsExpanded="False" />
     <node Name="第四波BOSS" IsExpanded="False" />
+    <node Name="单位受到伤害,发送战报" IsExpanded="False" />
   </events>
 </root>

+ 0 - 1
GameEditor/.setting/skills/.tree

@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="utf-16"?>
 <node Name="技能" IsExpanded="True">
-  <node Name="1001" IsExpanded="False" />
   <node Name="斩妖修仙传技能" IsExpanded="True">
     <node Name="boss技能" IsExpanded="True">
       <node Name="副本-910XX" IsExpanded="True">

+ 0 - 1
GameEditor/.setting/spells/.tree

@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="utf-16"?>
 <node Name="法术" IsExpanded="True">
-  <node Name="1001" IsExpanded="False" />
   <node Name="斩妖修仙传" IsExpanded="True">
     <node Name="BOSS法术" IsExpanded="True">
       <node Name="副本" IsExpanded="True">

+ 1 - 1
GameEditor/.setting/unit_events/.tree

@@ -1,2 +1,2 @@
 <?xml version="1.0" encoding="utf-16"?>
-<node Name="单位事件" IsExpanded="True" />
+<node Name="单位事件" IsExpanded="False" />

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

@@ -1 +1 @@
-3e2e6c2a5bd4bba798ba85c74b39608f :        33298 : 10098.xml
+43124fc4794706ea84cb1271291009bb :        34488 : 10098.xml

+ 25 - 0
GameEditor/data/scenes/10098.xml

@@ -366,6 +366,31 @@
         </Datas>
       </Triggers>
     </element>
+    <element type="CommonAI.Zone.ZoneEditor.ZoneEvent">
+      <Actions type="CommonAI.Zone.ZoneEditor.EventActions">
+        <Datas element_type="CommonAI.Zone.EventTrigger.AbstractAction">
+          <element type="XmdsCommonServer.Plugin.Editor.SendXmdsBattleReportAction" />
+        </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.AlwaysTrue" />
+        </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.GenericUnitDamaged" />
+        </Datas>
+      </Triggers>
+    </element>
   </Events>
   <FileName>/res/scene/sc_openmap_03.assetbundles</FileName>
   <ID>10098</ID>

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


+ 0 - 1
GameEditor/data/skills/.list

@@ -1,4 +1,3 @@
-;1001
 斩妖修仙传技能/boss技能/副本-910XX/蕈境;912906
 斩妖修仙传技能/boss技能/普攻-902XX;90200
 斩妖修仙传技能/boss技能/普攻-902XX;90203

+ 0 - 1
GameEditor/data/skills/.md5

@@ -1,4 +1,3 @@
-2621356da12915d312118188d470c658 :         4821 : 1001.xml
 3800a2cf5f2588ca6dbe74438881ac4d :         4999 : 912906.xml
 9d5f3bcbe86fb6591a9f923e52895358 :         4890 : 90200.xml
 adc1942cef08c1dd1d31143da39be8d7 :         4866 : 90203.xml

+ 0 - 1
GameEditor/data/spells/.list

@@ -1,4 +1,3 @@
-;1001
 斩妖修仙传/BOSS法术/副本/蕈境;91290501
 斩妖修仙传/BOSS法术/远程普攻;90203
 斩妖修仙传/BOSS法术/远程普攻;90204

+ 1 - 2
GameEditor/data/spells/.md5

@@ -1,4 +1,3 @@
-8e9d5ae8b09e75a14bace36093baf5a0 :         3563 : 1001.xml
 93403920c2976ab6341f3ada5ebda64b :         2683 : 91290501.xml
 959cc86cbce96d3efadb9cc11c7b503a :         4885 : 90203.xml
 0e6024de24fdefbf2f29b78951558cef :         4888 : 90204.xml
@@ -9,5 +8,5 @@ fe62873d3b031e6a9a072d9589b5114d :         4884 : 90208.xml
 335b1c21625de847c6fe89b020a35d11 :         4884 : 90209.xml
 c368aa61595b034cbe43add34d8bd611 :         4799 : 90210.xml
 64a95bb8a8429962373549a56db55211 :         6345 : 90003.xml
-929a345eff7fd17c5a0f2d23890473a1 :         4059 : 91001.xml
+4c08d0a4a52b28d00949357607a6dd14 :         4060 : 91001.xml
 be591c4ba17c952522a9beb2c78fa75d :         3346 : 910010.xml

BIN
GameEditor/data/spells/91001.xml.bin


+ 4 - 4
GameEditor/data/ver.md5

@@ -1,12 +1,12 @@
-43838087551846978818fc8cd5b773cd
+995afb6ba3935494562c9bf9803c0965
 df42af314a1e0b2fdc2fef25681cdbcf :         2032 : \config.xml
 7cbbd479512dfc10a006df1cea79c89b :         2415 : \config_ext.xml
 0581a6b6b04394a594541167bc7fdeef :         1486 : \terrain_definition.xml
 f8ee232d5573a703a4a735175cb28bab :         1712 : \units\.md5
-6d2eaa55240e481daa0ba3e64e7c6027 :          732 : \skills\.md5
-c86448e9dc47400efa1de7ec6854b7aa :          796 : \spells\.md5
+8243fa0854fdb5ae636694cc5006b04e :          672 : \skills\.md5
+fb0ab6133b669cd234644b86efb19561 :          736 : \spells\.md5
 afa712cbadc796b456dd75ddd8c64edb :        29973 : \buffs\.md5
 d41d8cd98f00b204e9800998ecf8427e :            0 : \items\.md5
 d41d8cd98f00b204e9800998ecf8427e :            0 : \unit_triggers\.md5
 d41d8cd98f00b204e9800998ecf8427e :            0 : \unit_events\.md5
-453d4b7625e6b7413fc5e307400bf672 :           61 : \scenes\.md5
+f2a0463759e31477a8bab65cfbec5efb :           61 : \scenes\.md5