Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System;
- using wServer.logic.attack;
- using wServer.logic.loot;
- using wServer.logic.movement;
- using wServer.logic.taunt;
- using System.Text;
- using wServer.logic.cond;
- namespace wServer.logic
- {
- partial class BehaviorDb
- {
- private static _ Bella = Behav()
- .Init(0x7410, Behaves("vlntns Loot Balloon Bella",
- new RunBehaviors(
- Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
- Once.Instance(new SetKey(-1,0)),
- IfEqual.Instance(-1,0,
- new QueuedBehavior(
- CooldownExact.Instance(2500), //takes 2.5 seconds and removes invu. (demageable)
- UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable),
- new SetKey(-1,1)
- ))
- ),
- loot: new LootBehavior(LootDef.Empty,
- Tuple.Create(100, new LootDef(0, 3, 1, 2,
- Tuple.Create(0.01, (ILoot)new ItemLoot("Potion of Vitality")),
- Tuple.Create(0.005, (ILoot)new ItemLoot("Eligible Bachelor Skin")),
- Tuple.Create(0.005, (ILoot)new ItemLoot("Bashing Bride Skin")),
- Tuple.Create(0.01, (ILoot)new ItemLoot("Potion of Life"))
- ))
- )
- ))
- .Init(0x738c, Behaves("Bella Donna", //this is the 1st Bella donna, it transmutes at last.
- new RunBehaviors(
- HpLesser.Instance(84990, new SetKey(-1,0)), //once you hit it, it starts. You will have to demage 10 HP and it starts.
- IfEqual.Instance(-1,0,
- new QueuedBehavior(
- Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
- CooldownExact.Instance(2500),
- UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable), //removes invulnerable.
- Once.Instance(new SetKey(-1,1)),
- IfEqual.Instance(-1,1,
- new RunBehaviors(
- SmoothWandering.Instance(2f, 2f),
- Cooldown.Instance(750, PredictiveMultiAttack.Instance(25, 45 * (float)Math.PI / 180, 4, 0)), //this is first attack part one. Where it does predictive attack at you and shoots 4 projectiles. /same at code below.
- Cooldown.Instance(950, PredictiveMultiAttack.Instance(25, 60 * (float)Math.PI / 180, 4, 0, 3)), //this is first attack part two.
- HpLesser.Instance(75000, new SetKey(-1,2)))), //hp lesser than 75.000 it goes to next phase. (phase 2)
- IfEqual.Instance(-1,2,
- new RunBehaviors(
- SmoothWandering.Instance(2f, 2f), //phase 2
- Cooldown.Instance(2000, RingAttack.Instance(12, 0, 0, projectileIndex: 1)),
- HpLesser.Instance(65000, new SetKey(-1,3)))),
- IfEqual.Instance(-1,3, //phase 3
- new RunBehaviors(
- Cooldown.Instance(2000, RingAttack.Instance(12, 0, 0, projectileIndex: 0)),
- HpLesser.Instance(60000, new SetKey(-1,4)))),
- IfEqual.Instance(-1,4, //phase 4
- new RunBehaviors(
- InfiniteSpiralAttack.Instance(150, 6, 5, projectileIndex: 0),
- HpLesser.Instance(52000, new SetKey(-1,5)))),
- IfEqual.Instance(-1,5,
- new RunBehaviors(
- new Transmute(0x739c) //switches into next bella donna, AKA. (rage phase)
- ))))
- )))
- .Init(0x739c, Behaves("Bella Donna two", //ragin bella.
- new RunBehaviors(
- HpLesser.Instance(28000, new SetKey(-1,1)),
- Once.Instance(new SetKey(-1,0)),
- IfEqual.Instance(-1,0,
- new RunBehaviors(
- Once.Instance(SpawnMinionImmediate.Instance(0x739a,2,5,5)))), //spawns the buds.
- IfEqual.Instance(-1,1,
- new QueuedBehavior(
- SetConditionEffect.Instance(ConditionEffectIndex.Invincible), //does undemageable.
- new SimpleTaunt("YOU WILL NOT LEAVE HERE ALIVE!"),
- CooldownExact.Instance(5000), //5 seconds.
- SpawnMinionImmediate.Instance(0x7410,1,1,1), //loot balloon.
- Cooldown.Instance(1),
- Die.Instance //suicide part.
- ))
- )))
- .Init(0x739a, Behaves("vlntns Bella Buds",
- new RunBehaviors(
- StrictCircling.Instance(2, 4, 0x739c), //theese only circles 2nd bella donna and spawns by it.
- Once.Instance(SetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)),
- CooldownExact.Instance(1500), //invu. in 1.5 second.
- UnsetConditionEffect.Instance(ConditionEffectIndex.Invulnerable)
- ))
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement