Results 1 to 4 of 4
  1. #1
    lkdjnfoskjednfblksjdfn's Avatar
    Join Date
    Apr 2014
    Gender
    male
    Location
    127.0.0.1
    Posts
    1,340
    Reputation
    198
    Thanks
    841
    My Mood
    Inspired

    vlntns Bella Donna Behavior. (WITHOUT FLOWERS) [Club559]

    Vlntns Bella Donna


    So hey again! Long time ago so i decided to
    make some new behaviors just to post quick.

    So here is the Bella Donna Behaviors, wich ghostmaree already have posted but could need a change :P
    Oh, and i will post a thread later with spawners for this, so the flowers work.

    So imma make a little tutorial out of this, please leave a Thanks if you apreciate my work! ^^

    Step1


    Go to Wserver>Logic>Db and make a new file called:

    Code:
    BehaviorDb.Bella.cs
    Inside that add in theese codes:

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System;
    using wServer.logic.attack;
    using wServer.logic.loot;
    using wServer.logic.movement;
    using wServer.logic.taunt;
    using System.Text;
    using wServer.logic.cond;
    
    namespace wServer.logic
    {
        partial class BehaviorDb
        {
            private static _ Bella = Behav()
                       .Init(0x7410, Behaves("vlntns Loot Balloon Bella",
                        new RunBehaviors(
                            Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
                            Once.Instance(new SetKey(-1,0)),
    
                        IfEqual.Instance(-1,0,
                         new QueuedBehavior(
                             CooldownExact.Instance(2500), //takes 2.5 seconds and removes invu. (demageable)
                             UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable),
                             new SetKey(-1,1)
                            ))
                             ),
                            loot: new LootBehavior(LootDef.Empty,
                                Tuple.Create(100, new LootDef(0, 3, 1, 2,
                                Tuple.Create(0.01, (ILoot)new ItemLoot("Potion of Vitality")),
                                Tuple.Create(0.005, (ILoot)new ItemLoot("Eligible Bachelor Skin")),
                                Tuple.Create(0.005, (ILoot)new ItemLoot("Bashing Bride Skin")),
                                Tuple.Create(0.01, (ILoot)new ItemLoot("Potion of Life"))
                                ))
                            )
                        ))
                 .Init(0x738c, Behaves("Bella Donna", //this is the 1st Bella donna, it transmutes at last.
                 new RunBehaviors(                 
                       HpLesser.Instance(84990, new SetKey(-1,0)), //once you hit it, it starts. You will have to demage 10 HP and it starts.
                       IfEqual.Instance(-1,0,
                      new QueuedBehavior(
                          Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
                             CooldownExact.Instance(2500),
                             UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable), //removes invulnerable.
                              Once.Instance(new SetKey(-1,1)),
                               IfEqual.Instance(-1,1,
                               new RunBehaviors(
                                   SmoothWandering.Instance(2f, 2f),
                        Cooldown.Instance(750, PredictiveMultiAttack.Instance(25, 45 * (float)Math.PI / 180, 4, 0)), //this is first attack part one. Where it does predictive attack at you and shoots 4 projectiles. /same at code below.
                        Cooldown.Instance(950, PredictiveMultiAttack.Instance(25, 60 * (float)Math.PI / 180, 4, 0, 3)), //this is first attack part two.
                        HpLesser.Instance(75000, new SetKey(-1,2)))), //hp lesser than 75.000 it goes to next phase. (phase 2)
                         IfEqual.Instance(-1,2,
                       new RunBehaviors(
                     	SmoothWandering.Instance(2f, 2f), //phase 2
                     	Cooldown.Instance(2000, RingAttack.Instance(12, 0, 0, projectileIndex: 1)),
                        HpLesser.Instance(65000, new SetKey(-1,3)))),
                        IfEqual.Instance(-1,3, //phase 3
                        new RunBehaviors(
                     	Cooldown.Instance(2000, RingAttack.Instance(12, 0, 0, projectileIndex: 0)),                 	
                     	HpLesser.Instance(60000, new SetKey(-1,4)))),
                         IfEqual.Instance(-1,4, //phase 4
                        new RunBehaviors(
                           InfiniteSpiralAttack.Instance(150, 6, 5, projectileIndex: 0),
                           HpLesser.Instance(52000, new SetKey(-1,5)))),
                           IfEqual.Instance(-1,5,
                             new RunBehaviors(
                            new Transmute(0x739c) //switches into next bella donna, AKA. (rage phase)
                            ))))
                      )))
                        .Init(0x739c, Behaves("Bella Donna two", //ragin bella.
                         new RunBehaviors(                        
                            HpLesser.Instance(28000, new SetKey(-1,1)),
                             Once.Instance(new SetKey(-1,0)),
                             IfEqual.Instance(-1,0,
                               new RunBehaviors(				
                         Once.Instance(SpawnMinionImmediate.Instance(0x739a,2,5,5)))), //spawns the buds.
                          IfEqual.Instance(-1,1,
                           new QueuedBehavior(
                               SetConditionEffect.Instance(ConditionEffectIndex.Invincible), //does undemageable.
                               new SimpleTaunt("YOU WILL NOT LEAVE HERE ALIVE!"),
                               CooldownExact.Instance(5000), //5 seconds.
                               SpawnMinionImmediate.Instance(0x7410,1,1,1), //loot balloon.
                               Cooldown.Instance(1),
                               Die.Instance //suicide part.
                                ))
                      )))
                        .Init(0x739a, Behaves("vlntns Bella Buds",
                          new RunBehaviors(
                               StrictCircling.Instance(2, 4, 0x739c), //theese only circles 2nd bella donna and spawns by it.
                              Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
                              CooldownExact.Instance(1500), //invu. in 1.5 second.
                              UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)
                                 ))
                               );
        }
    }
    My XMLs are pretty wrong so rip them from prod, i will leave link for xmls below if you've forgot location.

    I will also link a pastebin if you have any problems copying from MPGH.




    Credits:

    VoOoLoX
    NoobHereo
    GhostMaree
    Slendergo


    Links:
    Behavior
    https://pastebin.com/Ge7PPXpn

    XMLs
    https://static.drips.pw/rotmg/product...Belladonna.xml




    -Enjoy!
    Last edited by lkdjnfoskjednfblksjdfn; 07-18-2015 at 02:55 AM.

  2. The Following User Says Thank You to lkdjnfoskjednfblksjdfn For This Useful Post:

    Tjeerdo (07-18-2015)

  3. #2
    Chiroy's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Location
    127.0.0.1:80
    Posts
    1,500
    Reputation
    28
    Thanks
    2,295
    Quote Originally Posted by thenired View Post
    Vlntns Bella Donna


    So hey again! Long time ago so i decided to
    make some new behaviors just to post quick.

    So here is the Bella Donna Behaviors, wich ghostmaree already have posted but could need a change :P
    Oh, and i will post a thread later with spawners for this, so the flowers work.

    So imma make a little tutorial out of this, please leave a Thanks if you apreciate my work! ^^

    Step1


    Go to Wserver>Logic>Db and make a new file called:

    Code:
    BehaviorDb.Bella.cs
    Inside that add in theese codes:

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System;
    using wServer.logic.attack;
    using wServer.logic.loot;
    using wServer.logic.movement;
    using wServer.logic.taunt;
    using System.Text;
    using wServer.logic.cond;
    
    namespace wServer.logic
    {
        partial class BehaviorDb
        {
            private static _ Bella = Behav()
                       .Init(0x7410, Behaves("vlntns Loot Balloon Bella",
                        new RunBehaviors(
                            Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
                            Once.Instance(new SetKey(-1,0)),
    
                        IfEqual.Instance(-1,0,
                         new QueuedBehavior(
                             CooldownExact.Instance(2500), //takes 2.5 seconds and removes invu. (demageable)
                             UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable),
                             new SetKey(-1,1)
                            ))
                             ),
                            loot: new LootBehavior(LootDef.Empty,
                                Tuple.Create(100, new LootDef(0, 3, 1, 2,
                                Tuple.Create(0.01, (ILoot)new ItemLoot("Potion of Vitality")),
                                Tuple.Create(0.005, (ILoot)new ItemLoot("Eligible Bachelor Skin")),
                                Tuple.Create(0.005, (ILoot)new ItemLoot("Bashing Bride Skin")),
                                Tuple.Create(0.01, (ILoot)new ItemLoot("Potion of Life"))
                                ))
                            )
                        ))
                 .Init(0x738c, Behaves("Bella Donna", //this is the 1st Bella donna, it transmutes at last.
                 new RunBehaviors(                 
                       HpLesser.Instance(84990, new SetKey(-1,0)), //once you hit it, it starts. You will have to demage 10 HP and it starts.
                       IfEqual.Instance(-1,0,
                      new QueuedBehavior(
                          Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
                             CooldownExact.Instance(2500),
                             UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable), //removes invulnerable.
                              Once.Instance(new SetKey(-1,1)),
                               IfEqual.Instance(-1,1,
                               new RunBehaviors(
                                   SmoothWandering.Instance(2f, 2f),
                        Cooldown.Instance(750, PredictiveMultiAttack.Instance(25, 45 * (float)Math.PI / 180, 4, 0)), //this is first attack part one. Where it does predictive attack at you and shoots 4 projectiles. /same at code below.
                        Cooldown.Instance(950, PredictiveMultiAttack.Instance(25, 60 * (float)Math.PI / 180, 4, 0, 3)), //this is first attack part two.
                        HpLesser.Instance(75000, new SetKey(-1,2)))), //hp lesser than 75.000 it goes to next phase. (phase 2)
                         IfEqual.Instance(-1,2,
                       new RunBehaviors(
                     	SmoothWandering.Instance(2f, 2f), //phase 2
                     	Cooldown.Instance(2000, RingAttack.Instance(12, 0, 0, projectileIndex: 1)),
                        HpLesser.Instance(65000, new SetKey(-1,3)))),
                        IfEqual.Instance(-1,3, //phase 3
                        new RunBehaviors(
                     	Cooldown.Instance(2000, RingAttack.Instance(12, 0, 0, projectileIndex: 0)),                 	
                     	HpLesser.Instance(60000, new SetKey(-1,4)))),
                         IfEqual.Instance(-1,4, //phase 4
                        new RunBehaviors(
                           InfiniteSpiralAttack.Instance(150, 6, 5, projectileIndex: 0),
                           HpLesser.Instance(52000, new SetKey(-1,5)))),
                           IfEqual.Instance(-1,5,
                             new RunBehaviors(
                            new Transmute(0x739c) //switches into next bella donna, AKA. (rage phase)
                            ))))
                      )))
                        .Init(0x739c, Behaves("Bella Donna two", //ragin bella.
                         new RunBehaviors(                        
                            HpLesser.Instance(28000, new SetKey(-1,1)),
                             Once.Instance(new SetKey(-1,0)),
                             IfEqual.Instance(-1,0,
                               new RunBehaviors(				
                         Once.Instance(SpawnMinionImmediate.Instance(0x739a,2,5,5)))), //spawns the buds.
                          IfEqual.Instance(-1,1,
                           new QueuedBehavior(
                               SetConditionEffect.Instance(ConditionEffectIndex.Invincible), //does undemageable.
                               new SimpleTaunt("YOU WILL NOT LEAVE HERE ALIVE!"),
                               CooldownExact.Instance(5000), //5 seconds.
                               SpawnMinionImmediate.Instance(0x7410,1,1,1), //loot balloon.
                               Cooldown.Instance(1),
                               Die.Instance //suicide part.
                                ))
                      )))
                        .Init(0x739a, Behaves("vlntns Bella Buds",
                          new RunBehaviors(
                               StrictCircling.Instance(2, 4, 0x739c), //theese only circles 2nd bella donna and spawns by it.
                              Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
                              CooldownExact.Instance(1500), //invu. in 1.5 second.
                              UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)
                                 ))
                               );
        }
    }
    My XMLs are pretty wrong so rip them from prod, i will leave link for xmls below if you've forgot location.

    I will also link a pastebin if you have any problems copying from MPGH.




    Credits:

    VoOoLoX
    NoobHereo
    GhostMaree


    Links:
    Behavior
    https://pastebin.com/Ge7PPXpn

    XMLs
    https://static.drips.pw/rotmg/product...Belladonna.xml




    -Enjoy!
    My belladonna sprite isn't added in the client yet though I use the manor boss I think Lord Ruthven

  4. #3
            (╭ರ_•)          
    Premium Member
    ~V~'s Avatar
    Join Date
    May 2014
    Gender
    male
    Location
    Posts
    628
    Reputation
    29
    Thanks
    1,478
    You forgot slender in credits

  5. #4
    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 VoOoLoX View Post
    You forgot slender in credits
    Ffs. xD /10chars

Similar Threads

  1. Ice Cave Behaviors Done! BehaviorSystem: Club559
    By lkdjnfoskjednfblksjdfn in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 16
    Last Post: 10-19-2017, 04:52 AM
  2. Avatar of the Forgotten King behaviors for Club559
    By lkdjnfoskjednfblksjdfn in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 16
    Last Post: 05-03-2015, 11:36 PM
  3. abnormal behavior
    By naughtynurse in forum Gunz General
    Replies: 5
    Last Post: 03-29-2006, 08:48 PM
  4. Warrock Ammo Or Health hack without WPE
    By tomvernons in forum Hack Requests
    Replies: 6
    Last Post: 02-21-2006, 08:15 AM
  5. [Tutorial]Change class without respawn
    By vir2000 in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 01-04-2006, 01:47 PM