Talk:Royal Serpent

From Stardew Valley Wiki
Jump to navigation Jump to search
This talk page is for discussing Royal Serpent.
  • Sign and date your posts by typing four tildes (~~~~).
  • Put new text below old text.
  • Be polite.
  • Assume good faith.
  • Don't delete discussions.

Stats

There was a trivia bullet on this page that the Royal Serpent has the exact same stats as the regular serpent. It's true that in Content\Data\Monsters.xnb, it appears that they have the same base HP, etc. However, when looking at the executable code, there is definitely some distinction with how the Royal Serpent is spawned - I included a section implying increased HP (? I think? I am NOT fluent at this) and there are probably other differences too. I removed that trivia bullet point until someone can look more specifically at how the Royal Serpent is different from the normal one.

Info from Data>Monsters

"Serpent": "150/23/0/2/true/1000/769 .99 769 .15 287 .15 226 .06 446 .008 74 .001/0/.01/13/2/.0/true/20/Serpent"
"Royal Serpent": "150/23/0/2/true/1000/769 .99 769 .15 287 .15 226 .06 446 .008 74 .001/0/.01/13/2/.0/true/20/Royal Serpent"

Info from decompiling and looking at StardewValley.Monsters - Serpent

		if (name == "Royal Serpent")
		{
			this.segmentCount.Value = Game1.random.Next(3, 7);
			if (Game1.random.NextDouble() < 0.1)
			{
				this.segmentCount.Value = Game1.random.Next(5, 10);
			}
			else if (Game1.random.NextDouble() < 0.01)
			{
				this.segmentCount.Value *= 3;
			}
			this.reloadSprite();
			base.MaxHealth += this.segmentCount.Value * 50;
			base.Health = base.MaxHealth;

Efarn (talk) 08:32, 24 January 2021 (UTC)

There is also adjustment to stats based on "difficulty" level of the mines, which is at least 1 in the dangerous caverns. BlaDe (talk) 08:56, 24 January 2021 (UTC)