[FSOD] Ir'Kazuhl Behavior
This Is The Behavior For Ir'Kazuhl Requested By Kenny
{He Had The Idea And Told Me What To Make It And I Tried My Best}
soz forgot about xml
{He Had The Idea And Told Me What To Make It And I Tried My Best}Code:
#region
using wServer.logic.behaviors;
using wServer.logic.loot;
using wServer.logic.transitions;
#endregion
namespace wServer.logic
{
partial class BehaviorDb
{
private _ Testing = () => Behav()
.Init("Testing",
new State(
new State("Part One",
new Shoot(20, projectileIndex: 0, count: 3, shootAngle: 15, predictive: 0, coolDown: 1050),
new Taunt("How dare you enter my domain?"),
new Taunt("You shall feel eternal pain!"),
new StayCloseToSpawn(0.8, 5),
new Follow(1, range: 7),
new Wander(0.4),
new HpLessTransition(0.8, "Part Two")
),
new State("Part Two",
new Taunt("Argh- I will feast on your Souls!"),
new Shoot(20, projectileIndex: 1, count: 3, shootAngle: 15, predictive: 0, coolDown: 1550),
new StayCloseToSpawn(0.8, 5),
new Follow(1, range: 7),
new Wander(0.4),
new TimedTransition(3100, "Alter"),
new HpLessTransition(0.48, "Part Three")
),
new State("Alter",
new StayCloseToSpawn(0.8, 5),
new Follow(1, range: 7),
new Wander(0.4),
new Shoot(20, projectileIndex: 2, count: 3, shootAngle: 15, predictive: 0, coolDown: 1000),
new TimedTransition(2000, "Part Two"),
new HpLessTransition(0.48, "Part Three")
),
new State("Part Three",
new Taunt("Feel the wrath of Ir'Kazuhl!"),
new Shoot(20, projectileIndex: 3, count: 12, shootAngle: 30, predictive: 0, coolDown: 1000),
new StayCloseToSpawn(0.8, 5),
new Follow(1, range: 7),
new Wander(0.4),
new TimedTransition(2000, "Alter Two"),
new HpLessTransition(0.15, "Part Four")
),
new State("Alter Two",
new Shoot(20, projectileIndex: 4, count: 4, shootAngle: 12, predictive: 0, coolDown: 1000),
new StayCloseToSpawn(0.8, 5),
new Follow(1, range: 7),
new Wander(0.4),
new TimedTransition(2000, "Part Three"),
new HpLessTransition(0.15, "Part Four")
),
new State("Part Four",
new Taunt("I will not be beaten by mere mortals! DIE"),
new Shoot(20, projectileIndex: 3, count: 10, shootAngle: 29, predictive: 0, coolDown: 1000),
new StayCloseToSpawn(0.8, 5),
new Follow(1, range: 7),
new Wander(0.4),
new TimedTransition(2000, "Alter Three")
),
new State("Alter Three",
new Shoot(20, projectileIndex: 4, count: 5, shootAngle: 16, predictive: 0, coolDown: 1000),
new StayCloseToSpawn(0.8, 5),
new Follow(1, range: 7),
new Wander(0.4),
new TimedTransition(2000, "Part Four")
)
),
// He Didn't Say Anything About Loot So I Just Took Oryx's Loot Drops And Pasted Them
new MostDamagers(3,
new ItemLoot("Potion of Vitality", 1)
),
new Threshold(0.05,
new ItemLoot("Potion of Attack", 0.3),
new ItemLoot("Potion of Defense", 0.3),
new ItemLoot("Potion of Wisdom", 0.3)
),
new Threshold(0.1,
new TierLoot(10, ItemType.Weapon, 0.07),
new TierLoot(11, ItemType.Weapon, 0.06),
new TierLoot(12, ItemType.Weapon, 0.05),
new TierLoot(5, ItemType.Ability, 0.07),
new TierLoot(6, ItemType.Ability, 0.05),
new TierLoot(11, ItemType.Armor, 0.07),
new TierLoot(12, ItemType.Armor, 0.06),
new TierLoot(13, ItemType.Armor, 0.05),
new TierLoot(5, ItemType.Ring, 0.06)
)
)
;
}
}
Code:
<Object id="Testing" ext="true">
<DisplayId></DisplayId>
<Group>AttackType</Group>
<Class>Character</Class>
<MaxHitPoints>125000</MaxHitPoints>
<Defense>85</Defense>
<Enemy/>
<StasisImmune/>
<Texture>
<File>lofiChar16x16</File>
<Index>0x41</Index>
</Texture>
<Projectile id="0">
<ObjectId>Fire Bullet</ObjectId>
<Speed>45</Speed>
<Damage>120</Damage>
<Size>80</Size>
<LifetimeMS>3000</LifetimeMS>
<ConditionEffect duration="5">Slowed</ConditionEffect>
<MultiHit/>
</Projectile>
<Projectile id="1">
<ObjectId>Pink Bolt</ObjectId>
<Speed>60</Speed>
<Damage>90</Damage>
<Size>100</Size>
<LifetimeMS>2000</LifetimeMS>
<MultiHit/>
</Projectile>
<Projectile id="2">
<ObjectId>Purple Magic</ObjectId>
<Speed>75</Speed>
<Damage>90</Damage>
<Size>90</Size>
<LifetimeMS>3000</LifetimeMS>
<MultiHit/>
</Projectile>
<Projectile id="3">
<ObjectId>Fire Bolt</ObjectId>
<Speed>100</Speed>
<Damage>25</Damage>
<Size>80</Size>
<LifetimeMS>3000</LifetimeMS>
<ConditionEffect duration="6">Armor Broken</ConditionEffect>
<MultiHit/>
</Projectile>
<Projectile id="4">
<ObjectId>Blue Magic</ObjectId>
<Speed>80</Speed>
<Damage>175</Damage>
<Size>100</Size>
<LifetimeMS>2000</LifetimeMS>
<ConditionEffect duration="3">Weak</ConditionEffect>
<MultiHit/>
</Projectile>
<Projectile id="5">
<ObjectId>Oryx Sword Attack</ObjectId>
<Speed>60</Speed>
<Damage>250</Damage>
<Size>110</Size>
<ConditionEffect duration="5">Stunned</ConditionEffect>
<LifetimeMS>3000</LifetimeMS>
<MultiHit/>
</Projectile>
<Projectile id="6">
<ObjectId>Fire Bullet</ObjectId>
<Speed>60</Speed>
<Damage>50</Damage>
<Size>110</Size>
<ConditionEffect duration="1">Paralyzed</ConditionEffect>
<LifetimeMS>3000</LifetimeMS>
<MultiHit/>
</Projectile>
<Size>105</Size>
<XpMult>0.8</XpMult>
</Object>
