This is easy. Which server u use?
- - - Updated - - -
for fab, creepylava sources:
Init("YourChestName",
new State(
new State("Idle",
new ConditionalEffect(ConditionEffectIndex.Invulnerabl e),
new TimedTransition(5000, "UnsetEffect") //=5sec with invulnerable (blue shield) and after 5sec change to without invulnerable chest :v
),
new State("UnsetEffect")
),
new Threshold(0.1, = u or players must get 10% of damage to get loot
new ItemLoot("itemname", how much % u have to loot this item
new TierLoot(tiernumber, ItemType.(Ability or Weapon or Armor), how much % u have to loot this item
)
)
- - - Updated - - -
for club599 etc... :
.Init(here this chest's number like 0x813, Behaves("yourchestname",
new RunBehaviors(
Once.Instance(SetConditionEffect.Instance(Conditio nEffectIndex.Invulnerable)), //this blue shield...
Once.Instance(new SetKey(-1,0)),
IfEqual.Instance(-1,0,
new QueuedBehavior(
CooldownExact.Instance(5000), //after 5 sec your chest unset Invulnerable (blue shield)
UnsetConditionEffect.Instance(ConditionEffectIndex .Invulnerable),
new SetKey(-1,1)
))
),
loot: new LootBehavior(LootDef.Empty,
Tuple.Create(100, new LootDef(0, 3, 1, 2, //<--- idk what is change :v @
lkdjnfoskjednfblksjdfn know xD
Tuple.Create(how much % u need to loot this item, (ILoot)new ItemLoot("your item name")),
Tuple.Create(how much % u need to loot this item, (ILoot)new TierLoot(Itemtier, ItemType.(Ability, Weapon, Armor)),
))
)
)