#region
using wServer.logic;
using wServer.logic.behaviors;
using wServer.logic.loot;
using wServer.logic.transitions;
#endregion
namespace wServer.logic
{
partial class BehaviorDb
{
private _ Lavagod = () => Behav()
.Init("Kestora the Lava God",
new State(
new ConditionalEffect(ConditionEffectIndex.Invulnerable),
new PlayerWithinTransition(6, "start")
),
new State("start",
new Taunt("How did you get here?"),
new Wander(0.3),
new ConditionalEffect(ConditionEffectIndex.Invulnerable),
new TimedTransition(3000, "1")
),
new State("1",
new Taunt("Well, it doesn't matter because I can destroy you!"),
new ConditionalEffect(ConditionEffectIndex.Invulnerable),
new Wander(0.3),
new TimedTransition(2500, "2")
),
new State("2",
new Flash(0x00FF00, 0.25, 12),
new Wander(0.3),
new Shoot(10, 4, 2, 0, coolDown: 500, coolDownOffset: 500),
new HpLessTransition(0.80, "3")
),
new State("3",
new Taunt("Still alive? Well this should kill you!"),
new TimedTransition(450, "4")
),
new State("4",
new Shoot(20, 5, 60, 2, 0, coolDown: 3000),
new Shoot(20, 5, 60, 2, 10, coolDown: 3000, coolDownOffset: 500),
new Shoot(20, 5, 60, 2, 20, coolDown: 3000, coolDownOffset: 1000),
new Shoot(20, 5, 60, 2, 30, coolDown: 3000, coolDownOffset: 1500),
new Shoot(20, 5, 60, 2, 40, coolDown: 3000, coolDownOffset: 2000),
new Shoot(20, 5, 60, 2, 50, coolDown: 3000, coolDownOffset: 2500),
new HpLessTransition(0.30, "5")
),
new State("5",
new Taunt("Fuck, you defeated me."),
new TimedTransition(500, "6")
),
new State("6",
new Suicide()
)
),
new MostDamagers(3,
new ItemLoot("Potion of Defense", 1)
),
new Threshold(0.25,
new TierLoot(10, ItemType.Weapon, 0.1),
new TierLoot(5, ItemType.Ability, 0.1),
new TierLoot(10, ItemType.Armor, 0.1),
new TierLoot(4, ItemType.Ring, 0.05),
new TierLoot(11, ItemType.Armor, 0.05),
new TierLoot(11, ItemType.Weapon, 0.05),
new TierLoot(5, ItemType.Ring, 0.025),
new ItemLoot("Demon Blade", 0.005)
)
);
}
}
#region
using wServer.logic;
using wServer.logic.behaviors;
using wServer.logic.loot;
using wServer.logic.transitions;
#endregion
namespace wServer.logic
{
partial class BehaviorDb
{
private _ Lavagod = () => Behav()
.Init("Kestora the Lava God",
new State(
new State("Idle"
new ConditionalEffect(ConditionEffectIndex.Invulnerable, true),
new PlayerWithinTransition(6, "start")
),
new State("start",
new Taunt("How did you get here?"),
new Wander(0.3),
new TimedTransition(3000, "1")
),
new State("1",
new Taunt("Well, it doesn't matter because I can destroy you!"),
new ConditionalEffect(ConditionEffectIndex.Invulnerable),
new Wander(0.3),
new TimedTransition(2500, "2")
),
new State("2",
new Flash(0x00FF00, 0.25, 12),
new Wander(0.3),
new Shoot(10, 4, 2, 0, coolDown: 500, coolDownOffset: 500),
new HpLessTransition(0.80, "3")
),
new State("3",
new Taunt("Still alive? Well this should kill you!"),
new TimedTransition(450, "4")
),
new State("4",
new Shoot(20, 5, 60, 2, 0, coolDown: 3000),
new Shoot(20, 5, 60, 2, 10, coolDown: 3000, coolDownOffset: 500),
new Shoot(20, 5, 60, 2, 20, coolDown: 3000, coolDownOffset: 1000),
new Shoot(20, 5, 60, 2, 30, coolDown: 3000, coolDownOffset: 1500),
new Shoot(20, 5, 60, 2, 40, coolDown: 3000, coolDownOffset: 2000),
new Shoot(20, 5, 60, 2, 50, coolDown: 3000, coolDownOffset: 2500),
new HpLessTransition(0.30, "5")
),
new State("5",
new Taunt("Fuck, you defeated me."),
new TimedTransition(500, "6")
),
new State("6",
new Suicide()
)
),
new MostDamagers(3,
new ItemLoot("Potion of Defense", 1)
),
new Threshold(0.25,
new TierLoot(10, ItemType.Weapon, 0.1),
new TierLoot(5, ItemType.Ability, 0.1),
new TierLoot(10, ItemType.Armor, 0.1),
new TierLoot(4, ItemType.Ring, 0.05),
new TierLoot(11, ItemType.Armor, 0.05),
new TierLoot(11, ItemType.Weapon, 0.05),
new TierLoot(5, ItemType.Ring, 0.025),
new ItemLoot("Demon Blade", 0.005)
)
);
}
}