[FSOD] Lawltron
I Made A Enemy From My Server Names Lawltron (So Creative) Heres The Code you Can Change it if you want i just got bored and shiz
ik its stupid but i like it :)
Now the Chest
Thanks For Looking At Mah Stuff
{If you Need Help Coding Or Want Someone To Do Shit Msg me on SKype facebook:justice.mccord.9 (Ill Code mostly anything for you if i am able to for free)
using wServer.logic.behaviors;
using wServer.logic.transitions;
using wServer.logic.loot;
namespace wServer.logic
{
partial class BehaviorDb
{
private _ Lawltron = () => Behav() // credits to lawltron :3
.Init("Lawltron",
new State(
new ConditionalBehavior(ConditionEffectIndex.Paralyzed , new Shoot(120, 4, coolDown: 1000)),
new ConditionalBehavior(ConditionEffectIndex.Stunned, new Shoot(22, 3, coolDown: 3000)),
new ConditionalBehavior(ConditionEffectIndex.Dazed, new Shoot(24, 9, coolDown: 200)),
new ConditionalBehavior(ConditionEffectIndex.ArmorBrok en, new Shoot(12, 1, coolDown: 2000)),
new TransformOnDeath("Lawls Chest", returnToSpawn: false),
new CopyDamageOnDeath("Lawls Chest"),
new Taunt(true, "You Can't Defeat Me Im Lawltron The Creator Of This Realm!"),
new Taunt(1, 12000, "Ha I Still Have {HP} You Will Never Be Able To Kill Me!!!!"),
new Wander(0.2),
new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 1, coolDown: 100),
new Shoot(15, 3, 5, angleOffset: 30 / 3, projectileIndex: 0, coolDown: 1950),
new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 3, coolDown: 1750),
new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 3, coolDown: 1750),
new StayBack(0.1, 1),
new Shoot(15, 1, 0, angleOffset: 30 / 3, projectileIndex: 4, coolDown: 1750)
)
);
}
}
using wServer.logic.transitions;
using wServer.logic.loot;
namespace wServer.logic
{
partial class BehaviorDb
{
private _ Lawltron = () => Behav() // credits to lawltron :3
.Init("Lawltron",
new State(
new ConditionalBehavior(ConditionEffectIndex.Paralyzed , new Shoot(120, 4, coolDown: 1000)),
new ConditionalBehavior(ConditionEffectIndex.Stunned, new Shoot(22, 3, coolDown: 3000)),
new ConditionalBehavior(ConditionEffectIndex.Dazed, new Shoot(24, 9, coolDown: 200)),
new ConditionalBehavior(ConditionEffectIndex.ArmorBrok en, new Shoot(12, 1, coolDown: 2000)),
new TransformOnDeath("Lawls Chest", returnToSpawn: false),
new CopyDamageOnDeath("Lawls Chest"),
new Taunt(true, "You Can't Defeat Me Im Lawltron The Creator Of This Realm!"),
new Taunt(1, 12000, "Ha I Still Have {HP} You Will Never Be Able To Kill Me!!!!"),
new Wander(0.2),
new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 1, coolDown: 100),
new Shoot(15, 3, 5, angleOffset: 30 / 3, projectileIndex: 0, coolDown: 1950),
new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 3, coolDown: 1750),
new Shoot(15, 5, 10, angleOffset: 40 / 3, projectileIndex: 3, coolDown: 1750),
new StayBack(0.1, 1),
new Shoot(15, 1, 0, angleOffset: 30 / 3, projectileIndex: 4, coolDown: 1750)
)
);
}
}
Now the Chest
using wServer.logic.behaviors;
using wServer.logic.transitions;
using wServer.logic.loot;
namespace wServer.logic
{
partial class BehaviorDb
{
private _ LawlsChest = () => Behav()
.Init("Lawls Chest Spawner",
new State(
new State("Idle",
new ConditionalEffect(ConditionEffectIndex.Invincible, true)
),
new State("Spawn",
new Spawn("Lawls Chest", 1, 1),
new CopyLootState("Lawls Chest", 10)
)
)
)
.Init("Lawls Chest",
new State(
new State("Idle",
new Taunt(true, "You Have Defeated Me Please Take This Chest As A Reward."),
new ConditionalEffect(ConditionEffectIndex.Invulnerabl e),
new TimedTransition(5000, "UnsetEffect")
),
new State("UnsetEffect")
),
new Threshold(0.1,
// hes supposed to be op loot because he hits hard af
new TierLoot(12, ItemType.Weapon, 0.1),
new TierLoot(12, ItemType.Weapon, 0.15),
new TierLoot(12, ItemType.Weapon, 0.11),
new TierLoot(12, ItemType.Weapon, 0.15),
new TierLoot(13, ItemType.Armor, 0.12),
new TierLoot(12, ItemType.Armor, 0.15),
new TierLoot(13, ItemType.Armor, 0.11),
new TierLoot(12, ItemType.Armor, 0.15),
new TierLoot(6, ItemType.Ability, 0.15),
new TierLoot(6, ItemType.Ability, 0.11)
)
);
}
}
using wServer.logic.transitions;
using wServer.logic.loot;
namespace wServer.logic
{
partial class BehaviorDb
{
private _ LawlsChest = () => Behav()
.Init("Lawls Chest Spawner",
new State(
new State("Idle",
new ConditionalEffect(ConditionEffectIndex.Invincible, true)
),
new State("Spawn",
new Spawn("Lawls Chest", 1, 1),
new CopyLootState("Lawls Chest", 10)
)
)
)
.Init("Lawls Chest",
new State(
new State("Idle",
new Taunt(true, "You Have Defeated Me Please Take This Chest As A Reward."),
new ConditionalEffect(ConditionEffectIndex.Invulnerabl e),
new TimedTransition(5000, "UnsetEffect")
),
new State("UnsetEffect")
),
new Threshold(0.1,
// hes supposed to be op loot because he hits hard af
new TierLoot(12, ItemType.Weapon, 0.1),
new TierLoot(12, ItemType.Weapon, 0.15),
new TierLoot(12, ItemType.Weapon, 0.11),
new TierLoot(12, ItemType.Weapon, 0.15),
new TierLoot(13, ItemType.Armor, 0.12),
new TierLoot(12, ItemType.Armor, 0.15),
new TierLoot(13, ItemType.Armor, 0.11),
new TierLoot(12, ItemType.Armor, 0.15),
new TierLoot(6, ItemType.Ability, 0.15),
new TierLoot(6, ItemType.Ability, 0.11)
)
);
}
}
{If you Need Help Coding Or Want Someone To Do Shit Msg me on SKype facebook:justice.mccord.9 (Ill Code mostly anything for you if i am able to for free)
@
