Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
This commit is contained in:
commit
2eb5b237ca
2 files changed
+3
-3
No files matched your search
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.damage = 60;
|
||||
item.damage = 25;
|
||||
item.mana = 10;
|
||||
item.width = 52;
|
||||
item.height = 52;
|
||||
|
||||
@@ -357,9 +357,9 @@ namespace CalamityMod.Projectiles.Summon
|
||||
projectile.ai[1] = attackCooldown;
|
||||
double num11 = 12.0;
|
||||
Vector2 vector2 = new Vector2(projectile.position.X + (float) projectile.width * 0.5f, (float) ((double) projectile.position.Y + (double) (projectile.height / 2) - 8.0));
|
||||
float num12 = num5 - vector2.X + (float) Main.rand.Next(-20, 21);
|
||||
float num12 = num5 - vector2.X + (float) Main.rand.Next(-10, 11);
|
||||
float num14 = (float) ((double) (Math.Abs(num12) * 0.1f) * (double) Main.rand.Next(0, 100) * (1.0 / 1000.0));
|
||||
float num15 = num6 - vector2.Y + (float) Main.rand.Next(-20, 21) - num14;
|
||||
float num15 = num6 - vector2.Y + (float) Main.rand.Next(-10, 11) - num14;
|
||||
double num16 = Math.Sqrt((double) num12 * (double) num12 + (double) num15 * (double) num15);
|
||||
float num17 = (float) (num11 / num16);
|
||||
float SpeedX = num12 * num17;
|
||||
|
||||
Reference in new issue
Block a user