Hi i tried to make a event chest for my server then i got a bunch of errors.
Code:
new State("Death",
new ConditionalEffect(ConditionEffectIndex.Invulnerable),
new CopyDamageOnDeath("Event Chest"),
new Taunt("EVENT CHEST"),
new TimedTransition(2000, "Suicide"),
new Shoot(100, 10, projectileIndex: 6)
)
),
Code:
.Init("Event Chest",
new State(
new State("Idle",
new Taunt(true, "Event Chest has been spawned."),
new ConditionalEffect(ConditionEffectIndex.Invulnerable),
new TimedTransition(5000, "Event")
),
new State("Event")
),
new Threshold(0.23,
new TierLoot(12, ItemType.Weapon, 0.05),
new TierLoot(6, ItemType.Ability, 0.05),
new TierLoot(13, ItemType.Armor, 0.05),
new TierLoot(6, ItemType.Ring, 0.06),
new ItemLoot("Shield of Ogmur", 0.04),
new ItemLoot("Seal of Blasphemous Prayer", 0.04),
new ItemLoot("Demon Blade", 0.04),
new ItemLoot("Indomptable", 0.04),
new ItemLoot("Crystal Sword", 0.04)
)
)
Please help me
Screenshot : http: //pr nt scr.c o m/e r1 kg z