Results 1 to 7 of 7
  1. #1
    BARm's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Tel Aviv
    Posts
    406
    Reputation
    32
    Thanks
    1,007
    My Mood
    Inspired

    Coral Gifts Behavior

    So I made this behavior only because I was bored.
    This is not much helpful till someone fix the thessal (Her line + minion spawn + answer and all that)


    Just create a new file named: BehaviorDb.CoralGift.cs
    and put this in it:
    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 _ CoralGift = Behav()
                .Init(0x1705, Behaves("Coral Gift",
    
    
                        loot: new LootBehavior(LootDef.Empty,
                            Tuple.Create(360, new LootDef(0, 3, 0, 8,
                                Tuple.Create(0.10, (ILoot)new ItemLoot("Coral Bow")),
                                Tuple.Create(0.10, (ILoot)new ItemLoot("Wine Cellar Incantation")),
                                Tuple.Create(0.5, (ILoot)new ItemLoot("Coral Juice")),
                                Tuple.Create(0.5, (ILoot)new ItemLoot("Potion of Mana"))
    
                    )))));
        }
    }


    [NOTE: I DONT KNOW IF SOMEONE ELSE ALREADY POSTED IT, SO WHY NOT.]


    If it helped you, please thanks this thread
    Last edited by BARm; 08-02-2013 at 10:29 AM.

  2. The Following 5 Users Say Thank You to BARm For This Useful Post:

    addogukan5 (06-03-2015),girica15 (08-02-2013),MataSimios (04-21-2014),Shu. (08-02-2013),Tachyonic (08-02-2013)

  3. #2
    girica15's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    1
    thanks man

  4. #3
    BARm's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Tel Aviv
    Posts
    406
    Reputation
    32
    Thanks
    1,007
    My Mood
    Inspired
    Your very welcome

  5. #4
    jamiesinn's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    2
    My Mood
    Tired
    This actually goes in the OceanTrench.cs, just a bit more compacted

  6. #5
    BARm's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Tel Aviv
    Posts
    406
    Reputation
    32
    Thanks
    1,007
    My Mood
    Inspired
    Yeah, you can just cut the start and add it to the Thessal code, doesn't matter.

    Well it does matter if you have the sentence working and the activation line working.

  7. #6
    pLolz's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    90
    Reputation
    10
    Thanks
    659
    My Mood
    Amazed
    Uhmm that's not what a coral gift does o.O
    I've got a better code instead!:
    Code:
                .Init(0x1705, Behaves("Coral Gift",
                NullBehavior.Instance,
                new QueuedBehavior(
                    SetAltTexture.Instance(1),
                    CooldownExact.Instance(500),
                    SetAltTexture.Instance(2),
                    CooldownExact.Instance(500),
                    SetAltTexture.Instance(0),
                    CooldownExact.Instance(500)
                    ),
                        loot: new LootBehavior(LootDef.Empty,
                            Tuple.Create(100, new LootDef(1, 3, 0, 3,
                                Tuple.Create(0.05, (ILoot)new ItemLoot("Coral Bow")),
                                Tuple.Create(0.08, (ILoot)new ItemLoot("Coral Silk Armor")),
    
                                Tuple.Create(0.5, (ILoot)new ItemLoot("Potion of Mana")),
    
                                Tuple.Create(0.9, (ILoot)new ItemLoot("Coral Juice"))
                                )))))

  8. #7
    BARm's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Location
    Tel Aviv
    Posts
    406
    Reputation
    32
    Thanks
    1,007
    My Mood
    Inspired
    Quote Originally Posted by pLolz View Post
    cewlllllll
    cewl indeed
    Last edited by BARm; 08-03-2013 at 10:10 AM.

Similar Threads

  1. XP Gift Behavior
    By C453 in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 7
    Last Post: 06-14-2013, 10:09 AM
  2. My New Years Gift.
    By Flawless in forum Spammers Corner
    Replies: 193
    Last Post: 10-16-2009, 05:01 PM
  3. Gift to Dave
    By mostwanted in forum Art & Graphic Design
    Replies: 12
    Last Post: 05-26-2006, 11:43 AM
  4. abnormal behavior
    By naughtynurse in forum Gunz General
    Replies: 5
    Last Post: 03-29-2006, 08:48 PM
  5. Gift for Flawless
    By Chronologix in forum Art & Graphic Design
    Replies: 3
    Last Post: 01-26-2006, 09:13 AM