Skip to content

Commit

Permalink
Adjusted cost of the Cycle of Eternity
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurocosh committed Jun 29, 2024
1 parent 39523b7 commit 31b2bd9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Common/Players/SpellwrightBuffPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public override bool PreKill(double damage, int hitDirection, bool pvp, ref bool
}
else if (CycleOfEternity)
{
int cost = 5 * PermanentBuffs.Count;
int cost = 2 * PermanentBuffs.Count;
var buffSaveCost = new ReagentSpellCost(ModContent.ItemType<RareSpellReagent>(), cost);
if (!buffSaveCost.Consume(Player, 0, SpellData.EmptyData))
{
Expand Down
2 changes: 1 addition & 1 deletion Content/Spells/BuffSpells/CycleOfEternitySpell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public override void SetStaticDefaults()
castSound = SoundID.Item4;

UnlockCost = new SingleItemSpellCost(ItemID.DaoofPow);
CastCost = new ReagentSpellCost(ModContent.ItemType<RareSpellReagent>(), 50);
CastCost = new ReagentSpellCost(ModContent.ItemType<RareSpellReagent>(), 20);

AddApplicableModifier(SpellModifier.Dispel);
}
Expand Down
2 changes: 1 addition & 1 deletion Localization/en-US.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ Mods: {

CycleOfEternitySpell: {
Name: Cycle of Eternity
Description: Imbues the player with a special effect that consumes spell reagents to prevent loss of permanent buffs on death. Effect of this player lasts indefinitely while the player has enough spell reagents. When player dies this spell effect will consume 5 *[Rare Spell Reagents]<ModItem:RareSpellReagent> per each active permanent buff to prevent their loss. If player does not have enough reagents then the effect of the spell will be broken and all permanent buffs will be lost.
Description: Imbues the player with a special effect that consumes spell reagents to prevent loss of permanent buffs on death. Effect of this player lasts indefinitely while the player has enough spell reagents. When player dies this spell effect will consume 2 *[Rare Spell Reagents]<ModItem:RareSpellReagent> per each active permanent buff to prevent their loss. If player does not have enough reagents then the effect of the spell will be broken and all permanent buffs will be lost.
Connected: Your feel connected to eternity
Disconnected: Eternity feel unreachable
}
Expand Down
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
displayName = Spellwright
author = Aurocosh
version = 0.8.3.7
version = 0.8.3.8
dllReferences = NetSerializer
languageVersion = 7
buildIgnore = *.csproj, *.sln, *.user, *.md, obj\*, bin\*, .vs\*, .git\*, .gitignore
Expand Down

0 comments on commit 31b2bd9

Please sign in to comment.