-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 1 new weapon, "Burning Desire." The Stellar Nova Gauge's visuals have been overhauled. Fixed Spatial Disk alert messages being repeated in Multiplayer. The Spatial Disk will now animate in the inventory when new dialogue is available. Added a sound effect upon attacking with the Konpaku Katana. Additionally, shortened projectile range. Overhauled Neo Dealmaker: now has a faster charge attack that does increased damage, faster attacks, new sound effects, and new visual effects. Changes have been made to the following weapons: Takonomicon now scales with boss progression, and Void Octopus scaling has been reduced from 7% to 1%. On-hit damage of Eldritch blast has decreased, but the speed of minion projectiles has increased. Ashen Ambition will now always return you to your original position after execution. Sparkblossom's Beacon drones will now explode with 2x base damage instead of 3x.
- Loading branch information
1 parent
d19921f
commit 39ea40d
Showing
80 changed files
with
2,648 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
using Microsoft.Xna.Framework; | ||
using Microsoft.Xna.Framework.Graphics; | ||
using Terraria; | ||
using Terraria.DataStructures; | ||
using Terraria.ID; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
using static Terraria.ModLoader.ModContent; | ||
|
||
namespace StarsAbove.Buffs.BurningDesire | ||
{ | ||
public class BoilingBloodBuff : ModBuff | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Boiling Blood"); | ||
Description.SetDefault("Blazing strength empowers you, granting 30% increased damage, 30 defense, attack speed based on missing HP, and follow-up attacks" + | ||
"\nHowever, health regeneration is disabled and you are slowly losing HP over time" + | ||
"\n'It's not hot enough here!'"); | ||
Main.buffNoTimeDisplay[Type] = false; | ||
Main.debuff[Type] = false; //Add this so the nurse doesn't remove the buff when healing | ||
BuffID.Sets.NurseCannotRemoveDebuff[Type] = true; | ||
} | ||
int lifeDrainTimer; | ||
public override void Update(Player player, ref int buffIndex) | ||
{ | ||
player.GetDamage(DamageClass.Generic) += 0.3f; | ||
player.statDefense += 30; | ||
player.GetAttackSpeed(DamageClass.Generic) += (float)(player.statLifeMax2 - player.statLife) / player.statLifeMax2; | ||
player.lifeRegenTime = 10; | ||
lifeDrainTimer++; | ||
if(lifeDrainTimer > 20) | ||
{ | ||
lifeDrainTimer = 0; | ||
if(player.statLife > 1) | ||
{ | ||
player.statLife--; | ||
|
||
} | ||
} | ||
|
||
if (player.HeldItem.ModItem is Items.BurningDesire) | ||
{ | ||
|
||
} | ||
else | ||
{ | ||
player.ClearBuff(BuffType<BoilingBloodBuff>()); | ||
buffIndex--; | ||
} | ||
|
||
} | ||
public override void ModifyBuffTip(ref string tip, ref int rare) | ||
{ | ||
|
||
|
||
|
||
base.ModifyBuffTip(ref tip, ref rare); | ||
} | ||
public override bool PreDraw(SpriteBatch spriteBatch, int buffIndex, ref BuffDrawParams drawParams) | ||
{ | ||
|
||
|
||
Vector2 shake = new Vector2(Main.rand.Next(-1, 2), Main.rand.Next(-1, 2)); | ||
|
||
drawParams.Position += shake; | ||
drawParams.TextPosition += shake; | ||
|
||
|
||
return true; | ||
} | ||
|
||
public override bool RightClick(int buffIndex) | ||
{ | ||
|
||
return false; | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
using Microsoft.Xna.Framework; | ||
using Microsoft.Xna.Framework.Graphics; | ||
using Terraria; | ||
using Terraria.DataStructures; | ||
using Terraria.ID; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
using static Terraria.ModLoader.ModContent; | ||
|
||
namespace StarsAbove.Buffs.BurningDesire | ||
{ | ||
public class BoilingBloodCooldown : ModBuff | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Extinguished"); | ||
Description.SetDefault("Unable to activate Boiling Blood"); | ||
Main.buffNoTimeDisplay[Type] = false; | ||
Main.debuff[Type] = true; //Add this so the nurse doesn't remove the buff when healing | ||
BuffID.Sets.NurseCannotRemoveDebuff[Type] = true; | ||
} | ||
int lifeDrainTimer; | ||
public override void Update(Player player, ref int buffIndex) | ||
{ | ||
|
||
|
||
} | ||
public override void ModifyBuffTip(ref string tip, ref int rare) | ||
{ | ||
|
||
|
||
|
||
base.ModifyBuffTip(ref tip, ref rare); | ||
} | ||
public override bool PreDraw(SpriteBatch spriteBatch, int buffIndex, ref BuffDrawParams drawParams) | ||
{ | ||
|
||
|
||
|
||
|
||
|
||
return true; | ||
} | ||
|
||
|
||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using Microsoft.Xna.Framework; | ||
using Terraria;using Terraria.ID; | ||
using Terraria.ID; | ||
using Terraria.ModLoader; | ||
using static Terraria.ModLoader.ModContent; | ||
|
||
namespace StarsAbove.Buffs.BurningDesire | ||
{ | ||
public class PowerStrikeBuff : ModBuff | ||
{ | ||
public override void SetStaticDefaults() | ||
{ | ||
DisplayName.SetDefault("Power Strike"); | ||
Description.SetDefault(""); | ||
Main.buffNoTimeDisplay[Type] = true; | ||
Main.debuff[Type] = false; //Add this so the nurse doesn't remove the buff when healing | ||
BuffID.Sets.NurseCannotRemoveDebuff[Type] = true; | ||
} | ||
|
||
public override void Update(Player player, ref int buffIndex) | ||
{ | ||
player.GetDamage(DamageClass.Generic) += (player.GetModPlayer<StarsAbovePlayer>().powerStrikeStacks * 0.05f); | ||
player.statDefense += player.GetModPlayer<StarsAbovePlayer>().powerStrikeStacks * 5; | ||
} | ||
public override void ModifyBuffTip(ref string tip, ref int rare) | ||
{ | ||
tip = $"{Main.LocalPlayer.GetModPlayer<StarsAbovePlayer>().powerStrikeStacks}/5 stacks" + | ||
$"\nDamage increased by {Main.LocalPlayer.GetModPlayer<StarsAbovePlayer>().powerStrikeStacks * 5}%" + | ||
$"\nDefense increased by {Main.LocalPlayer.GetModPlayer<StarsAbovePlayer>().powerStrikeStacks * 5}" + | ||
$"\n'Do you hear the roar of this chainsaw?'"; | ||
|
||
base.ModifyBuffTip(ref tip, ref rare); | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.