addogukan5 (06-03-2015),girica15 (08-02-2013),MataSimios (04-21-2014),Shu. (08-02-2013),Tachyonic (08-02-2013)
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.
addogukan5 (06-03-2015),girica15 (08-02-2013),MataSimios (04-21-2014),Shu. (08-02-2013),Tachyonic (08-02-2013)
Your very welcome
This actually goes in the OceanTrench.cs, just a bit more compacted
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.
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")) )))))