Results 1 to 12 of 12
  1. #1
    tamas0821's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    84
    Reputation
    10
    Thanks
    9
    My Mood
    Sleepy

    How to make enemy chest with drop?

    Hellooo i need help .. how to make chest with drops?? i see chest in shatters in real rotmg and drop bracer lol help please

  2. #2
    cxydsaewq's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    954
    Reputation
    25
    Thanks
    1,341
    My Mood
    Amazed
    1) Make a new Enemy called "Whatever Chest"
    2) Make an Behavior for the Chest
    3) Add Loot Behav
    4) ???
    5) Profit

  3. #3
    tamas0821's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    84
    Reputation
    10
    Thanks
    9
    My Mood
    Sleepy
    Quote Originally Posted by cxydsaewq View Post
    1) Make a new Enemy called "Whatever Chest"
    2) Make an Behavior for the Chest
    3) Add Loot Behav
    4) ???
    5) Profit
    thanks but link to how to make new boss please?

  4. #4
    Lxys's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    England.
    Posts
    1,156
    Reputation
    208
    Thanks
    2,235
    My Mood
    Devilish
    Quote Originally Posted by tamas0821 View Post
    thanks but link to how to make new boss please?
    Look at an already existing one then bam. Copy it and change it.
    Specs
    Motherboard - Asus Z170-P
    CPU- Intel Core i5 6500
    SSD - Samsung SM951
    Ram - 8 GB (2 x 4 DDR2)
    HDD - Random 500GB One
    GPU - Integrated i5 (Intel HD Graphics 530)
    OS - Win10

  5. #5
    sebastianfra12's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    361
    Reputation
    21
    Thanks
    75
    My Mood
    Inspired
    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.

  6. #6
    cxydsaewq's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    954
    Reputation
    25
    Thanks
    1,341
    My Mood
    Amazed
    "Really easy" like a noob knows what the fuck you are doing, also, set // in order to not currupt the code

  7. #7
    Jankos's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Location
    package com.Jankos.FluffyPuffy
    Posts
    163
    Reputation
    10
    Thanks
    13
    My Mood
    In Love
    Quote Originally Posted by sebastianfra12 View Post
    CooldownExact.Instance(5000), //after 5000 sec your chest unset Invulnerable (blue shield)
    Change it to 5 sec ( i know that most of the ppl will understand, but still someone will think, that he would wait 5000 sec
    <3

    If I did something useful, feel free to Donate to me

  8. #8
    tamas0821's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    84
    Reputation
    10
    Thanks
    9
    My Mood
    Sleepy
    Woo ty guys

  9. #9
    lkdjnfoskjednfblksjdfn's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Location
    127.0.0.1
    Posts
    1,340
    Reputation
    198
    Thanks
    841
    My Mood
    Inspired
    Quote Originally Posted by sebastianfra12 View Post
    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 5000 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)),
    ))
    )
    )
    You seriously suck at even coding a freaking non moving enemy.

  10. #10
    Riigged's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    no
    Posts
    3,846
    Reputation
    401
    Thanks
    10,254
    My Mood
    Devilish
    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.)

  11. #11
    Ahl's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    /modcp
    Posts
    16,599
    Reputation
    3219
    Thanks
    5,383
    My Mood
    Angelic
    Quote Originally Posted by sebastianfra12 View Post
    Tuple.Create(100, new LootDef(0, 3, 1, 2, //<--- idk what is change :v @thenired know xD
    https://******.com/ProHackBot999/Pho...oot/LootDef.cs

    Code:
    int baseLootCount,
    int personMult,
    int minLootCount,
    int maxLootCount,
    This is what it means
    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

  12. #12
    sebastianfra12's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    361
    Reputation
    21
    Thanks
    75
    My Mood
    Inspired
    Quote Originally Posted by Hunter's Best Sheep View Post
    https://******.com/ProHackBot999/Pho...oot/LootDef.cs

    Code:
    int baseLootCount,
    int personMult,
    int minLootCount,
    int maxLootCount,
    This is what it means
    kk thanks ;D

Similar Threads

  1. How to make a Signature with Paint.net
    By Spookerzz in forum Tutorials
    Replies: 22
    Last Post: 08-08-2010, 02:12 AM
  2. How to make a bypass with editing tools.
    By D3Dh0oker in forum Combat Arms Discussions
    Replies: 13
    Last Post: 03-23-2010, 01:18 AM
  3. How to make a trainer with VB.NET?
    By gott4 in forum Visual Basic Programming
    Replies: 6
    Last Post: 01-17-2010, 05:56 PM
  4. Replies: 72
    Last Post: 08-09-2009, 05:45 AM
  5. {Tutorial} How to make a hack with VB
    By ltkort213 in forum WarRock - International Hacks
    Replies: 31
    Last Post: 06-10-2007, 03:15 PM