Advertisement
ossimc82

Untitled

Apr 28th, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 8.56 KB | None | 0 0
  1. #region
  2.  
  3. using System;
  4. using wServer.logic.attack;
  5. using wServer.logic.loot;
  6. using wServer.logic.movement;
  7. using wServer.logic.taunt;
  8.  
  9. #endregion
  10.  
  11. namespace wServer.logic
  12. {
  13.     partial class BehaviorDb
  14.     {
  15.         private static _ HolyKnightTwo = Behav()
  16.             .Init(0x5005, Behaves("The Holy Knight 2",
  17.                 new RunBehaviors(
  18.                     new QueuedBehavior(
  19.                         Once.Instance(new SimpleTaunt("Here I am! You will die!!")),
  20.                         Flashing.Instance(1000, 0xffffffff),
  21.                         Cooldown.Instance(4000, HpLesser.Instance(100000, new SetKey(-1, 2))),
  22.                         MultiAttack.Instance(10, 20 * (float)Math.PI / 180, 8, 0, projectileIndex: 3)
  23.                     ),
  24.                     new RunBehaviors(
  25.                         IfEqual.Instance(-1, 2, new QueuedBehavior(
  26.                             Once.Instance(new SimpleTaunt("Go away! You all are to weak!")),
  27.                             Cooldown.Instance(1000, RingAttack.Instance(16, 22, 16, projectileIndex: 2)),
  28.                             Cooldown.Instance(1000, MultiAttack.Instance(10, 20 * (float)Math.PI / 180, 8, 0, projectileIndex: 3)),
  29.                             Cooldown.Instance(4000, HpLesser.Instance(70000, new SetKey(-1, 3)))
  30.                         )),
  31.                         IfEqual.Instance(-1, 3, new QueuedBehavior(
  32.                             new RunBehaviors(
  33.                                 RingAttack.Instance(4, offset: 0 * (float)Math.PI / 180)
  34.                             ),
  35.                             Cooldown.Instance(200),
  36.                             new RunBehaviors(
  37.                                 RingAttack.Instance(4, offset: 18 * (float)Math.PI / 180)
  38.                             ),
  39.                             Cooldown.Instance(200),
  40.                             new RunBehaviors(
  41.                                 RingAttack.Instance(4, offset: 36 * (float)Math.PI / 180)
  42.                             ),
  43.                             Cooldown.Instance(200),
  44.                             new RunBehaviors(
  45.                                 SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable),
  46.                                 RingAttack.Instance(4, offset: 54 * (float)Math.PI / 180)
  47.                             ),
  48.                             Cooldown.Instance(200),
  49.                             new RunBehaviors(
  50.                                 RingAttack.Instance(4, offset: 72 * (float)Math.PI / 180)
  51.                             ),
  52.                             Cooldown.Instance(200),
  53.                             new RunBehaviors(
  54.                                 SimpleAttack.Instance(5, 3),
  55.                                 RingAttack.Instance(4, offset: 90 * (float)Math.PI / 180)
  56.                             ),
  57.                             Cooldown.Instance(200),
  58.                             new RunBehaviors(
  59.                                 UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable),
  60.                                 RingAttack.Instance(4, offset: 108 * (float)Math.PI / 180)
  61.                             ),
  62.                             Cooldown.Instance(200),
  63.                             new RunBehaviors(
  64.                                 RingAttack.Instance(4, offset: 126 * (float)Math.PI / 180)
  65.                             ),
  66.                             Cooldown.Instance(200),
  67.                             new RunBehaviors(
  68.                                 RingAttack.Instance(4, offset: 144 * (float)Math.PI / 180)
  69.                             ),
  70.                             Cooldown.Instance(200),
  71.                             new RunBehaviors(
  72.                                 RingAttack.Instance(4, offset: 162 * (float)Math.PI / 180)
  73.                             ),
  74.                             Cooldown.Instance(200),
  75.                             new RunBehaviors(
  76.                                 SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable),
  77.                                 SimpleAttack.Instance(5, 3),
  78.                                 RingAttack.Instance(4, offset: 180 * (float)Math.PI / 180)
  79.                             ),
  80.                             Cooldown.Instance(200),
  81.                             new RunBehaviors(
  82.                                 RingAttack.Instance(4, offset: 198 * (float)Math.PI / 180)
  83.                             ),
  84.                             Cooldown.Instance(200),
  85.                             new RunBehaviors(
  86.                                 RingAttack.Instance(4, offset: 216 * (float)Math.PI / 180)
  87.                             ),
  88.                             Cooldown.Instance(200),
  89.                             new RunBehaviors(
  90.                                 RingAttack.Instance(4, offset: 234 * (float)Math.PI / 180)
  91.                             ),
  92.                             Cooldown.Instance(200),
  93.                             new RunBehaviors(
  94.                                 UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable),
  95.                                 RingAttack.Instance(4, offset: 252 * (float)Math.PI / 180)
  96.                             ),
  97.                             Cooldown.Instance(200),
  98.                             new RunBehaviors(
  99.                                 SimpleAttack.Instance(5, 3),
  100.                                 RingAttack.Instance(4, offset: 270 * (float)Math.PI / 180)
  101.                             ),
  102.                             Cooldown.Instance(200),
  103.                             new RunBehaviors(
  104.                                 RingAttack.Instance(4, offset: 288 * (float)Math.PI / 180)
  105.                             ),
  106.                             Cooldown.Instance(200),
  107.                             new RunBehaviors(
  108.                                 SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable),
  109.                                 RingAttack.Instance(4, offset: 306 * (float)Math.PI / 180)
  110.                             ),
  111.                             Cooldown.Instance(200),
  112.                             new RunBehaviors(
  113.                                 RingAttack.Instance(4, offset: 324 * (float)Math.PI / 180)
  114.                             ),
  115.                             Cooldown.Instance(200),
  116.                             new RunBehaviors(
  117.                                 RingAttack.Instance(4, offset: 342 * (float)Math.PI / 180)
  118.                             ),
  119.                             Cooldown.Instance(250),
  120.                             new RunBehaviors(
  121.                                 UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable),
  122.                                 RingAttack.Instance(4, offset: 360 * (float)Math.PI / 180)),
  123.                                 new RunBehaviors(
  124.                                     SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable),
  125.                                     Flashing.Instance(150, 0x0000FF0C),
  126.                                     Flashing.Instance(150, 0x0000FF0C),
  127.                                     Flashing.Instance(150, 0x0000FF0C),
  128.                                     Flashing.Instance(150, 0x0000FF0C),
  129.                                     Flashing.Instance(150, 0x0000FF0C),
  130.  
  131.                                     Cooldown.Instance(800),
  132.                                     Once.Instance(new SimpleTaunt("You are still not death?")),
  133.                                     Chasing.Instance(1, 10, 5, null),
  134.                                     Cooldown.Instance(1500, PredictiveMultiAttack.Instance(25, 10 * (float)Math.PI / 180, 3, 1, 1)),
  135.                                     Cooldown.Instance(3500, PredictiveMultiAttack.Instance(25, 10 * (float)Math.PI / 180, 3, 1, 1)),
  136.                                     Cooldown.Instance(5500, PredictiveMultiAttack.Instance(25, 10 * (float)Math.PI / 180, 3, 1, 1)),
  137.                                     Cooldown.Instance(8000, PredictiveMultiAttack.Instance(25, 10 * (float)Math.PI / 180, 3, 1, 1)),
  138.                                     new SetKey(-1, 2)
  139.                                 )
  140.                             ))
  141.                         )
  142.                     ),
  143.                     loot: new LootBehavior(LootDef.Empty,
  144.                         Tuple.Create(100, new LootDef(0, 3, 0, 8,
  145.                         Tuple.Create(0.1, (ILoot)new ItemLoot("Blue Paradise")),
  146.                         Tuple.Create(0.1, (ILoot)new ItemLoot("Pink Passion Breeze")),
  147.                         Tuple.Create(0.1, (ILoot)new ItemLoot("Bahama Sunrise")),
  148.                         Tuple.Create(0.1, (ILoot)new ItemLoot("Lime Jungle Bay"))
  149.                     )))
  150.             ));
  151.     }
  152. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement