Results 1 to 5 of 5
  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

    Ice Cave Main Dungeon (PART 1/2)

    Hey guys!

    So i decided to make ice cave (yey) for Club559. Let me explain very short how theese codes works:
    There is the mini ice bats swarming with the big bat and ofc mini yetis and big yetis. There is also a portal dropper called: "Ice Cave Portal Dropper"
    When all Big Yetis and Big Bats are killed it will activate, remove Invulnerable and drop the inner portal. Ihavent added inner+codes but thats the part 2 of this thread.

    So here is the XMLs for Addition.xml:

    Code:
     <Object type="0x1978" id="Mini Yeti">
        <Group>IceCave</Group>
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars8x8rEncounters</File>
          <Index>118</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>100</Size>
        <MaxHitPoints>2890</MaxHitPoints>
        <Defense>25</Defense>
        <XpMult>1.1</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>100</Damage>
          <Speed>100</Speed>
          <LifetimeMS>800</LifetimeMS>
          <Wavy/>
        </Projectile>
    
      </Object>
    
    
      <Object type="0x1977" id="Big Yeti">
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars16x16rEncounters</File>
          <Index>50</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>120</Size>
        <MaxHitPoints>7000</MaxHitPoints>
        <Defense>40</Defense>
        <XpMult>1.4</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>70</Damage>
          <Speed>35</Speed>
          <LifetimeMS>1200</LifetimeMS>
        </Projectile>
    
    
    
    
    
      </Object>
      <Object type="0x1980" id="Mini Ice Bat">
        <Group>IceCave</Group>
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars8x8rEncounters</File>
          <Index>119</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>100</Size>
        <MaxHitPoints>1200</MaxHitPoints>
        <Defense>30</Defense>
        <XpMult>1.1</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>10</Damage>
          <Speed>35</Speed>
          <LifetimeMS>800</LifetimeMS>
          <Wavy/>
        </Projectile>
    
      </Object>
    
    
      <Object type="0x1979" id="Big Ice Bat">
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars16x16rEncounters</File>
          <Index>51</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>120</Size>
        <MaxHitPoints>4240</MaxHitPoints>
        <Defense>40</Defense>
        <XpMult>1.4</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>25</Damage>
          <Speed>35</Speed>
          <LifetimeMS>1200</LifetimeMS>
        </Projectile>
    
    
    
    
    
      </Object>
      <Object type="0x1981" id="Ice Cave Portal Dropper">
        <Class>Character</Class>
        <Enemy/>
        <NoMiniMap/>
        <StasisImmune/>
    
        <Texture>
          <File>invisible</File>
          <Index>0</Index>
        </Texture>
    
        <MaxHitPoints>5000</MaxHitPoints>
        <Defense>0</Defense>
        <XpMult>0</XpMult>
    
        <Size>100</Size>
        <ShadowSize>0</ShadowSize>
    
    
        <HitSound>monster/chicken_hit</HitSound>
        <DeathSound>monster/chicken_death</DeathSound>
    
        <Projectile id="0">
          <ObjectId>Pink Dot</ObjectId>
          <Damage>100</Damage>
          <Speed>65</Speed>
          <Size>120</Size>
          <LifetimeMS>2000</LifetimeMS>
          <MultiHit />
        </Projectile>
      </Object>
    Go make a file in: Wserver>logic>db called: BehaviorDb.IceCave.cs

    and paste in this:

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using wServer.realm;
    using wServer.logic.attack;
    using wServer.logic.movement;
    using wServer.logic.loot;
    using wServer.logic.taunt;
    using wServer.logic.cond;
    
    namespace wServer.logic
    {
        partial class BehaviorDb
        {
            static _ IceCave = Behav()
    .Init(0x1977, Behaves("Big Yeti",
                     new RunBehaviors(
                     Once.Instance(SpawnMinionImmediate.Instance(0x1978, 5, 1, 2)),
                     Once.Instance(SpawnMinionImmediate.Instance(0x1978, 5, 1, 2)),               
                     SmoothWandering.Instance(2f, 2f),
                     Chasing.Instance(5, 5, 1, null),
                     Cooldown.Instance(860, MultiAttack.Instance(10, 15 * (float)Math.PI / 360, 3, 0, projectileIndex: 0))
                     ),
                     loot: new LootBehavior(LootDef.Empty,
                     Tuple.Create(100, new LootDef(0, 3, 0, 8,
                     Tuple.Create(0.01, (ILoot)new ItemLoot("Health Potion"))
                     )))))
                      .Init(0x1978, Behaves("Mini Yeti",
                     new RunBehaviors(
                     SmoothWandering.Instance(2f, 2f),
                     Chasing.Instance(5, 5, 1, null),
                     Cooldown.Instance(3000, SimpleAttack.Instance(12, 0))
                      ))
                        )
    .Init(0x1979, Behaves("Big Ice Bat",
                     new RunBehaviors(
                     Once.Instance(SpawnMinionImmediate.Instance(0x1980, 5, 1, 2)),
                     Once.Instance(SpawnMinionImmediate.Instance(0x1980, 5, 1, 2)),               
                     SmoothWandering.Instance(2f, 2f),                
                     Cooldown.Instance(860, MultiAttack.Instance(10, 15 * (float)Math.PI / 360, 3, 0, projectileIndex: 0))
                     ),
                     loot: new LootBehavior(LootDef.Empty,
                     Tuple.Create(100, new LootDef(0, 3, 0, 8,
                     Tuple.Create(0.01, (ILoot)new ItemLoot("Health Potion"))
                     )))))
                       .Init(0x1980, Behaves("Mini Ice Bat",
                     new RunBehaviors(
                     SmoothWandering.Instance(2f, 2f),
                     Chasing.Instance(5, 5, 1, null),
                     Cooldown.Instance(800, MultiAttack.Instance(10, 30 * (float)Math.PI / 360, 6, 0, projectileIndex: 0))
                       ))
                        )
    .Init(0x1981, Behaves("Inner Portal Dropper",
     new RunBehaviors(               
                     Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),                 
                     If.Instance(IsEntityNotPresent.Instance(60, 0x1977), Once.Instance(new SetKey(-1, 1))),
                     IfEqual.Instance(-1, 1,
                      new QueuedBehavior(
                          StateOnce.Instance(new SimpleTaunt("Innocent souls. So delicious. You have sated me. Now come, i shall give you your reward.")),
                           UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)
                          ))
                          ),
                        condBehaviors: new ConditionalBehavior[] {
                            new DeathPortal(0x1971, 100)}                    
                    ));
        }
    }

    and in the buttom of the behavior code you should see 0x1971.

    here is the XMl for that portal:

    Code:
    <Object type="0x1971" id="Inner Portal">
        <Class>Portal</Class>
        <IntergamePortal/>
        <DungeonName>The Inner Sanctum</DungeonName>
        <Texture>
          <File>lofiObj6</File>
          <Index>0xcd</Index>
        </Texture>
      </Object>

    Please leave a thanks to me and enjoy the behaviors! This is all coded by me! Part 2 incoming soon!


    -ENJOY!

  2. The Following 3 Users Say Thank You to lkdjnfoskjednfblksjdfn For This Useful Post:

    Chazstic (05-08-2015),sebastianfra12 (05-08-2015),~V~ (05-07-2015)

  3. #2
    Slendergo's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    382
    Reputation
    17
    Thanks
    250
    My Mood
    Inspired
    Quote Originally Posted by thenired View Post
    Hey guys!

    So i decided to make ice cave (yey) for Club559. Let me explain very short how theese codes works:
    There is the mini ice bats swarming with the big bat and ofc mini yetis and big yetis. There is also a portal dropper called: "Ice Cave Portal Dropper"
    When all Big Yetis and Big Bats are killed it will activate, remove Invulnerable and drop the inner portal. Ihavent added inner+codes but thats the part 2 of this thread.

    So here is the XMLs for Addition.xml:

    Code:
     <Object type="0x1978" id="Mini Yeti">
        <Group>IceCave</Group>
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars8x8rEncounters</File>
          <Index>118</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>100</Size>
        <MaxHitPoints>2890</MaxHitPoints>
        <Defense>25</Defense>
        <XpMult>1.1</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>100</Damage>
          <Speed>100</Speed>
          <LifetimeMS>800</LifetimeMS>
          <Wavy/>
        </Projectile>
    
      </Object>
    
    
      <Object type="0x1977" id="Big Yeti">
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars16x16rEncounters</File>
          <Index>50</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>120</Size>
        <MaxHitPoints>7000</MaxHitPoints>
        <Defense>40</Defense>
        <XpMult>1.4</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>70</Damage>
          <Speed>35</Speed>
          <LifetimeMS>1200</LifetimeMS>
        </Projectile>
    
    
    
    
    
      </Object>
      <Object type="0x1980" id="Mini Ice Bat">
        <Group>IceCave</Group>
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars8x8rEncounters</File>
          <Index>119</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>100</Size>
        <MaxHitPoints>1200</MaxHitPoints>
        <Defense>30</Defense>
        <XpMult>1.1</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>10</Damage>
          <Speed>35</Speed>
          <LifetimeMS>800</LifetimeMS>
          <Wavy/>
        </Projectile>
    
      </Object>
    
    
      <Object type="0x1979" id="Big Ice Bat">
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars16x16rEncounters</File>
          <Index>51</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>120</Size>
        <MaxHitPoints>4240</MaxHitPoints>
        <Defense>40</Defense>
        <XpMult>1.4</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>25</Damage>
          <Speed>35</Speed>
          <LifetimeMS>1200</LifetimeMS>
        </Projectile>
    
    
    
    
    
      </Object>
      <Object type="0x1981" id="Ice Cave Portal Dropper">
        <Class>Character</Class>
        <Enemy/>
        <NoMiniMap/>
        <StasisImmune/>
    
        <Texture>
          <File>invisible</File>
          <Index>0</Index>
        </Texture>
    
        <MaxHitPoints>5000</MaxHitPoints>
        <Defense>0</Defense>
        <XpMult>0</XpMult>
    
        <Size>100</Size>
        <ShadowSize>0</ShadowSize>
    
    
        <HitSound>monster/chicken_hit</HitSound>
        <DeathSound>monster/chicken_death</DeathSound>
    
        <Projectile id="0">
          <ObjectId>Pink Dot</ObjectId>
          <Damage>100</Damage>
          <Speed>65</Speed>
          <Size>120</Size>
          <LifetimeMS>2000</LifetimeMS>
          <MultiHit />
        </Projectile>
      </Object>
    Go make a file in: Wserver>logic>db called: BehaviorDb.IceCave.cs

    and paste in this:

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using wServer.realm;
    using wServer.logic.attack;
    using wServer.logic.movement;
    using wServer.logic.loot;
    using wServer.logic.taunt;
    using wServer.logic.cond;
    
    namespace wServer.logic
    {
        partial class BehaviorDb
        {
            static _ IceCave = Behav()
    .Init(0x1977, Behaves("Big Yeti",
                     new RunBehaviors(
                     Once.Instance(SpawnMinionImmediate.Instance(0x1978, 5, 1, 2)),
                     Once.Instance(SpawnMinionImmediate.Instance(0x1978, 5, 1, 2)),               
                     SmoothWandering.Instance(2f, 2f),
                     Chasing.Instance(5, 5, 1, null),
                     Cooldown.Instance(860, MultiAttack.Instance(10, 15 * (float)Math.PI / 360, 3, 0, projectileIndex: 0))
                     ),
                     loot: new LootBehavior(LootDef.Empty,
                     Tuple.Create(100, new LootDef(0, 3, 0, 8,
                     Tuple.Create(0.01, (ILoot)new ItemLoot("Health Potion"))
                     )))))
                      .Init(0x1978, Behaves("Mini Yeti",
                     new RunBehaviors(
                     SmoothWandering.Instance(2f, 2f),
                     Chasing.Instance(5, 5, 1, null),
                     Cooldown.Instance(3000, SimpleAttack.Instance(12, 0))
                      ))
                        )
    .Init(0x1979, Behaves("Big Ice Bat",
                     new RunBehaviors(
                     Once.Instance(SpawnMinionImmediate.Instance(0x1980, 5, 1, 2)),
                     Once.Instance(SpawnMinionImmediate.Instance(0x1980, 5, 1, 2)),               
                     SmoothWandering.Instance(2f, 2f),                
                     Cooldown.Instance(860, MultiAttack.Instance(10, 15 * (float)Math.PI / 360, 3, 0, projectileIndex: 0))
                     ),
                     loot: new LootBehavior(LootDef.Empty,
                     Tuple.Create(100, new LootDef(0, 3, 0, 8,
                     Tuple.Create(0.01, (ILoot)new ItemLoot("Health Potion"))
                     )))))
                       .Init(0x1980, Behaves("Mini Ice Bat",
                     new RunBehaviors(
                     SmoothWandering.Instance(2f, 2f),
                     Chasing.Instance(5, 5, 1, null),
                     Cooldown.Instance(800, MultiAttack.Instance(10, 30 * (float)Math.PI / 360, 6, 0, projectileIndex: 0))
                       ))
                        )
    .Init(0x1981, Behaves("Inner Portal Dropper",
     new RunBehaviors(               
                     Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),                 
                     If.Instance(IsEntityNotPresent.Instance(60, 0x1977), Once.Instance(new SetKey(-1, 1))),
                     IfEqual.Instance(-1, 1,
                      new QueuedBehavior(
                          StateOnce.Instance(new SimpleTaunt("Innocent souls. So delicious. You have sated me. Now come, i shall give you your reward.")),
                           UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)
                          ))
                          ),
                        condBehaviors: new ConditionalBehavior[] {
                            new DeathPortal(0x1971, 100)}                    
                    ));
        }
    }

    and in the buttom of the behavior code you should see 0x1971.

    here is the XMl for that portal:

    Code:
    <Object type="0x1971" id="Inner Portal">
        <Class>Portal</Class>
        <IntergamePortal/>
        <DungeonName>The Inner Sanctum</DungeonName>
        <Texture>
          <File>lofiObj6</File>
          <Index>0xcd</Index>
        </Texture>
      </Object>

    Please leave a thanks to me and enjoy the behaviors! This is all coded by me! Part 2 incoming soon!


    -ENJOY!
    wbt the spawn portal when entites are zero. then it would be better :3

  4. #3
    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 Slendergo View Post
    wbt the spawn portal when entites are zero. then it would be better :3
    Jezzes slender, you and perfection XD yea i'll change it. I also said to VoOoLoX i was going to update theese behaviors because they could be better but well. Already done it.. Gonna release sometime im finishing part 2 :P

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

    Chazstic (05-08-2015)

  6. #4

  7. #5
    sebastianfra12's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    361
    Reputation
    21
    Thanks
    75
    My Mood
    Inspired
    Quote Originally Posted by thenired View Post
    Hey guys!

    So i decided to make ice cave (yey) for Club559. Let me explain very short how theese codes works:
    There is the mini ice bats swarming with the big bat and ofc mini yetis and big yetis. There is also a portal dropper called: "Ice Cave Portal Dropper"
    When all Big Yetis and Big Bats are killed it will activate, remove Invulnerable and drop the inner portal. Ihavent added inner+codes but thats the part 2 of this thread.

    So here is the XMLs for Addition.xml:

    Code:
     <Object type="0x1978" id="Mini Yeti">
        <Group>IceCave</Group>
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars8x8rEncounters</File>
          <Index>118</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>100</Size>
        <MaxHitPoints>2890</MaxHitPoints>
        <Defense>25</Defense>
        <XpMult>1.1</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>100</Damage>
          <Speed>100</Speed>
          <LifetimeMS>800</LifetimeMS>
          <Wavy/>
        </Projectile>
    
      </Object>
    
    
      <Object type="0x1977" id="Big Yeti">
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars16x16rEncounters</File>
          <Index>50</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>120</Size>
        <MaxHitPoints>7000</MaxHitPoints>
        <Defense>40</Defense>
        <XpMult>1.4</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>70</Damage>
          <Speed>35</Speed>
          <LifetimeMS>1200</LifetimeMS>
        </Projectile>
    
    
    
    
    
      </Object>
      <Object type="0x1980" id="Mini Ice Bat">
        <Group>IceCave</Group>
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars8x8rEncounters</File>
          <Index>119</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>100</Size>
        <MaxHitPoints>1200</MaxHitPoints>
        <Defense>30</Defense>
        <XpMult>1.1</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>10</Damage>
          <Speed>35</Speed>
          <LifetimeMS>800</LifetimeMS>
          <Wavy/>
        </Projectile>
    
      </Object>
    
    
      <Object type="0x1979" id="Big Ice Bat">
        <Enemy/>
        <Class>Character</Class>
        <AnimatedTexture>
          <File>chars16x16rEncounters</File>
          <Index>51</Index>
        </AnimatedTexture>
        <HitSound>monster/cyclops_hit</HitSound>
        <DeathSound>monster/cyclops_death</DeathSound>
    
        <Size>120</Size>
        <MaxHitPoints>4240</MaxHitPoints>
        <Defense>40</Defense>
        <XpMult>1.4</XpMult>
    
        <Projectile id="0">
          <ObjectId>Ice Burst</ObjectId>
          <Damage>25</Damage>
          <Speed>35</Speed>
          <LifetimeMS>1200</LifetimeMS>
        </Projectile>
    
    
    
    
    
      </Object>
      <Object type="0x1981" id="Ice Cave Portal Dropper">
        <Class>Character</Class>
        <Enemy/>
        <NoMiniMap/>
        <StasisImmune/>
    
        <Texture>
          <File>invisible</File>
          <Index>0</Index>
        </Texture>
    
        <MaxHitPoints>5000</MaxHitPoints>
        <Defense>0</Defense>
        <XpMult>0</XpMult>
    
        <Size>100</Size>
        <ShadowSize>0</ShadowSize>
    
    
        <HitSound>monster/chicken_hit</HitSound>
        <DeathSound>monster/chicken_death</DeathSound>
    
        <Projectile id="0">
          <ObjectId>Pink Dot</ObjectId>
          <Damage>100</Damage>
          <Speed>65</Speed>
          <Size>120</Size>
          <LifetimeMS>2000</LifetimeMS>
          <MultiHit />
        </Projectile>
      </Object>
    Go make a file in: Wserver>logic>db called: BehaviorDb.IceCave.cs

    and paste in this:

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using wServer.realm;
    using wServer.logic.attack;
    using wServer.logic.movement;
    using wServer.logic.loot;
    using wServer.logic.taunt;
    using wServer.logic.cond;
    
    namespace wServer.logic
    {
        partial class BehaviorDb
        {
            static _ IceCave = Behav()
    .Init(0x1977, Behaves("Big Yeti",
                     new RunBehaviors(
                     Once.Instance(SpawnMinionImmediate.Instance(0x1978, 5, 1, 2)),
                     Once.Instance(SpawnMinionImmediate.Instance(0x1978, 5, 1, 2)),               
                     SmoothWandering.Instance(2f, 2f),
                     Chasing.Instance(5, 5, 1, null),
                     Cooldown.Instance(860, MultiAttack.Instance(10, 15 * (float)Math.PI / 360, 3, 0, projectileIndex: 0))
                     ),
                     loot: new LootBehavior(LootDef.Empty,
                     Tuple.Create(100, new LootDef(0, 3, 0, 8,
                     Tuple.Create(0.01, (ILoot)new ItemLoot("Health Potion"))
                     )))))
                      .Init(0x1978, Behaves("Mini Yeti",
                     new RunBehaviors(
                     SmoothWandering.Instance(2f, 2f),
                     Chasing.Instance(5, 5, 1, null),
                     Cooldown.Instance(3000, SimpleAttack.Instance(12, 0))
                      ))
                        )
    .Init(0x1979, Behaves("Big Ice Bat",
                     new RunBehaviors(
                     Once.Instance(SpawnMinionImmediate.Instance(0x1980, 5, 1, 2)),
                     Once.Instance(SpawnMinionImmediate.Instance(0x1980, 5, 1, 2)),               
                     SmoothWandering.Instance(2f, 2f),                
                     Cooldown.Instance(860, MultiAttack.Instance(10, 15 * (float)Math.PI / 360, 3, 0, projectileIndex: 0))
                     ),
                     loot: new LootBehavior(LootDef.Empty,
                     Tuple.Create(100, new LootDef(0, 3, 0, 8,
                     Tuple.Create(0.01, (ILoot)new ItemLoot("Health Potion"))
                     )))))
                       .Init(0x1980, Behaves("Mini Ice Bat",
                     new RunBehaviors(
                     SmoothWandering.Instance(2f, 2f),
                     Chasing.Instance(5, 5, 1, null),
                     Cooldown.Instance(800, MultiAttack.Instance(10, 30 * (float)Math.PI / 360, 6, 0, projectileIndex: 0))
                       ))
                        )
    .Init(0x1981, Behaves("Inner Portal Dropper",
     new RunBehaviors(               
                     Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),                 
                     If.Instance(IsEntityNotPresent.Instance(60, 0x1977), Once.Instance(new SetKey(-1, 1))),
                     IfEqual.Instance(-1, 1,
                      new QueuedBehavior(
                          StateOnce.Instance(new SimpleTaunt("Innocent souls. So delicious. You have sated me. Now come, i shall give you your reward.")),
                           UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)
                          ))
                          ),
                        condBehaviors: new ConditionalBehavior[] {
                            new DeathPortal(0x1971, 100)}                    
                    ));
        }
    }

    and in the buttom of the behavior code you should see 0x1971.

    here is the XMl for that portal:

    Code:
    <Object type="0x1971" id="Inner Portal">
        <Class>Portal</Class>
        <IntergamePortal/>
        <DungeonName>The Inner Sanctum</DungeonName>
        <Texture>
          <File>lofiObj6</File>
          <Index>0xcd</Index>
        </Texture>
      </Object>

    Please leave a thanks to me and enjoy the behaviors! This is all coded by me! Part 2 incoming soon!


    -ENJOY!
    Good job Thank you very much ;3

Similar Threads

  1. Ice Cave Ground
    By SniperBuckian in forum Realm of the Mad God Help & Requests
    Replies: 2
    Last Post: 03-21-2015, 02:48 PM
  2. Replies: 49
    Last Post: 02-28-2013, 03:14 PM
  3. [WTS] [Runescape] Main | 125M+ | 367K+ D Tokens | 89 Dungeoneering | 88 Strength | 79 Magic
    By Ravallo in forum Elite Selling / Trading / Buying
    Replies: 31
    Last Post: 02-28-2013, 03:14 PM
  4. [HELP] Best Dungeon/Cave with lots of EXP
    By userambote in forum Realm of the Mad God Discussions
    Replies: 8
    Last Post: 11-21-2012, 07:00 PM
  5. [Paypal][RSGP] Selling level 136 main| 85 Dungeoneering| Maxed Melee|
    By itz me_ in forum Selling Accounts/Keys/Items
    Replies: 1
    Last Post: 03-17-2011, 07:43 PM