1) Make a new Enemy called "Whatever Chest"
2) Make an Behavior for the Chest
3) Add Loot Behav
4) ???
5) Profit
Hellooo i need help .. how to make chest with drops?? i see chest in shatters in real rotmg and drop bracer lol help please
1) Make a new Enemy called "Whatever Chest"
2) Make an Behavior for the Chest
3) Add Loot Behav
4) ???
5) Profit
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 @thenired 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)),
))
)
)
Last edited by sebastianfra12; 08-23-2015 at 12:42 PM.
"Really easy" like a noob knows what the fuck you are doing, also, set // in order to not currupt the code
just use vault xml for a free chest sprite, copy and paste it, change name to like, Test Chest, give it hp in the xml, make a simple behavior of just doing nothing, or even give it a taunt if you wanna make it look kewl, now make the behavior, make sure its got the same name as Test Chest so when u spawn one, and kill it, it knows to drop the loot you give it.
this should be at bottom of behavior
new Threshold(0.5,
new ItemLoot("Bracer of the Guardian", 1)
(btw it works for fab, sd, creepylava behavior system source etc.)
https://******.com/ProHackBot999/Pho...oot/LootDef.cs
This is what it meansCode:int baseLootCount, int personMult, int minLootCount, int maxLootCount,
News Force Head Editor from 09/14/2018 - 03/02/2020
Publicist from 11/23/2017 - 06/07/2019
Global Moderator since 09/24/2017
Minion+ from 04/16/2017 - 09/24/2017
Market Place Minion from 04/16/2017 - 09/24/2017
Minecraft Minion from 02/23/2017 - 09/24/2017
Realm of the Mad God Minion from 11/06/2016 - 09/24/2017
Middleman from 09/14/2016 - 09/24/2017
News Force Editor from 08/23/2016 - 09/14/2018
News Force (Section of the Week) from 03/21/2016 - 07/17/2017
News Force (User News) from 10/18/2015 - 09/14/2018
Donator since 03/16/2015
Realm of the Mad God Editor from 05/20/2014 - 07/08/2014
Member since 12/23/2012
Rep Power: 82