Example #1
0
 private void ThoriumBoosts(Player player)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>(Thorium);
     ThoriumPlayer.symphonicCrit += 6;
     ThoriumPlayer.radiantBoost  += 0.1f;
     ThoriumPlayer.radiantCrit   += 6;
     ThoriumPlayer.healBonus     += 5;
 }
Example #2
0
 private void ThoriumBoosts(Player player)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>(Thorium);
     ThoriumPlayer.symphonicDamage += 0.15f;
     ThoriumPlayer.symphonicCrit   += 10;
     ThoriumPlayer.radiantBoost    += 0.15f;
     ThoriumPlayer.radiantCrit     += 10;
 }
Example #3
0
 private void ThoriumBoosts(Player player, ref int buffIndex)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>(Thorium);
     Thorium.GetBuff("CreativityDrop").Update(player, ref buffIndex);
     Thorium.GetBuff("EarwormBuff").Update(player, ref buffIndex);
     Thorium.GetBuff("InspirationReach").Update(player, ref buffIndex);
     ThoriumPlayer.symphonicCrit += 6;
     ThoriumPlayer.radiantBoost  += 0.1f;
     ThoriumPlayer.radiantCrit   += 6;
     ThoriumPlayer.healBonus     += 5;
 }
 private void ThoriumBoosts(Player player)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>();
     if (((AlchemistNPCPlayer)player.GetModPlayer(mod, "AlchemistNPCPlayer")).AutoinjectorMK2 == false)
     {
         ThoriumPlayer.symphonicCrit -= 25;
         ThoriumPlayer.radiantCrit   -= 25;
     }
     if (((AlchemistNPCPlayer)player.GetModPlayer(mod, "AlchemistNPCPlayer")).AutoinjectorMK2)
     {
         ThoriumPlayer.symphonicCrit -= 15;
         ThoriumPlayer.radiantCrit   -= 15;
     }
 }
Example #5
0
 private void ThoriumBoosts(Player player, int dc)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>(Thorium);
     if (dc == 0 || dc == 2)
     {
         ThoriumPlayer.symphonicDamage += 0.1f;
         ThoriumPlayer.radiantBoost    += 0.1f;
     }
     if (dc == 1 || dc == 2)
     {
         ThoriumPlayer.symphonicCrit += 10;
         ThoriumPlayer.radiantCrit   += 10;
     }
 }
Example #6
0
 private void ThoriumBoosts(Player player)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>(Thorium);
     ThoriumPlayer.symphonicDamage += 0.15f;
     ThoriumPlayer.radiantBoost    += 0.15f;
     if (((AlchemistNPCPlayer)player.GetModPlayer(mod, "AlchemistNPCPlayer")).AutoinjectorMK2 == false)
     {
         ThoriumPlayer.symphonicCrit /= 2;
         ThoriumPlayer.radiantCrit   /= 2;
     }
     if (((AlchemistNPCPlayer)player.GetModPlayer(mod, "AlchemistNPCPlayer")).AutoinjectorMK2)
     {
         ThoriumPlayer.symphonicCrit /= 2;
         ThoriumPlayer.radiantCrit   /= 2;
         ThoriumPlayer.symphonicCrit += 10;
         ThoriumPlayer.radiantCrit   += 10;
     }
 }
Example #7
0
 private void ThoriumBoosts(Player player, int c)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>();
     if (c == 0)
     {
         ThoriumPlayer.symphonicCrit += 10;
         ThoriumPlayer.radiantCrit   += 10;
     }
     if (c == 1)
     {
         ThoriumPlayer.symphonicCrit += 5;
         ThoriumPlayer.radiantCrit   += 5;
     }
     if (c == 1)
     {
         ThoriumPlayer.symphonicCrit += 4;
         ThoriumPlayer.radiantCrit   += 4;
     }
 }
Example #8
0
 private void ThoriumBoosts(Player player)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>(Thorium);
     ThoriumPlayer.symphonicCrit += 2;
     ThoriumPlayer.radiantCrit   += 2;
     if (ModLoader.GetMod("CalamityMod") != null)
     {
         if (!player.HasBuff(ModLoader.GetMod("CalamityMod").BuffType("Fab")))
         {
             ThoriumPlayer.symphonicDamage += 0.14f;
             ThoriumPlayer.radiantBoost    += 0.14f;
         }
         if (player.HasBuff(ModLoader.GetMod("CalamityMod").BuffType("Fab")))
         {
             ThoriumPlayer.symphonicDamage += 0.24f;
             ThoriumPlayer.radiantBoost    += 0.24f;
         }
     }
 }
Example #9
0
 private void ThoriumBoosts(Player player)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>();
     ThoriumPlayer.symphonicCrit += p;
     ThoriumPlayer.radiantCrit   += p;
 }
Example #10
0
 private void ThoriumDBoosts(Player player)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>(Thorium);
     ThoriumPlayer.symphonicDamage += 0.08f;
     ThoriumPlayer.radiantBoost    += 0.08f;
 }
Example #11
0
 private void ThoriumBoosts(Player player, ref int buffIndex)
 {
     ThoriumMod.ThoriumPlayer ThoriumPlayer = player.GetModPlayer <ThoriumMod.ThoriumPlayer>();
     ThoriumPlayer.symphonicCrit += 10;
     ThoriumPlayer.radiantCrit   += 10;
 }