Difference between revisions of "Combat"

From Stardew Valley Wiki
Jump to navigation Jump to search
(format change)
Line 15: Line 15:
 
For critical hit chance, the way it's computed is in the following order:
 
For critical hit chance, the way it's computed is in the following order:
  
# Each weapon has a base critical strike chance. For example, the Galaxy Sword has a chance of 2%. (in <code>weapons.xnb</code>)
+
# Each weapon has a base critical strike chance. For example, the Galaxy Sword has a chance of 2% <ref name="weaponsxnb" />.
# In 1.5, the [[Forge#Weapons_forging|Aquamarine forging]] increases crit chance in an additive manner via the following formula: <code>critChance += 0.046 * forgingLevel</code>. For example, with 3 Aquamarine forged, the crit chance is increased by 13.8%. With the Galaxy Sword, this means the chance is 15.8%. (in <code>StardewValley::AquamarineEnchantment</code>).
+
# In 1.5, the [[Forge#Weapons_forging|Aquamarine forging]] increases crit chance in an additive manner via the following formula: <tt>critChance += 0.046 * forgingLevel</tt>. For example, with 3 Aquamarine forged, the crit chance is increased by 13.8%. With the Galaxy Sword, this means the chance is 15.8% <ref name="aquamarineenchantment" />.
# If a single [[Aquamarine Ring|aquamarine ring]] are used, critical chance is increased in a multiplicative manner by 10%. If two aquamarine rings are used, the critical chance is increased in a multiplicative manner by 20% (in <code>StardewValley::Tools::MeleeWeapon.DoDamage</code> and <code>StardewValley::Objects::Ring</code>).
+
# If a single [[Aquamarine Ring|aquamarine ring]] are used, critical chance is increased in a multiplicative manner by 10%. If two aquamarine rings are used, the critical chance is increased in a multiplicative manner by 20% <ref name="ringcrit" />.
 
## So with the galaxy sword and 1 ring and 3 forging: 15.8*1.1 = 17.38%.
 
## So with the galaxy sword and 1 ring and 3 forging: 15.8*1.1 = 17.38%.
 
## With 2 rings: 18.96%.
 
## With 2 rings: 18.96%.
# Finally, the Scout Profession further increases critical strike chance in a multiplicative manner by 50% with the following formula: <code>critChance = critChance * 1.5</code> (in <code>StardewValley::GameLocation.damageMonster</code>). For the galaxy sword with 2 rings and 3 forging, and the scout profession, the critChance is: 18.96 * 1.5 = 28.44%
+
# Finally, the Scout Profession further increases critical strike chance in a multiplicative manner by 50% with the following formula: <tt>critChance = critChance * 1.5</tt> <ref name="scoutcode" />. For the galaxy sword with 2 rings and 3 forging, and the scout profession, the critChance is: 18.96 * 1.5 = 28.44%
  
 
The Desperado profession increases the damage of critical hits again by 2x after all bonuses are applied. Further information about this is discussed in [[Crit. Power]].
 
The Desperado profession increases the damage of critical hits again by 2x after all bonuses are applied. Further information about this is discussed in [[Crit. Power]].
Line 131: Line 131:
 
<p>The [[File:Weight.png|24px|link=]] [[Weight]] of a weapon affects how far an enemy will be knocked back when struck with the weapon.</p>
 
<p>The [[File:Weight.png|24px|link=]] [[Weight]] of a weapon affects how far an enemy will be knocked back when struck with the weapon.</p>
 
<p>[[File:Speed_w.png|24px|link=]] Weapon [[Speed]] and [[File:Speed.png|24px|link=]] Player [[Speed]] are also a factor in successful Combat.</p>
 
<p>[[File:Speed_w.png|24px|link=]] Weapon [[Speed]] and [[File:Speed.png|24px|link=]] Player [[Speed]] are also a factor in successful Combat.</p>
 +
 +
==References==
 +
<references>
 +
<ref name="weaponsxnb">See <tt>weapons.xnb</tt> file in the game data.</ref>
 +
<ref name="aquamarineenchantment">See <tt>StardewValley::AquamarineEnchantment</tt>.</ref>
 +
<ref name="ringcrit">See <tt>StardewValley::Tools::MeleeWeapon.DoDamage</tt> and <tt>StardewValley::Objects::Ring</tt>.</ref>
 +
<ref name="scoutcode">See <tt>StardewValley::GameLocation.damageMonster</tt>.</ref>
 +
</references>
  
 
{{NavboxSkillsStats}}
 
{{NavboxSkillsStats}}

Revision as of 17:57, 29 December 2020

Combat is the skill associated with fighting monsters in The Mines, The Skull Cavern, or on the Wilderness Farm.

During the first few days in Stardew Valley, the mines are closed due to an accident by Joja Corporation. On or around day 5, the player will receive a letter in the mail from Joja Corp, explaining that the landslide blocking the mines has been cleared, and the mine entrance will be open. At this point, combat becomes available to players who have not chosen the Wilderness Farm.

Combat is increased by killing monsters. Each increase in Combat Level adds one or more Crafting or Cooking recipes and may add HP (health points) to the player's health meter.

Experience level is increased immediately upon slaying a monster, but the "level up" window doesn't appear until the player sleeps (or until all players sleep in multiplayer).

Combat Skill Icon.png Combat Skill

Level 1 Level 2 Level 3 Level 4 Level 5
Crafting Recipes: Crafting Recipes: Cooking Recipes: Crafting Recipes: Choose a Profession:
Sturdy Ring.png Sturdy RingBug Steak.png Bug Steak Life Elixir.png Life Elixir Roots Platter.png Roots Platter Warrior Ring.png Warrior Ring Fighter.png Fighter
All attacks deal 10% more damage.
(+15 HP)
Scout.png Scout
Critical strike chance increased by 50%.
(+0 HP)

(Note that the increase is multiplicative. The formula is: critChance = critChance * 1.5)

Level 6 Level 7 Level 8 Level 9 Level 10
Crafting Recipes: Crafting Recipes: Crafting Recipes: Crafting / Cooking Recipes: Fighter: Scout:

Slime Egg-Press.png Slime Egg-Press

Oil of Garlic.png Oil of Garlic
Ring of Yoba.png Ring of YobaThorns Ring.png Thorns Ring

Slime Incubator.png Slime Incubator

Explosive Ammo.png Explosive Ammo

Iridium Band.png Iridium Band

Squid Ink Ravioli.png Squid Ink Ravioli
Brute.png Brute
Deal 15% more damage.
(+0 HP)

(Stacks multiplicatively with Fighter)

Acrobat.png Acrobat
Cooldown on special moves cut in half.
(+0 HP)
Defender.png Defender
+25 HP.
Desperado.png Desperado
Critical strikes are deadlier.
(+0 HP)

(2x Critical strike damage)

Critical hit

For critical hit chance, the way it's computed is in the following order:

  1. Each weapon has a base critical strike chance. For example, the Galaxy Sword has a chance of 2% [1].
  2. In 1.5, the Aquamarine forging increases crit chance in an additive manner via the following formula: critChance += 0.046 * forgingLevel. For example, with 3 Aquamarine forged, the crit chance is increased by 13.8%. With the Galaxy Sword, this means the chance is 15.8% [2].
  3. If a single aquamarine ring are used, critical chance is increased in a multiplicative manner by 10%. If two aquamarine rings are used, the critical chance is increased in a multiplicative manner by 20% [3].
    1. So with the galaxy sword and 1 ring and 3 forging: 15.8*1.1 = 17.38%.
    2. With 2 rings: 18.96%.
  4. Finally, the Scout Profession further increases critical strike chance in a multiplicative manner by 50% with the following formula: critChance = critChance * 1.5 [4]. For the galaxy sword with 2 rings and 3 forging, and the scout profession, the critChance is: 18.96 * 1.5 = 28.44%

The Desperado profession increases the damage of critical hits again by 2x after all bonuses are applied. Further information about this is discussed in Crit. Power.

Experience Points

The following table lists the experience points gained for killing the indicated monster. (This data can be found in Data\Monsters.xnb as well as the constructors for Grub and Fly in the game code. In the Quarry Mine and dungeon floors of the Mines, monster data are set by MineShaft.getMonsterForThisLevel and the constructor for Bat in the game code.)

Monster Experience (XP)
Green Slime 3
Dust Sprite 2
Bat 3
Frost Bat 7
Lava Bat 15
Iridium Bat 22
Stone Golem 5
Wilderness Golem 5
Grub 2
Cave Fly 10
Frost Jelly (i.e., Blue Slime) 6
Sludge (i.e., Red, Purple, Copper, or Iron Slime) 10
Ghost 15
Duggy 10
Rock Crab 4
Lava Crab 12
Iridium Crab 20
Squid Kid 15
Shadow Brute 15
Shadow Shaman 15
Skeleton 8
Metal Head 6
Bug 1
Mummy 20
Big Slime 7
Serpent 20
Mutant Grub 6
Mutant Fly 10
Pepper Rex 7
Haunted Skull 15

Stat Bonus

Consuming certain foods or drinks, wearing particular Footwear or Rings, and choice of Weapon can all give Stat Bonuses that affect the player's Combat ability.

Attack.png Attack affects how much damage the player does with each weapon strike.

Crit. Power.png Crit. Power adds additional damage when hitting a critical strike.

Defense.png Defense affects how much damage the player takes from enemy strikes.

Immunity.png Immunity affects the chance to be afflicted with certain debuffs.

The Weight.png Weight of a weapon affects how far an enemy will be knocked back when struck with the weapon.

Speed w.png Weapon Speed and Speed.png Player Speed are also a factor in successful Combat.

References

  1. See weapons.xnb file in the game data.
  2. See StardewValley::AquamarineEnchantment.
  3. See StardewValley::Tools::MeleeWeapon.DoDamage and StardewValley::Objects::Ring.
  4. See StardewValley::GameLocation.damageMonster.