roxcalibur fixes and random allcrit things
This commit is contained in:
1 parent
08a68ffb16
commit
726a70f0ba
4 files changed
+34
-37
No files matched your search
@@ -26,10 +26,7 @@ namespace CalamityMod.Items.Armor
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.meleeCrit += 3;
|
||||
player.magicCrit += 3;
|
||||
player.rangedCrit += 3;
|
||||
player.Calamity().throwingCrit += 3;
|
||||
player.Calamity().AllCritBoost(3);
|
||||
player.moveSpeed += 0.1f;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,10 +27,7 @@ namespace CalamityMod.Items.Armor
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.endurance += 0.05f;
|
||||
player.meleeCrit += 5;
|
||||
player.rangedCrit += 5;
|
||||
player.Calamity().throwingCrit += 5;
|
||||
player.magicCrit += 5;
|
||||
player.Calamity().AllCritBoost(5);
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
{
|
||||
player.statDefense += 5;
|
||||
|
||||
@@ -25,10 +25,7 @@ namespace CalamityMod.Items.Armor
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.meleeCrit += 3;
|
||||
player.magicCrit += 3;
|
||||
player.rangedCrit += 3;
|
||||
player.Calamity().throwingCrit += 3;
|
||||
player.Calamity().AllCritBoost(3);
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -233,7 +233,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
if (Roxcooldown >= 600)
|
||||
{
|
||||
Roxcooldown = 0;
|
||||
//"Why yes i did refresh the cooldown whatcha gonna do about it?" -cpntinues on OnHitNPC
|
||||
//"Why yes i did refresh the cooldown whatcha gonna do about it?" -continues on OnHitNPC
|
||||
Didrefresh = true;
|
||||
}
|
||||
return false;
|
||||
@@ -257,18 +257,21 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
if (item.useStyle == 4)
|
||||
{
|
||||
//"Well you did refresh the cooldown but like i dont want it to be wasted on an enemy hit so imma ask you for a refund"
|
||||
if (Didrefresh)
|
||||
{
|
||||
Roxcooldown = 600;
|
||||
Didrefresh = false;
|
||||
}
|
||||
//End the alt attack
|
||||
player.itemAnimation = 0;
|
||||
player.itemTime = 0;
|
||||
RoxAlt = false;
|
||||
RoxCanUse = 0;
|
||||
player.velocity.Y = -16f;
|
||||
if (player.whoAmI == Main.myPlayer)
|
||||
{
|
||||
//"Well you did refresh the cooldown but like i dont want it to be wasted on a player hit so imma ask you for a refund"
|
||||
if (Didrefresh)
|
||||
{
|
||||
Roxcooldown = 600;
|
||||
Didrefresh = false;
|
||||
}
|
||||
//End the alt attack
|
||||
player.itemAnimation = 0;
|
||||
player.itemTime = 0;
|
||||
RoxAlt = false;
|
||||
RoxCanUse = 0;
|
||||
player.velocity.Y = -16f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -276,18 +279,21 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
if (item.useStyle == 4)
|
||||
{
|
||||
//"Well you did refresh the cooldown but like i dont want it to be wasted on a player hit so imma ask you for a refund"
|
||||
if (Didrefresh)
|
||||
{
|
||||
Roxcooldown = 600;
|
||||
Didrefresh = false;
|
||||
}
|
||||
//End the alt attack
|
||||
player.itemAnimation = 0;
|
||||
player.itemTime = 0;
|
||||
RoxAlt = false;
|
||||
RoxCanUse = 0;
|
||||
player.velocity.Y = -16f;
|
||||
if (player.whoAmI == Main.myPlayer)
|
||||
{
|
||||
//"Well you did refresh the cooldown but like i dont want it to be wasted on a player hit so imma ask you for a refund"
|
||||
if (Didrefresh)
|
||||
{
|
||||
Roxcooldown = 600;
|
||||
Didrefresh = false;
|
||||
}
|
||||
//End the alt attack
|
||||
player.itemAnimation = 0;
|
||||
player.itemTime = 0;
|
||||
RoxAlt = false;
|
||||
RoxCanUse = 0;
|
||||
player.velocity.Y = -16f;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user