[FSoD] Jeebs Event Spawner

Posts 1–10 of 10 · Page 1 of 1
[FSoD] Jeebs Event Spawner
This is a Jeebs Event Spawner.

You need to do @OmegaBM's Chat Transition Fix http://www.mpgh.net/forum/showthread.php?t=1043781.

Create a new behavior class called BehaviorDb.EventSpawner.cs at wserver>logic>db
and put this in

Code:
#region

using wServer.logic.behaviors;
using wServer.logic.loot;
using wServer.logic.transitions;

#endregion

namespace wServer.logic
{
    partial class BehaviorDb
    {
        private _ Jeebs = () => Behav()
              .Init("Jeebs",
                  new State(
                new TransformOnDeath("Jeebs"),

                                            new State("PlayerChoice",
                          new Taunt("Up for another round, that's what I'm doing!"),

                        new TimedTransition(5000, "PlayerChoice2")
                              ),
                                            new State("WOWWWW",
                                                new Taunt("Up for another round, that's what I'm doing!"),
                                                 new TimedTransition(3000, "PlayerChoice2")
                                                ),
                          new State("PlayerChoice2",
                          new Taunt("So choose one of the following 'CUBE' 'SKULL' 'SPHINX' 'CRYSTAL'"),

                        new TimedTransition(25, "NOOOOOOWWWW")

                      ),
                          new State("NOOOOOOWWWW",
                               new ChatTransition("Cube God Prep", "cube"),
                        new ChatTransition("Skull Shrine Prep", "skull"),
                        new ChatTransition("Mysterious Crystal Prep", "crystal"),
                        new ChatTransition("Grand Sphinx Prep", "sphinx"),
                               new ChatTransition("Cube God Prep", "CUBE"),
                        new ChatTransition("Skull Shrine Prep", "SKULL"),
                        new ChatTransition("Mysterious Crystal Prep", "CRYSTAL"),
                        new ChatTransition("Grand Sphinx Prep", "SPHINX")
                              ),
                          new State("Cube God Prep",
                              new Taunt("Cube God that is in 10 seconds"),
                              new TimedTransition(0, "Cube God")
                              ),
                    new State("Cube God",
                    new ConditionalEffect(ConditionEffectIndex.Invincible),

                    new Spawn("Cube God", 1, coolDown: 10000),

                        new TimedTransition(12000, "Cube God Check")
                        ),
                    new State("Cube God Check",
                        new EntityNotExistsTransition("Cube God", 10000, "suicide")
                        ),
                          new State("Skull Shrine Prep",
                              new Taunt("Skull Shrine that is in 10 seconds"),
                              new TimedTransition(0, "Skull Shrine")
                              ),
                      new State("Skull Shrine",
                    new ConditionalEffect(ConditionEffectIndex.Invincible),

                    new Spawn("Skull Shrine", 1, coolDown: 10000),

                        new TimedTransition(12000, "Skull Shrine Check")
                        ),
                      new State("Skull Shrine Check",
                        new EntityNotExistsTransition("Skull Shrine", 10000, "suicide")
                         ),
                          new State("Mysterious Crystal Prep",
                              new Taunt("Mysterious Crystal that is in 10 seconds"),
                              new TimedTransition(0, "Crystal")
                              ),
                      new State("Crystal",
                    new ConditionalEffect(ConditionEffectIndex.Invincible),

                    new Spawn("Mysterious Crystal", 1, coolDown: 10000),

                        new TimedTransition(12000, "Crystal Check")
                        ),
                      new State("Crystal Check",
                        new EntityNotExistsTransition("Mysterious Crystal", 12000, "Prisoner Check")
                        ),
                      new State("Prisoner Check",
                        new EntityNotExistsTransition("Crystal Prisoner", 12000, "suicide")
                         ),
                          new State("Grand Sphinx Prep",
                              new Taunt("Grand Sphinx Prep that is in 10 seconds"),
                              new TimedTransition(0, "Grand Sphinx")
                              ),
                      new State("Grand Sphinx",
                    new ConditionalEffect(ConditionEffectIndex.Invincible),

                    new Spawn("Grand Sphinx", 1, coolDown: 10000),

                        new TimedTransition(12000, "Grand Sphinx Check")
                        ),
                      new State("Grand Sphinx Check",
                        new EntityNotExistsTransition("Grand Sphinx", 2000, "suicide")
                            ),

                        new State("suicide",
                        new Suicide()


                        )
                          )


            );
    }
}
Then rebuild!

 
Credits

SkillyRealms (or Skilly) for behavior @sgrawsreghawrhgwrhgr
Ark @DBFunx for fixing an error and making it work
Lol wtf, why is everyone doing this, I gave my spawner to TDR then helped Lunacy with his. N.ow people are coding amateur behaviors for it? Okay. Btw just give jeebs a conditionaleffect invincible perm: true
It'll be easier....
Jesus, what did you do to the spacing?
Quote Originally Posted by BlackRayquaza View Post
Jesus, what did you do to the spacing?
hhahahahahahahahahhahahahahahahahahah ikr wtf
codemaide op
resharp op
xd op
This is the most mediocre behavior ive seen in my life. (That was posted atleast).
Quote Originally Posted by MrchickenWingz View Post
i should release mine
wow do it pls i relly ned jebs code becuaz its probaly rely hard to make so plaes send it me to pms!!


How do I make it so it can spawn custom bosses?
Quote Originally Posted by XxNooooooobsxX View Post
How do I make it so it can spawn custom bosses?
1. Learn how to make behaviors, through the many tutorials

2. Make custom boss

3.Make this boss spawn them

new Spawn(


their is really no other way to explain this, once you know how to make behaviors ( someone told me that every knows how, so no need to explain ) it'll be obvious
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?