Initial commit
This commit is contained in:
201
custom-configs/behavior.xml
Normal file
201
custom-configs/behavior.xml
Normal file
@@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2014-2021 Thetya Team
|
||||
~ Copyright (c) 2005-2011 Three Rings
|
||||
~
|
||||
~ https://github.com/Thetya
|
||||
-->
|
||||
|
||||
<java class="com.threerings.export.XMLImporter" version="1.0">
|
||||
<object class="[Lcom.threerings.tudey.config.BehaviorConfig;">
|
||||
<entry>
|
||||
<name>Dev Tests/Targeting Test (first)</name>
|
||||
<implementation class="com.threerings.projectx.dungeon.config.DungeonBehaviorConfig$Targeting">
|
||||
<routine>
|
||||
<name>Wander/Base</name>
|
||||
</routine>
|
||||
<acquire class="com.threerings.tudey.config.TargetConfig$Intersecting">
|
||||
<region class="com.threerings.tudey.config.RegionConfig$Default">
|
||||
<expansion>10.0</expansion>
|
||||
</region>
|
||||
</acquire>
|
||||
<targetAction class="com.threerings.projectx.dungeon.config.TargetActionConfig$PathAttack">
|
||||
<turnRate>0.08726646</turnRate>
|
||||
<turnSnap>0.08726646</turnSnap>
|
||||
</targetAction>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Dev Tests/Targeting Test 1</name>
|
||||
<implementation class="com.threerings.projectx.dungeon.config.DungeonBehaviorConfig$Targeting">
|
||||
<routine>
|
||||
<name>Wander/Base</name>
|
||||
</routine>
|
||||
<damageFlags>2</damageFlags>
|
||||
<targetAction class="com.threerings.projectx.dungeon.config.TargetActionConfig$PathAttack">
|
||||
<attacks>0, 1, 2, 3</attacks>
|
||||
<turnRate>0.17453292</turnRate>
|
||||
<turnSnap>0.17453292</turnSnap>
|
||||
</targetAction>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Monster/Beast/Chromalisk/Base</name>
|
||||
<implementation class="com.threerings.projectx.dungeon.config.DungeonBehaviorConfig$Cascading">
|
||||
<cascades>
|
||||
<entry>
|
||||
<condition class="com.threerings.projectx.dungeon.config.DungeonConditionConfig$Health">
|
||||
<below>false</below>
|
||||
<health>50.0</health>
|
||||
</condition>
|
||||
<behavior>
|
||||
<name>Monster/Beast/Chromalisk/Dodge</name>
|
||||
</behavior>
|
||||
</entry>
|
||||
<entry>
|
||||
<condition class="com.threerings.projectx.dungeon.config.DungeonConditionConfig$Health">
|
||||
<below>false</below>
|
||||
<health>100.0</health>
|
||||
</condition>
|
||||
<behavior>
|
||||
<name>Monster/Beast/Chromalisk/Targeted Attack</name>
|
||||
</behavior>
|
||||
</entry>
|
||||
</cascades>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Monster/Beast/Chromalisk/Basic Targeting</name>
|
||||
<implementation class="com.threerings.projectx.dungeon.config.DungeonBehaviorConfig$Targeting">
|
||||
<routine>
|
||||
<name>Wander/Base</name>
|
||||
</routine>
|
||||
<damageFlags>2</damageFlags>
|
||||
<targetAction class="com.threerings.projectx.dungeon.config.TargetActionConfig$PathAttack">
|
||||
<attacks>7, 0</attacks>
|
||||
<turnRate>0.17453292</turnRate>
|
||||
<turnSnap>0.17453292</turnSnap>
|
||||
</targetAction>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Monster/Beast/Chromalisk/Dodge</name>
|
||||
<implementation class="com.threerings.projectx.dungeon.config.DungeonBehaviorConfig$Dodging">
|
||||
<minDodgeInterval>2000</minDodgeInterval>
|
||||
<dodges>
|
||||
<entry>
|
||||
<attack>2</attack>
|
||||
</entry>
|
||||
<entry>
|
||||
<direction>0.7853982</direction>
|
||||
<attack>4</attack>
|
||||
</entry>
|
||||
<entry>
|
||||
<direction>2.3561945</direction>
|
||||
<attack>5</attack>
|
||||
</entry>
|
||||
</dodges>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Monster/Beast/Chromalisk/Targeted Attack</name>
|
||||
<implementation class="com.threerings.projectx.dungeon.config.DungeonBehaviorConfig$Targeting">
|
||||
<routine>
|
||||
<name>Wander/Base</name>
|
||||
</routine>
|
||||
<damageFlags>2</damageFlags>
|
||||
<targetAction class="com.threerings.projectx.dungeon.config.TargetActionConfig$PathAttack">
|
||||
<attacks>7, 0</attacks>
|
||||
<turnRate>0.17453292</turnRate>
|
||||
<turnSnap>0.17453292</turnSnap>
|
||||
</targetAction>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Monster/Beast/Vog Cub/Basic Targeting</name>
|
||||
<implementation class="com.threerings.projectx.dungeon.config.DungeonBehaviorConfig$Targeting">
|
||||
<routine>
|
||||
<name>Wander/Base</name>
|
||||
</routine>
|
||||
<damageFlags>2</damageFlags>
|
||||
<targetAction class="com.threerings.projectx.dungeon.config.TargetActionConfig$PathAttack">
|
||||
<attacks>0, 1, 2, 3, 4, 5, 6, 7</attacks>
|
||||
<minAttackInterval>2000</minAttackInterval>
|
||||
<turnRate>1.7453293</turnRate>
|
||||
<turnSnap>0.87266463</turnSnap>
|
||||
</targetAction>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Monster/Slime/Cube (Basic Targeting)</name>
|
||||
<implementation class="com.threerings.projectx.dungeon.config.DungeonBehaviorConfig$Targeting">
|
||||
<routine>
|
||||
<name>Wander/Base</name>
|
||||
</routine>
|
||||
<acquire class="com.threerings.tudey.config.TargetConfig$InstanceOf">
|
||||
</acquire>
|
||||
<damageFlags>2</damageFlags>
|
||||
<targetAction class="com.threerings.projectx.dungeon.config.TargetActionConfig$PathAttack">
|
||||
<turnRate>0.87266463</turnRate>
|
||||
<turnSnap>1.7453293</turnSnap>
|
||||
</targetAction>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Monster/Slime/Jelly Green Giant</name>
|
||||
<implementation class="com.threerings.projectx.dungeon.config.DungeonBehaviorConfig$Targeting">
|
||||
<routine>
|
||||
<name>Wander/Base</name>
|
||||
</routine>
|
||||
<acquire class="com.threerings.tudey.config.TargetConfig$Intersecting">
|
||||
<region class="com.threerings.tudey.config.RegionConfig$Default">
|
||||
<expansion>10.0</expansion>
|
||||
</region>
|
||||
</acquire>
|
||||
<damageFlags>2</damageFlags>
|
||||
<targetAction class="com.threerings.projectx.dungeon.config.TargetActionConfig$PathAttack">
|
||||
<attacks>0, 1</attacks>
|
||||
<minAttackInterval>1500</minAttackInterval>
|
||||
<maxAttackDistance>1.85</maxAttackDistance>
|
||||
<turnRate>1.7453293</turnRate>
|
||||
<turnSnap>1.7453293</turnSnap>
|
||||
</targetAction>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Traps and Hazards/Wheel Launcher</name>
|
||||
<implementation class="com.threerings.tudey.config.BehaviorConfig$Scripted">
|
||||
<steps>
|
||||
<entry class="com.threerings.projectx.dungeon.config.DungeonScriptConfig$Attack">
|
||||
</entry>
|
||||
<entry class="com.threerings.tudey.config.ScriptConfig$Wait">
|
||||
<wait>5000</wait>
|
||||
</entry>
|
||||
<entry class="com.threerings.tudey.config.ScriptConfig$Goto">
|
||||
</entry>
|
||||
</steps>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Wander/Base</name>
|
||||
<implementation class="com.threerings.tudey.config.BehaviorConfig$Wander">
|
||||
<radius>50.0</radius>
|
||||
</implementation>
|
||||
</entry>
|
||||
<entry>
|
||||
<name>Wander/Snipe</name>
|
||||
<implementation class="com.threerings.tudey.config.BehaviorConfig$Wander">
|
||||
<evaluationInterval class="com.threerings.probs.FloatVariable$Constant">
|
||||
<value>5.5</value>
|
||||
</evaluationInterval>
|
||||
<preRotationPause class="com.threerings.probs.FloatVariable$Uniform">
|
||||
<minimum>1.0</minimum>
|
||||
<maximum>4.0</maximum>
|
||||
</preRotationPause>
|
||||
<postRotationPause class="com.threerings.probs.FloatVariable$Constant">
|
||||
<value>2.0</value>
|
||||
</postRotationPause>
|
||||
</implementation>
|
||||
</entry>
|
||||
</object>
|
||||
</java>
|
||||
Reference in New Issue
Block a user