Exemplo n.º 1
0
 private static void DownedAnnihilatorEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     if (Laugicality.soulStoneAbility.JustPressed)
     {
         laugicalityPlayer.AbilityCount++;
         if (laugicalityPlayer.AbilityCount > 2)
         {
             laugicalityPlayer.AbilityCount = 0;
         }
         Main.NewText("You have currently stacked the ability " + laugicalityPlayer.AbilityCount.ToString() + " times.", 225, 225, 225);
     }
     if (laugicalityPlayer.AbilityCount > 0)
     {
         if (NPC.downedMoonlord)
         {
             laugicalityPlayer.DamageBoost(1f * laugicalityPlayer.AbilityCount);
             laugicalityPlayer.player.endurance -= 2f * laugicalityPlayer.AbilityCount;
         }
         else
         {
             laugicalityPlayer.DamageBoost(.25f * laugicalityPlayer.AbilityCount);
             laugicalityPlayer.player.endurance -= .8f * laugicalityPlayer.AbilityCount;
         }
     }
 }
Exemplo n.º 2
0
 private static void DownedAnDioEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     if (Laugicality.zaWarudo > 0)
     {
         laugicalityPlayer.DamageBoost(.15f);
     }
 }
Exemplo n.º 3
0
 private static void DownedEyeOfCthulhuEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     if (!Main.dayTime)
     {
         laugicalityPlayer.DamageBoost(.05f);
     }
 }
Exemplo n.º 4
0
 private static void CurseEffect3(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     if (laugicalityPlayer.player.statLife > laugicalityPlayer.player.statLifeMax2 / 2)
     {
         laugicalityPlayer.DamageBoost(-.2f);
     }
 }
Exemplo n.º 5
0
 private static void DownedEtheriaEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     if (LaugicalityWorld.downedEtheria || laugicalityPlayer.Etherable > 0)
     {
         laugicalityPlayer.DamageBoost(.2f);
     }
 }
Exemplo n.º 6
0
 private static void DownedDukeFishronEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     if (laugicalityPlayer.player.wet || laugicalityPlayer.player.honeyWet || laugicalityPlayer.player.lavaWet)
     {
         laugicalityPlayer.DamageBoost(.1f);
     }
 }
Exemplo n.º 7
0
 private static void DownedSlybertronEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     if (laugicalityPlayer.player.potionDelay > 0)
     {
         laugicalityPlayer.DamageBoost(.1f);
     }
 }
Exemplo n.º 8
0
 private static void DownedRagnarEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     laugicalityPlayer.player.lavaRose = true;
     if (laugicalityPlayer.player.onFire)
     {
         laugicalityPlayer.DamageBoost(.25f);
         laugicalityPlayer.player.statDefense += 15;
     }
 }
Exemplo n.º 9
0
 private static void DownedSteamTrainEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     laugicalityPlayer.SteamTrainEffect   = true;
     laugicalityPlayer.player.longInvince = true;
     if (laugicalityPlayer.player.immuneTime > 0 && laugicalityPlayer.player.immune)
     {
         laugicalityPlayer.DamageBoost(.1f);
     }
 }
Exemplo n.º 10
0
 private static void DownedGolemEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     if (Main.dayTime)
     {
         laugicalityPlayer.player.statDefense += 5;
         laugicalityPlayer.DamageBoost(.05f);
         laugicalityPlayer.player.lifeRegen += 5;
         laugicalityPlayer.player.endurance += .05f;
     }
 }
Exemplo n.º 11
0
        private static void DownedRagnarEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
        {
            laugicalityPlayer.player.lavaImmune = true;
            laugicalityPlayer.player.fireWalk   = true;
            laugicalityPlayer.player.buffImmune[BuffID.OnFire] = true;

            if (laugicalityPlayer.player.HasBuff(BuffID.Wrath))
            {
                laugicalityPlayer.DamageBoost(.05f);
            }
        }
Exemplo n.º 12
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            LaugicalityPlayer modPlayer = player.GetModPlayer <LaugicalityPlayer>();

            if (player.ZoneUnderworldHeight || modPlayer.zoneObsidium)
            {
                modPlayer.DamageBoost(.1f);
                player.statDefense += 5;
            }
            player.lavaImmune = true;
            player.fireWalk   = true;
            player.buffImmune[BuffID.OnFire] = true;
        }
Exemplo n.º 13
0
 private static void DownedDuneSharkronEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     laugicalityPlayer.DamageBoost(.2f * (1 - ((float)laugicalityPlayer.player.statLife / (float)laugicalityPlayer.player.statLifeMax2)));
 }
Exemplo n.º 14
0
 //Curses
 private static void CurseEffect1(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     laugicalityPlayer.DamageBoost(-.05f);
 }
Exemplo n.º 15
0
 private static void DownedSkeletronPrimeEffect(LaugicalityPlayer laugicalityPlayer, bool hideAccessory)
 {
     laugicalityPlayer.DamageBoost((laugicalityPlayer.GetGlobalDamage() - 1) / 2);
 }