Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.22 KB | None | 0 0
  1. <State id="Phase1">
  2.             <State id="Fleeing">
  3.                 <Behavior speed="0.6">KeepDistance</Behavior>
  4.                 <Behavior>Wander</Behavior>
  5.                 <Behavior type="targeted" range="12" numShots="4" projectileId="1">Shoot</Behavior>
  6.                 <Transition noPlayerWithin="8">Charging</Transition>
  7.                 <Transition afterTime="3">Attacking</Transition>
  8.             </State>
  9.             <State id="Attacking">
  10.                 <Behavior type="targeted" range="12" numShots="8" cooldown="0.6">Shoot</Behavior>
  11.                 <Transition noPlayerWithin="8">Charging</Transition>
  12.                 <Transition afterTime="3">Fleeing</Transition>
  13.             </State>
  14.             <State id="Charging">
  15.                 <Behavior cooldown="0" speed="1.5">Charge</Behavior>
  16.                 <Transition playerWithin="3|1">Fleeing</Transition>
  17.             </State>
  18.             <Transition hitpointsLessThan="0.3">Phase2</Transition>
  19.         </State>
  20.         <State id="Phase2">
  21.             <State id="Pause">
  22.                 <Behavior effect="Invulnerable">ConditionEffect</Behavior>
  23.                 <Behavior flashPeriod="0.5" flashRepeats="4">ShowEffect</Behavior>
  24.                 <Transition afterTime="2">Attacking</Transition>
  25.             </State>
  26.             <State id="Attacking">
  27.                 <Behavior type="targeted" range="12" numShots="7" cooldown="0.8" angle="30">Shoot</Behavior>
  28.                 <Behavior cooldown="0">Follow</Behavior>
  29.             </State>
  30.         </State>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement