Partial Davy Jones Behavior

Posts 1–9 of 9 · Page 1 of 1
Partial Davy Jones Behavior
This was made by me and some help from @rangewolf5
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 _ Davy = Behav()
            .Init(0x0e32, Behaves("Davy Jones",
            new RunBehaviors(
                SimpleWandering.Instance(2, 5),
                        Cooldown.Instance(2000, MultiAttack.Instance(25, 10 * (float)Math.PI / 180, 5, 0, projectileIndex: 0)),
                        Cooldown.Instance(4000, MultiAttack.Instance(25, 10 * (float)Math.PI / 180, 1, 0, projectileIndex: 1)),
                        Cooldown.Instance(4000, MultiAttack.Instance(25, 10 * (float)Math.PI / 180, 1, 0, projectileIndex: 1))
                        ),
            HpLesserPercent.Instance(0.3f,
            new RunBehaviors(
                        Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
                        Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Paralyzed)),
                        Once.Instance(new SimpleTaunt("Avast, ye filthy mongrel!")),
                        Cooldown.Instance(15000, Once.Instance(UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable))), 
                        Cooldown.Instance(15000, Once.Instance(UnsetConditionEffect.Instance(ConditionEffectIndex.Paralyzed)))
                       )),
        	                      
            HpLesserPercent.Instance(0.6f,
            new RunBehaviors(
                        Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
                        Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Paralyzed)),
                        Once.Instance(new SimpleTaunt("On your knees ye slimey sea slurp!")),
                        Cooldown.Instance(15000, Once.Instance(UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable))), 
                        Cooldown.Instance(15000, Once.Instance(UnsetConditionEffect.Instance(ConditionEffectIndex.Paralyzed))),
                        Once.Instance(new SimpleTaunt("Be gone with ye"))
                       )),
                       
        	             
                        
                                                        
                        loot: new LootBehavior(LootDef.Empty,
                       Tuple.Create(100, new LootDef(0, 5, 0, 10,
                            Tuple.Create(0.01, (ILoot)new ItemLoot("Spirit Dagger")),
                            Tuple.Create(0.03, (ILoot)new ItemLoot("Spectral Cloth Armor")),
                            Tuple.Create(0.01, (ILoot)new ItemLoot("Ghostly Prism")),
                            Tuple.Create(0.99, (ILoot)new ItemLoot("Potion of Wisdom")),
                            Tuple.Create(0.03, (ILoot)new ItemLoot("Captain's Ring")),
                            Tuple.Create(0.85, (ILoot)new ItemLoot("Ghost Pirate Rum")),
                            Tuple.Create(0.20, (ILoot)new ItemLoot("Potion of Attack")),
                            Tuple.Create(0.09, (ILoot)new ItemLoot("Wine Cellar Incantation")),
                            Tuple.Create(0.20, (ILoot)new ItemLoot("Desolation Armor"))
                        ))
                    )
                       ));
    }
}
This is not what a Davy Jones does O_O You forgot the Barrels, and that
Quote Originally Posted by sparzinrotmg View Post
This is not what a Davy Jones does O_O You forgot the Barrels, and that
The title says PRTIAL. What do you expect?
Chill dude.. Me and @rangewolf5 are working on it -_- It does say Partial in the title.
Opsss, didnt saw that xD sorry
Its fine. Lol. @rangewolf5 hasn't been on today.. so it may take up to 5-8 days to complete
@sacredmike im on now btw @Stellar Spark that is temporary for his code, im doing the attacks since hes not so good at using ()'s and such :P
True that :P I really know how to change loots... A little bit about ()'s and stuff.. Just not multi-attackes.
I thought that Davy does RingAttacks, not MultiAttacks. But since I don't have too much experience with Davy, I can't say much.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us