enormous sweeping changes for 0.11.5

This commit is contained in:
Ozzatron committed 2019-10-09 23:17:17 -04:00
1 parent 5e7255baed
commit 8a493d474f
1206 files changed
+2198 -2199

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.Amidias
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().amidiasBlessing = true;
player.Calamity().amidiasBlessing = true;
player.breath = player.breathMax + 91;
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ namespace CalamityMod.Buffs.Amidias
public override void Update(Player player, ref int buffIndex)
{
CalamityPlayer modPlayer = player.GetCalamityPlayer();
CalamityPlayer modPlayer = player.Calamity();
if (player.ownedProjectileCounts[mod.ProjectileType("HermitCrab")] > 0)
{
modPlayer.hCrab = true;
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.Amidias
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).clamDebuff = true;
npc.Calamity().clamDebuff = true;
}
}
}
+3 -3
View File
@@ -11,7 +11,7 @@ namespace CalamityMod.Buffs
{
if (type == BuffID.Shine)
{
player.GetCalamityPlayer().shine = true;
player.Calamity().shine = true;
}
else if (type == BuffID.IceBarrier)
{
@@ -23,11 +23,11 @@ namespace CalamityMod.Buffs
}
else if (type == BuffID.Rage)
{
player.GetCalamityPlayer().throwingCrit += 10;
player.Calamity().throwingCrit += 10;
}
else if (type == BuffID.WellFed)
{
player.GetCalamityPlayer().throwingCrit += 2;
player.Calamity().throwingCrit += 2;
}
else if (type >= BuffID.NebulaUpDmg1 && type <= BuffID.NebulaUpDmg3)
{
+2 -2
View File
@@ -21,12 +21,12 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().aFlames = true;
player.Calamity().aFlames = true;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).aFlames = true;
npc.Calamity().aFlames = true;
}
}
}
+2 -2
View File
@@ -20,12 +20,12 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().astralInfection = true;
player.Calamity().astralInfection = true;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).astralInfection = true;
npc.Calamity().astralInfection = true;
}
}
}
+2 -2
View File
@@ -19,12 +19,12 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().bFlames = true;
player.Calamity().bFlames = true;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).bFlames = true;
npc.Calamity().bFlames = true;
}
}
}
+2 -2
View File
@@ -19,12 +19,12 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().bBlood = true;
player.Calamity().bBlood = true;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).bBlood = true;
npc.Calamity().bBlood = true;
}
}
}
+2 -2
View File
@@ -19,12 +19,12 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().cDepth = true;
player.Calamity().cDepth = true;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).cDepth = true;
npc.Calamity().cDepth = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).dFlames = true;
npc.Calamity().dFlames = true;
}
}
}
+2 -2
View File
@@ -20,12 +20,12 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().gsInferno = true;
player.Calamity().gsInferno = true;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).gsInferno = true;
npc.Calamity().gsInferno = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().hInferno = true;
player.Calamity().hInferno = true;
}
}
}
+2 -2
View File
@@ -19,12 +19,12 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().hFlames = true;
player.Calamity().hFlames = true;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).hFlames = true;
npc.Calamity().hFlames = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().lethalLavaBurn = true;
player.Calamity().lethalLavaBurn = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).nightwither = true;
npc.Calamity().nightwither = true;
}
}
}
+2 -2
View File
@@ -20,12 +20,12 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().pFlames = true;
player.Calamity().pFlames = true;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).pFlames = true;
npc.Calamity().pFlames = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().shadowflame = true;
player.Calamity().shadowflame = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).pShred = true;
npc.Calamity().pShred = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.DoTDebuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().vHex = true;
player.Calamity().vHex = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().bloodyMary = true;
player.Calamity().bloodyMary = true;
}
}
}
+1 -1
View File
@@ -20,7 +20,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().blueCandle = true;
player.Calamity().blueCandle = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().caribbeanRum = true;
player.Calamity().caribbeanRum = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().cinnamonRoll = true;
player.Calamity().cinnamonRoll = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().everclear = true;
player.Calamity().everclear = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().evergreenGin = true;
player.Calamity().evergreenGin = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().fabsolVodka = true;
player.Calamity().fabsolVodka = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().fireball = true;
player.Calamity().fireball = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().grapeBeer = true;
player.Calamity().grapeBeer = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().margarita = true;
player.Calamity().margarita = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().moonshine = true;
player.Calamity().moonshine = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().moscowMule = true;
player.Calamity().moscowMule = true;
}
}
}
+1 -1
View File
@@ -20,7 +20,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().pinkCandle = true;
player.Calamity().pinkCandle = true;
}
}
}
+1 -1
View File
@@ -20,7 +20,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().purpleCandle = true;
player.Calamity().purpleCandle = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().redWine = true;
player.Calamity().redWine = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().rum = true;
player.Calamity().rum = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().screwdriver = true;
player.Calamity().screwdriver = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().starBeamRye = true;
player.Calamity().starBeamRye = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().tequila = true;
player.Calamity().tequila = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().tequilaSunrise = true;
player.Calamity().tequilaSunrise = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().trippy = true;
player.Calamity().trippy = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().vodka = true;
player.Calamity().vodka = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().whiskey = true;
player.Calamity().whiskey = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().whiteWine = true;
player.Calamity().whiteWine = true;
}
}
}
+2 -2
View File
@@ -21,12 +21,12 @@ namespace CalamityMod.Buffs.Fabsol
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().yellowCandle = true;
player.Calamity().yellowCandle = true;
}
public override void Update(NPC npc, ref int buffIndex)
{
npc.GetGlobalNPC<CalamityGlobalNPC>(mod).yellowCandle = true;
npc.Calamity().yellowCandle = true;
}
}
}
+3 -3
View File
@@ -1,6 +1,6 @@
using Terraria;
using CalamityMod.Items.Mounts;
using Terraria;
using Terraria.ModLoader;
using CalamityMod.CalPlayer;
namespace CalamityMod.Buffs.MountBuffs
{
@@ -16,7 +16,7 @@ namespace CalamityMod.Buffs.MountBuffs
public override void Update(Player player, ref int buffIndex)
{
player.mount.SetMount(mod.MountType<Items.Mounts.PhuppersChair>(), player);
player.mount.SetMount(ModContent.MountType<PhuppersChair>(), player);
player.buffTime[buffIndex] = 10;
}
}
+2 -3
View File
@@ -1,6 +1,5 @@
using Terraria;
using Terraria.ModLoader;
using CalamityMod.CalPlayer;
namespace CalamityMod.Buffs.MountBuffs
{
@@ -16,9 +15,9 @@ namespace CalamityMod.Buffs.MountBuffs
public override void Update(Player player, ref int buffIndex)
{
player.mount.SetMount(mod.MountType<Items.Mounts.Fab>(), player);
player.mount.SetMount(ModContent.MountType<Items.Mounts.Fab>(), player);
player.buffTime[buffIndex] = 10;
player.GetCalamityPlayer().fab = true;
player.Calamity().fab = true;
}
}
}
+4 -4
View File
@@ -1,6 +1,6 @@
using Terraria;
using CalamityMod.Items.Mounts;
using Terraria;
using Terraria.ModLoader;
using CalamityMod.CalPlayer;
namespace CalamityMod.Buffs.MountBuffs
{
@@ -16,9 +16,9 @@ namespace CalamityMod.Buffs.MountBuffs
public override void Update(Player player, ref int buffIndex)
{
player.mount.SetMount(mod.MountType<Items.Mounts.Crysthamyr>(), player);
player.mount.SetMount(ModContent.MountType<Crysthamyr>(), player);
player.buffTime[buffIndex] = 10;
player.GetCalamityPlayer().crysthamyr = true;
player.Calamity().crysthamyr = true;
}
}
}
+3 -3
View File
@@ -1,6 +1,6 @@
using Terraria;
using CalamityMod.Items.Mounts;
using Terraria;
using Terraria.ModLoader;
using CalamityMod.CalPlayer;
namespace CalamityMod.Buffs.MountBuffs
{
@@ -16,7 +16,7 @@ namespace CalamityMod.Buffs.MountBuffs
public override void Update(Player player, ref int buffIndex)
{
player.mount.SetMount(mod.MountType<Items.Mounts.SquishyBean>(), player);
player.mount.SetMount(ModContent.MountType<SquishyBean>(), player);
player.buffTime[buffIndex] = 10;
}
}
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.PetBuffs
public override void Update(Player player, ref int buffIndex)
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().akato = true;
player.Calamity().akato = true;
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("Akato")] <= 0;
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
{
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.PetBuffs
public override void Update(Player player, ref int buffIndex)
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().bearPet = true;
player.Calamity().bearPet = true;
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("Bear")] <= 0;
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
{
+1 -1
View File
@@ -20,7 +20,7 @@ namespace CalamityMod.Buffs.PetBuffs
public override void Update(Player player, ref int buffIndex)
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().perfmini = true;
player.Calamity().perfmini = true;
bool PetProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("PerforaMini")] <= 0;
if (PetProjectileNotSpawned && player.whoAmI == Main.myPlayer)
{
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.PetBuffs
public override void Update(Player player, ref int buffIndex)
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().brimling = true;
player.Calamity().brimling = true;
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("Brimling")] <= 0;
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
{
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PetBuffs
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().chibii = true;
player.Calamity().chibii = true;
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("ChibiiDoggo")] <= 0;
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.PetBuffs
public override void Update(Player player, ref int buffIndex)
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().trashMan = true;
player.Calamity().trashMan = true;
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("DannyDevito")] <= 0;
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
{
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.PetBuffs
public override void Update(Player player, ref int buffIndex)
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().fox = true;
player.Calamity().fox = true;
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("Fox")] <= 0;
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
{
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.PetBuffs
public override void Update(Player player, ref int buffIndex)
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().kendra = true;
player.Calamity().kendra = true;
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("Kendra")] <= 0;
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
{
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.PetBuffs
public override void Update(Player player, ref int buffIndex)
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().leviPet = true;
player.Calamity().leviPet = true;
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("Levi")] <= 0;
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
{
+1 -1
View File
@@ -17,7 +17,7 @@ namespace CalamityMod.Buffs.PetBuffs
public override void Update(Player player, ref int buffIndex)
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().sirenPet = true;
player.Calamity().sirenPet = true;
bool petProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("SirenYoung")] <= 0;
if (petProjectileNotSpawned && player.whoAmI == Main.myPlayer)
{
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Buffs.PetBuffs
public override void Update(Player player, ref int buffIndex)
{
player.buffTime[buffIndex] = 18000;
player.GetCalamityPlayer().thirdSage = true;
player.Calamity().thirdSage = true;
bool PetProjectileNotSpawned = player.ownedProjectileCounts[mod.ProjectileType("ThirdSage")] <= 0;
if (PetProjectileNotSpawned && player.whoAmI == Main.myPlayer)
{
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().aWeapon = true;
player.Calamity().aWeapon = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().anechoicCoating = true;
player.Calamity().anechoicCoating = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().armorCrumbling = true;
player.Calamity().armorCrumbling = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().armorShattering = true;
player.Calamity().armorShattering = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().astralInjection = true;
player.Calamity().astralInjection = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().bounding = true;
player.Calamity().bounding = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().cadence = true;
player.Calamity().cadence = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().calcium = true;
player.Calamity().calcium = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().ceaselessHunger = true;
player.Calamity().ceaselessHunger = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().draconicSurge = true;
player.Calamity().draconicSurge = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().gravityNormalizer = true;
player.Calamity().gravityNormalizer = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().holyWrath = true;
player.Calamity().holyWrath = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().invincible = true;
player.Calamity().invincible = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().omniscience = true;
player.Calamity().omniscience = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().penumbra = true;
player.Calamity().penumbra = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().photosynthesis = true;
player.Calamity().photosynthesis = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().profanedRage = true;
player.Calamity().profanedRage = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().soaring = true;
player.Calamity().soaring = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().tScale = true;
player.Calamity().tScale = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().triumph = true;
player.Calamity().triumph = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().yPower = true;
player.Calamity().yPower = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().zen = true;
player.Calamity().zen = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.PotionBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().zerg = true;
player.Calamity().zerg = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Shrines
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().trinketOfChiBuff = true;
player.Calamity().trinketOfChiBuff = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Shrines
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().corrEffigy = true;
player.Calamity().corrEffigy = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.Shrines
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().crimEffigy = true;
player.Calamity().crimEffigy = true;
}
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ namespace CalamityMod.Buffs.Shrines
public override void Update(Player player, ref int buffIndex)
{
CalamityPlayer modPlayer = player.GetCalamityPlayer();
CalamityPlayer modPlayer = player.Calamity();
if (player.ownedProjectileCounts[mod.ProjectileType("GladiatorSword")] > 0)
{
modPlayer.glSword = true;
+4 -4
View File
@@ -1,6 +1,6 @@
using Terraria;
using CalamityMod.Items.Mounts;
using Terraria;
using Terraria.ModLoader;
using CalamityMod.CalPlayer;
namespace CalamityMod.Buffs.Shrines
{
@@ -16,9 +16,9 @@ namespace CalamityMod.Buffs.Shrines
public override void Update(Player player, ref int buffIndex)
{
player.mount.SetMount(mod.MountType<Items.Mounts.OnyxExcavator>(), player);
player.mount.SetMount(ModContent.MountType<OnyxExcavator>(), player);
player.buffTime[buffIndex] = 10;
player.GetCalamityPlayer().onyxExcavator = true;
player.Calamity().onyxExcavator = true;
}
}
}
+4 -4
View File
@@ -1,6 +1,6 @@
using Terraria;
using CalamityMod.Items.Mounts;
using Terraria;
using Terraria.ModLoader;
using CalamityMod.CalPlayer;
namespace CalamityMod.Buffs.Shrines
{
@@ -16,9 +16,9 @@ namespace CalamityMod.Buffs.Shrines
public override void Update(Player player, ref int buffIndex)
{
player.mount.SetMount(mod.MountType<Items.Mounts.AngryDog>(), player);
player.mount.SetMount(ModContent.MountType<AngryDog>(), player);
player.buffTime[buffIndex] = 10;
player.GetCalamityPlayer().angryDog = true;
player.Calamity().angryDog = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().abyssalDivingSuitPlates = true;
player.Calamity().abyssalDivingSuitPlates = true;
}
}
}
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().adrenalineMode = true;
player.Calamity().adrenalineMode = true;
}
public override void ModifyBuffTip(ref string tip, ref int rare)
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().afflicted = true;
player.Calamity().afflicted = true;
}
}
}
+1 -1
View File
@@ -20,7 +20,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().chaosCandle = true;
player.Calamity().chaosCandle = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().cFreeze = true;
player.Calamity().cFreeze = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().godSlayerCooldown = true;
player.Calamity().godSlayerCooldown = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().graxDefense = true;
player.Calamity().graxDefense = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().hAttack = true;
player.Calamity().hAttack = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().sirenIce = true;
player.Calamity().sirenIce = true;
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().molten = true;
player.Calamity().molten = true;
}
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().mushy = true;
player.Calamity().mushy = true;
}
}
}
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Buffs.StatBuffs
public override void Update(Player player, ref int buffIndex)
{
player.GetCalamityPlayer().rageMode = true;
player.Calamity().rageMode = true;
}
public override void ModifyBuffTip(ref string tip, ref int rare)
Loaded 100 of 1206 files, more files were not shown because too many files have changed in this diff. Show more