Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
This commit is contained in:
commit
a797495c67
12 files changed
+13
-11
No files matched your search
@@ -1505,7 +1505,7 @@ namespace CalamityMod.CalPlayer
|
||||
cloudVelocity.Normalize();
|
||||
cloudVelocity *= Main.rand.NextFloat(0f, 1f);
|
||||
int projectile = Projectile.NewProjectile(player.Center, cloudVelocity, ModContent.ProjectileType<PlaguedFuelPackCloud>(), 20, 0, player.whoAmI, 0, 0);
|
||||
Main.projectile[projectile].timeLeft = Main.rand.Next(75, 125);
|
||||
Main.projectile[projectile].timeLeft = Main.rand.Next(180, 240);
|
||||
}
|
||||
|
||||
for (int i = 0; i < 3; i++)
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
}
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.damage = 40;
|
||||
item.damage = 30;
|
||||
item.magic = true;
|
||||
item.mana = 7;
|
||||
item.width = 28;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
public class DragonPow : ModItem
|
||||
{
|
||||
public static int BaseDamage = 4000;
|
||||
public static int BaseDamage = 3900;
|
||||
public static float Speed = 13f;
|
||||
public static float ReturnSpeed = 20f;
|
||||
public static float SparkSpeed = 0.6f;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
|
||||
//Weapon attribute constants
|
||||
|
||||
public static readonly int BaseDamage = 5660;
|
||||
public static readonly int BaseDamage = 5110;
|
||||
|
||||
public static readonly float TrueMeleeBoost = 2.5f;
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 14;
|
||||
item.damage = 160;
|
||||
item.damage = 130;
|
||||
item.noMelee = true;
|
||||
item.noUseGraphic = true;
|
||||
item.autoReuse = true;
|
||||
@@ -38,6 +38,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.PaladinsHammer);
|
||||
recipe.AddIngredient(ModContent.ItemType<PwnagehammerMelee>());
|
||||
recipe.AddIngredient(ModContent.ItemType<CalamityDust>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<CoreofChaos>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<CruptixBar>(), 5);
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
recipe.AddIngredient(ModContent.ItemType<AccretionDisk>());
|
||||
recipe.AddIngredient(ModContent.ItemType<ShatteredSun>());
|
||||
recipe.AddIngredient(ModContent.ItemType<ExecutionersBlade>());
|
||||
recipe.AddIngredient(ModContent.ItemType<Pwnagehammer>());
|
||||
recipe.AddIngredient(ModContent.ItemType<FrostcrushValari>());
|
||||
recipe.AddIngredient(ModContent.ItemType<PhantasmalRuin>());
|
||||
recipe.AddIngredient(ModContent.ItemType<AuricBar>(), 4);
|
||||
recipe.AddTile(ModContent.TileType<DraedonsForge>());
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public override void SafeSetDefaults()
|
||||
{
|
||||
item.width = 46;
|
||||
item.damage = 22;
|
||||
item.damage = 18;
|
||||
item.crit += 4;
|
||||
item.noMelee = true;
|
||||
item.noUseGraphic = true;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public override void SafeSetDefaults()
|
||||
{
|
||||
item.width = 14;
|
||||
item.damage = 160;
|
||||
item.damage = 130;
|
||||
item.noMelee = true;
|
||||
item.noUseGraphic = true;
|
||||
item.autoReuse = true;
|
||||
@@ -38,6 +38,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
ModRecipe recipe = new ModRecipe(mod);
|
||||
recipe.AddIngredient(ItemID.PaladinsHammer);
|
||||
recipe.AddIngredient(ModContent.ItemType<Pwnagehammer>());
|
||||
recipe.AddIngredient(ModContent.ItemType<CalamityDust>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<CoreofChaos>(), 5);
|
||||
recipe.AddIngredient(ModContent.ItemType<CruptixBar>(), 5);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 135 B |
Binary file not shown.
|
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 115 B |
@@ -31,7 +31,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
//Rotation code
|
||||
projectile.rotation += projectile.velocity.X * 0.05f * projectile.direction;
|
||||
//Gravity
|
||||
projectile.velocity.Y += 0.1f;
|
||||
projectile.velocity.Y += 0.05f;
|
||||
if (projectile.velocity.Y > 16f)
|
||||
projectile.velocity.Y = 16f;
|
||||
//Dust
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
projectile.localAI[1]++;
|
||||
if (projectile.Calamity().stealthStrike == true)
|
||||
{
|
||||
if ((double) projectile.localAI[1] >= 30.0)
|
||||
if (projectile.localAI[1] >= 30f)
|
||||
{
|
||||
Vector2 velocity = projectile.velocity;
|
||||
Vector2 vector2_1 = new Vector2((float) Main.rand.Next(-100, 101), (float) Main.rand.Next(-100, 101));
|
||||
@@ -58,7 +58,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((double) projectile.localAI[1] >= 60.0)
|
||||
if (projectile.localAI[1] >= 60f)
|
||||
{
|
||||
Vector2 velocity = projectile.velocity;
|
||||
Vector2 vector2_1 = new Vector2((float) Main.rand.Next(-100, 101), (float) Main.rand.Next(-100, 101));
|
||||
|
||||
Reference in new issue
Block a user