Ejemplo n.º 1
0
        public void PaintWorld(WorldLayer layer)
        {
            var actors = Hud.Game.Actors;

            foreach (var actor in actors)
            {
                if (actor.SummonerAcdDynamicId == Hud.Game.Me.SummonerId)
                {
                    switch (actor.SnoActor.Sno)
                    {
                    case ActorSnoEnum._wizard_hydrahead_lightning_3:  // light
                    case ActorSnoEnum._wizard_hydrahead_arcane_3:     // arcane
                    case ActorSnoEnum._wizard_hydrahead_fire2_1:
                    case ActorSnoEnum._wizard_hydrahead_frost_2:
                        HydraDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(2f, 2f, 0), null);
                        break;

                    case ActorSnoEnum._wizard_hydrahead_big:     // mammoth
                        HydraDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                        break;

                    case ActorSnoEnum._dh_sentry:
                    case ActorSnoEnum._dh_sentry_addsmissiles:
                    case ActorSnoEnum._dh_sentry_addsduration:
                    case ActorSnoEnum._dh_sentry_tether:
                    case ActorSnoEnum._dh_sentry_addsheals:
                    case ActorSnoEnum._dh_sentry_addsshield:
                        if (!Hud.Game.Me.Powers.BuffIsActive(208610, 0))
                        {
                            SentryDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                        }
                        else
                        {
                            SentryWithCustomEngineeringDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                        }

                        break;

                    case ActorSnoEnum._x1_wizard_blackhole_cosmicgate_proxy:
                    case ActorSnoEnum._x1_wizard_blackhole_eventhorizon_proxy:
                    case ActorSnoEnum._x1_wizard_blackhole_supermassive_proxy:
                    case ActorSnoEnum._x1_wizard_blackhole_absolutezero_proxy:
                    case ActorSnoEnum._x1_wizard_blackhole_spellsteal_proxy:
                        BlackHoleDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, 5.2f), null);
                        break;

                    case ActorSnoEnum._witchdoctor_spiritwalk_dummy_female:
                    case ActorSnoEnum._witchdoctor_spiritwalk_dummy:
                    {
                        var skill = Hud.Game.Me.Powers.UsedWitchDoctorPowers.SpiritWalk;
                        if (skill != null)
                        {
                            if (skill.Rune == 1)
                            {
                                SpiritWalkWithJauntDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                            else
                            {
                                SpiritWalkDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                        }
                    }

                    break;

                    case ActorSnoEnum._witchdoctor_bigbadvoodoo_fetish:
                    case ActorSnoEnum._witchdoctor_bigbadvoodoo_fetish_blue:
                    case ActorSnoEnum._witchdoctor_bigbadvoodoo_fetish_purple:
                    case ActorSnoEnum._witchdoctor_bigbadvoodoo_fetish_red:
                    case ActorSnoEnum._witchdoctor_bigbadvoodoo_fetish_yellow:
                    {
                        var skill = Hud.Game.Me.Powers.UsedWitchDoctorPowers.BigBadVoodoo;
                        if (skill != null)
                        {
                            if (skill.Rune == 1)
                            {
                                BigBadVoodooWithJungleDrumsDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                            else
                            {
                                BigBadVoodooDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                        }
                    }

                    break;
                    }
                }

                switch (actor.SnoActor.Sno)
                {
                case ActorSnoEnum._x1_wd_piranha_tornado_proxy:
                    PiranhadoDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;

                case ActorSnoEnum._monk_innersanctuaryrune_duration_proxy:
                    InnerSanctuarySanctifiedGroundDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;

                case ActorSnoEnum._x1_monk_innersanctuaryrune_forbidden_proxy:
                case ActorSnoEnum._x1_monk_innersanctuaryrune_intervene_proxy:
                case ActorSnoEnum._x1_monk_innersanctuary_proxy:
                    InnerSanctuaryDefaultDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;

                case ActorSnoEnum._x1_monk_innersanctuaryrune_healing_proxy:
                    InnerSanctuarySafeHavenDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;

                case ActorSnoEnum._x1_monk_innersanctuaryrune_protect_proxy:
                    InnerSanctuaryTempleOfProtecteionDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;
                }
            }
        }
Ejemplo n.º 2
0
        public void PaintWorld(WorldLayer layer)
        {
            var actors = Hud.Game.Actors;

            foreach (var actor in actors)
            {
                if (actor.SummonerAcdDynamicId == Hud.Game.Me.SummonerId)
                {
                    switch (actor.SnoActor.Sno)
                    {
                    case 81230:     // light
                    case 81232:     // arcane
                    case 325807:
                    case 83024:
                        HydraDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(2f, 2f, 0), null);
                        break;

                    case 83959:     // mammoth
                        HydraDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                        break;

                    case 141402:
                    case 150025:
                    case 150024:
                    case 168815:
                    case 150026:
                    case 150027:
                        if (!Hud.Game.Me.Powers.BuffIsActive(208610, 0))
                        {
                            SentryDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                        }
                        else
                        {
                            SentryWithCustomEngineeringDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                        }
                        break;

                    case 341426:
                    case 341411:
                    case 341381:
                    case 341396:
                    case 341441:
                        BlackHoleDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, 5.2f), null);
                        break;

                    case 107705:
                    case 106584:
                    {
                        var skill = Hud.Game.Me.Powers.UsedWitchDoctorPowers.SpiritWalk;
                        if (skill != null)
                        {
                            if (skill.Rune == 1)
                            {
                                SpiritWalkWithJauntDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                            else
                            {
                                SpiritWalkDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                        }
                    }
                    break;

                    case 117574:
                    case 182276:
                    case 182278:
                    case 182271:
                    case 182283:
                    {
                        var skill = Hud.Game.Me.Powers.UsedWitchDoctorPowers.BigBadVoodoo;
                        if (skill != null)
                        {
                            if (skill.Rune == 1)
                            {
                                BigBadVoodooWithJungleDrumsDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                            else
                            {
                                BigBadVoodooDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                        }
                    }
                    break;
                    }
                }
                switch (actor.SnoActor.Sno)
                {
                case 357846:
                    PiranhadoDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;

                case 149848:
                    InnerSanctuarySanctifiedGroundDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;

                case 320136:
                case 319583:
                case 319337:
                    InnerSanctuaryDefaultDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;

                case 320135:
                    InnerSanctuarySafeHavenDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;

                case 319776:
                    InnerSanctuaryTempleOfProtecteionDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;
                }
            }
        }
Ejemplo n.º 3
0
 private void HydraPaint(WorldLayer layer, IActor actor)
 {
     HydraDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
 }
Ejemplo n.º 4
0
        public void PaintWorld(WorldLayer layer)
        {
            if ((Hud.Game.MapMode == MapMode.WaypointMap) || (Hud.Game.MapMode == MapMode.ActMap) || (Hud.Game.MapMode == MapMode.Map))
            {
                return;
            }
            var actors = Hud.Game.Actors;

            foreach (var actor in actors)
            {
                if (actor.SummonerAcdDynamicId == Hud.Game.Me.SummonerId)
                {
                    switch (actor.SnoActor.Sno)
                    {
                    case (ActorSnoEnum)81230:     // light
                    case (ActorSnoEnum)81232:     // arcane
                    case (ActorSnoEnum)325807:
                    case (ActorSnoEnum)83024:
                        HydraDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(2f, 2f, 0), null);
                        break;

                    case (ActorSnoEnum)83959:     // mammoth
                        HydraDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                        break;

                    case (ActorSnoEnum)141402:
                    case (ActorSnoEnum)150025:
                    case (ActorSnoEnum)150024:
                    case (ActorSnoEnum)168815:
                    case (ActorSnoEnum)150026:
                    case (ActorSnoEnum)150027:
                        if (!Hud.Game.Me.Powers.BuffIsActive(208610, 0))
                        {
                            //if (Sentry == true) SentryDecorator.Paint(layer, actor, actor.FloorCoordinate, null); SentryMapDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            if (SentryTimer == true)
                            {
                                SentryTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                        }
                        else
                        {
                            if (SentryTimer == true)
                            {
                                SentryWithCustomEngineeringTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                        }
                        break;

                    case (ActorSnoEnum)107705:
                    case (ActorSnoEnum)106584:
                    {
                        var skill = Hud.Game.Me.Powers.UsedSkills.Where(x => x.SnoPower.Sno == 106237).FirstOrDefault();
                        if (skill != null && SpiritWalkTimer == true)
                        {
                            if (skill.Rune == 1)
                            {
                                SpiritWalkWithJauntTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                            else
                            {
                                SpiritWalkTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                            }
                        }
                    }
                    break;

                    case (ActorSnoEnum)181880:
                        if (SpiritBarragePhantasm == true)
                        {
                            SpiritBarragePhantasmDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                        }
                        if (SpiritBarragePhantasmTimer == true)
                        {
                            SpiritBarragePhantasmTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                        }
                        break;
                    }
                }
                switch (actor.SnoActor.Sno)
                {
                case (ActorSnoEnum)141402:
                case (ActorSnoEnum)150025:
                case (ActorSnoEnum)150024:
                case (ActorSnoEnum)168815:
                    if (Sentry == true)
                    {
                        SentryMapDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)150026:
                case (ActorSnoEnum)150027:
                    if (Sentry == true)
                    {
                        SentryDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    SentryMapDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    break;

                case (ActorSnoEnum)6553:
                case (ActorSnoEnum)112697:
                case (ActorSnoEnum)112572:
                case (ActorSnoEnum)112585:
                case (ActorSnoEnum)112808:
                case (ActorSnoEnum)112560:
                    if (SlowTime == true)
                    {
                        SlowTimeDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (SlowTimeTimer == true)
                    {
                        SlowTimeTimerDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, 5.2f), null);
                    }
                    break;

                case (ActorSnoEnum)341381:
                    if (BlackHole == true)
                    {
                        BlackHoleSupermassiveDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (BlackHoleTimer == true)
                    {
                        BlackHoleTimerDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, 5.2f), null);
                    }
                    break;

                case (ActorSnoEnum)336410:
                case (ActorSnoEnum)341426:
                case (ActorSnoEnum)341411:
                case (ActorSnoEnum)341396:
                case (ActorSnoEnum)341441:
                    if (BlackHole == true)
                    {
                        BlackHoleDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (BlackHoleTimer == true)
                    {
                        BlackHoleTimerDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, 5.2f), null);
                    }
                    break;

                case (ActorSnoEnum)348308:
                case (ActorSnoEnum)356987:
                case (ActorSnoEnum)358018:
                case (ActorSnoEnum)358653:
                    if (Piranhas == true)
                    {
                        PiranhasDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (PiranhasTimer == true)
                    {
                        PiranhasTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)357846:
                    if (Piranhas == true)
                    {
                        PiranhasDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (PiranhasTimer == true)
                    {
                        PiranhasPiranhadoTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)320135:
                case (ActorSnoEnum)320136:
                case (ActorSnoEnum)319583:
                case (ActorSnoEnum)319776:
                case (ActorSnoEnum)319337:
                    if (InnerSanctuary == true)
                    {
                        InnerSanctuaryDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (InnerSanctuaryTimer == true)
                    {
                        InnerSanctuaryTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)230674:
                    if (MarkedForDeath == true)
                    {
                        MarkedForDeathDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (MarkedForDeathTimer == true)
                    {
                        MarkedForDeathTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)69308:
                case (ActorSnoEnum)105958:
                case (ActorSnoEnum)105953:
                case (ActorSnoEnum)105957:
                case (ActorSnoEnum)105955:
                case (ActorSnoEnum)105956:
                    if (GraspoftheDead == true)
                    {
                        GraspoftheDeadDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (GraspoftheDeadTimer == true)
                    {
                        GraspoftheDeadTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)117574:
                    if (BigBadVoodoo == true)
                    {
                        BigBadVoodooWithJungleDrumsDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (BigBadVoodooTimer == true)
                    {
                        BigBadVoodooWithJungleDrumsTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)182276:
                case (ActorSnoEnum)182278:
                case (ActorSnoEnum)182271:
                case (ActorSnoEnum)182283:
                    if (BigBadVoodoo == true)
                    {
                        BigBadVoodooDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (BigBadVoodooTimer == true)
                    {
                        BigBadVoodooTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)217142:
                    if (Wizard_Meteor == true)
                    {
                        Wizard_Meteor_Pending_costDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (Wizard_MeteorTimer == true)
                    {
                        Wizard_Meteor_Pending_costTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)86790:
                    if (Wizard_Meteor == true)
                    {
                        Wizard_Meteor_PendingDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (Wizard_MeteorTimer == true)
                    {
                        Wizard_Meteor_PendingTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)217457:
                    if (Wizard_Meteor == true)
                    {
                        Wizard_Meteor_Pending_longerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (Wizard_MeteorTimer == true)
                    {
                        Wizard_Meteor_Pending_longerTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)92030:
                    if (Wizard_Meteor == true)
                    {
                        Wizard_Meteor_Pending_frostDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (Wizard_MeteorTimer == true)
                    {
                        Wizard_Meteor_Pending_frostTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)91440:
                    if (Wizard_Meteor == true)
                    {
                        Wizard_Meteor_Pending_RuneDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (Wizard_MeteorTimer == true)
                    {
                        Wizard_Meteor_Pending_RuneTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;

                case (ActorSnoEnum)215853:
                    if (Wizard_Meteor == true)
                    {
                        Wizard_Meteor_Pending_addDamageDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    if (Wizard_MeteorTimer == true)
                    {
                        Wizard_Meteor_Pending_addDamageTimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                    }
                    break;
                }
            }
        }