why is mp such a meme

This commit is contained in:
Amber Sienna committed 2020-03-23 15:26:41 +00:00
1 parent 63f30b4f16
commit 6161d1cf91
2 files changed
+11 -11

No files matched your search

+6 -6
View File
@@ -12,7 +12,7 @@ namespace CalamityMod.Projectiles.Summon
{
public class MiniGuardianAttack : ModProjectile
{
private int ai = -1;
private int ai = 3;
private void updateDamage(int type)
{
Player player = Main.player[projectile.owner];
@@ -32,15 +32,15 @@ namespace CalamityMod.Projectiles.Summon
public override void ReceiveExtraAI(BinaryReader reader)
{
ai = reader.ReadInt32();
if (projectile.owner != Main.myPlayer)
ai = reader.ReadInt32();
}
private void AI(int type, float num535, float num536, Player player)
{
if (Main.myPlayer != projectile.owner)
return;
updateDamage(type);
switch (type)
if (Main.myPlayer == projectile.owner)
updateDamage(type);
switch (ai)
{
case 1: //offensive bab (profaned soul artifact)
case 2: //Empowered bab WEEEEEEEEEE (profaned soul crystal)
+5 -5
View File
@@ -32,15 +32,15 @@ namespace CalamityMod.Projectiles.Summon
public override void ReceiveExtraAI(BinaryReader reader)
{
ai = reader.ReadInt32();
if (projectile.owner != Main.myPlayer)
ai = reader.ReadInt32();
}
private void AI(int type, float num535, float num536, Player player)
{
if (Main.myPlayer != projectile.owner)
return;
updateDamage(type);
switch (type)
if (Main.myPlayer == projectile.owner)
updateDamage(type);
switch (ai)
{
case 1: //defensive bab (profaned soul artifact)
case 2: //Empowered bab WEEEEEEEEEE (profaned soul crystal)