Boss Creatures

Boss Creatures

640 Downloads

Please respond to my poll if you are interested in helping improve this mod!

https://forums.nexusmods.com/index.php?/topic/8672983-custom-boss-creatures-poll/


This mod brings boss creatures into Stardew Valley.


Bosses
At present it adds seven new boss creatures:

  • A Skull Boss that shoots fireballs
  • A Serpent Boss that breathes fire
  • A Bug Boss that spawns tough flies and casts defense debuffs on you
  • A Ghost Boss that spawns tough ghosts (that debuff attack on hit) and casts a freeze debuff at you
  • A Skeleton Boss that shoots rapid-fire bones that light on fire when it gets to 1/2 health
  • A SquidKid Boss that shoots ice blocks and calls down lightning
  • A Slime Boss with tentacles that pull you in that spawns slimes when it gets hit


Here's a YouTube video of each of the bosses in action:



Spawning
By default, the bosses will only spawn on monster floors in the dungeon (and in the Crimson Badlands if you have SVE).

You can add chances for the bosses to spawn in various places by editing the config.json file (a default version should be created the first time you start the game with the mod installed).

There is also a "weight" setting for each boss (default weight is 1.0) that adjusts the chance that a boss is each type. Higher weight = higher chance.

You can optionally install the Custom Dungeon Floors mod as it allows you to set more frequent monster floors with bosses.


Difficulty

Difficulty mainly affects boss HP and damage.

Boss difficulty can be adjusted in the config file. Difficulty is multiplied by the level of the mine in which you are in, as follows:

difficulty = BaseUndergroundDifficulty * mineLevel / 100

where BaseUndergroundDifficulty is a float that can be set in the config.json (1 = default) and mineLevel starts counting from level 1 in the mines, and continues at 121 in the first level of Skull Cave. So, a boss on the first level of Skull Cave would have a 1.21x difficulty multiplier, and a boss on the 50th level of the mines would have a 0.5x difficulty multiplier.

Above ground, difficulty is a random value (default between 0.75x and 1.25x, customizable in config.json).


Sprites

By default, this mod uses the sprites of the monsters they are based on, scaled up. You can override the defaults by setting UseAlternateTextures to true in the config.json file and loading custom sprites for each \Characters\Monsters\Boss. The optional files section has an example Content Patcher mod that you can use as a template to do this.

There is also a fully-functional HD sprite mod in the optional files section courtesy of DustBeauty - since the sprites in it are twice as big, you must set the width and height of each boss type to twice the default value in order to make it work (along with setting UseAlternateTextures to true).

Sprite scale can be set in the config.json file for each boss type (1.0 = same size as the ordinary monster, 2.0 = twice as big, etc.). Don't alter the width and height of the bosses unless you're using custom sprites as explained above.


Notes

  • Bosses get more powerful once they reach 1/2 health, just warning ya
  • Bosses drop lots of random loot, I just gave them the loot tables of all monsters combined (bc I'm lazy, that's why). The loot table is in assets/boss_loot.json if you want to create a better loot list. The format of the entries is "ObjectID/DropChance". For now the list is universal to every boss.
  • Loot amount and drop chances are affected by difficulty multiplier.
  • Some of the bosses are pretty darn tough... if you don't have late game weapons and lots of healing edibles, you'll probably get trounced
  • The Slime Boss will destroy stuff it passes over so beware letting it spawn on your farm!
  • Boss hitboxes are a bit messed up with scaled sprites, I'm trying to fix them.


Feedback on tweaking the bosses is welcome; I didn't spend a lot of time adjusting their stats, and lots of things can be adjusted (HP, speed, damage, etc.).


Technical
Requires SMAPI, doesn't use Harmony.

Code is at https://github.com/aedenthorn/StardewValleyMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

A list of all my mods for Stardew Valley is available at https://www.curseforge.com/members/erinthe/projects.