饥荒联机版

饥荒联机版

1,702 个评价
Automatic Health Adjust
8
3
22
5
8
4
4
4
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
396.767 KB
2016 年 9 月 15 日 下午 3:49
11 月 4 日 上午 9:17
62 项改动说明 ( 查看 )

订阅以下载
Automatic Health Adjust

描述
This mod automatically adjusts the health of mobs depending on the number of active players, everytime a player joins or leaves.

Default is DS values for 1 player, and DST values for 6 players.
(for 2,3,4,5 players , health will be between those values of course)
And in case for some reason you have more than 6 players, it will be higher than DST values!

Has setting to set min/max value for the number of players the mod should calculate with:
So if you are playing with 4+ players, but want max health values for 3, then you can set max to 3.
Or if you play with 2+ players, but want at least health values for 4 players, you can set min to 4.
Or set it both to 6 if you always want to play with values for 6 players.
By default it is disabled.

Cave and Overworld are separated.
So if one player is in cave and one in Overworld, both worlds will have health values for 1 player.

More Customization:
in the customsettings.lua you can define your own health function!

Special case for crabking(-claws):
If a player joins/leaves during a fight against crab king, his health wont change. If you want to update his health according to new number of players, you have to leave and activate him again.

Also take a look at other mods I made, see my workshop ;)


You can change the values to anything you like, but by default they are: (1 and 6 players values)
{AncGuardian={2500, 10000}, Ancient_Sentrypede={600, 1200}, Antlion={3000, 6000}, Bearger={3000, 6000}, Bearger_Armored={4000, 8000}, Beefalo={500, 1000}, Beeguard={100, 180},
Beequeen={3000, 22500}, Brightshade={500, 1000}, Brightshade_Vine={100, 200}, Buzzard={125, 250}, Celestial_Champion1={2000, 10000}, Celestial_Champion2={2600, 13000}, Celestial_Champion3={2800, 14000},
Celestial_Revenant={2000,8000}, Celestial_Scion={3500,16000}, Clockworks={300, 900}, Crabking={3000, 12000}, Crabking_Claw={100, 500}, Deer={350, 700}, DeerGem={750, 1500}, Deerclops={2000, 4000}, Deerclops_Crystal={3000,6000}, Dragonfly={3500, 27500},
Eye_of_Terror={2000,5000}, Eye_of_Terror_Mini={150,200}, Eye_of_Terror_Twin1={4000,10000}, Eye_of_Terror_Twin2={4000,10000}, Ewecus={400, 800}, Fused_Shadeling={625, 1250}, Frostjaw={4000, 8000}, Gnarwail={500, 1000}, Grassgator={500, 1000}, Icker={300, 600}, InkBlight_Jitters={500, 1000}, InkBlight_Rasp={600, 1200}, InkBlight_Rictus={400, 800}, InkBlight_Shriek={400, 800}, Klaus1={2000, 10000}, Klaus2={5440, 27440}, Koalefant={500, 1000},
Krampus={200, 300}, Lavae={250, 500}, Lord_Fruit_Flies={900, 1500}, Lurking_Nightmare={400, 850}, Malbatross={1500, 5000}, Marotter={175, 350}, Merm={250, 500}, Moose={3000, 6000}, Mosling={350, 525}, Mush_Gnome={300, 600}, Nightmare_Werepig={2000,10000}, Ornery_Chest={400,950},
Pig_Guard={300, 600}, Poisonedtree={12, 18}, Powder_Monkey={100, 200}, Prime_Mate={200, 350}, Rabbitking={800, 2000}, Royal_Rabbit_Enforcer={150, 400}, RLobster={1500, 3000}, Rockjaw={500, 1000}, Saladmander={450, 900}, Sea_Weed={250, 500}, Shadow_Bishop1={250, 800},
Shadow_Bishop2={800, 2500}, Shadow_Bishop3={2500, 7500}, Shadow_Knight1={300, 900}, Shadow_Knight2={900, 2700}, Shadow_Knight3={2700, 8100}, Shadow_Rook1={350, 1000},
Shadow_Rook2={1000, 4000}, Shadow_Rook3={4000, 10000}, Shootius={1500, 3000}, Skeleton_A={6000, 16000}, Skeleton={2000, 4000}, Slurtle={600, 1200},
Spider_dropper={200, 400}, Spider_healer={200, 400}, Spider_hider={150, 225}, Spider_spitter={175, 350}, Spider_warrior={200, 400}, Spiderqueen={1250, 2500}, Tallbird={400, 800}, Teenbird={300, 600}, Tentacle_pillar={500, 750}, Terramite={140, 280},
Toadstool={7500, 52500}, ToadstoolMisery={11111, 99999}, Treeguard={2000, 3000}, Voaltgoat={350, 700}, Walrus={150, 300}, ['W.A.R.B.O.T.']={4500, 22500}, Warg={600, 1800}, Warg_Possessed={1500, 3000}, Werepig={350, 525}, Worm={450, 900}, Great_Depths_Worm={1500, 5000},}


FAQ:
1)Does this mod also changes other mob behaviours, like rage or so?
-> No, it only changes health, nothing more. Most special skills of mobs depend on a percentage of health, so they will still work fine.
If you still want a mod that adjusts all special skills of all mobs, depending on the number of players, then please write such a mod and we could make it dependend on my mod, so yours changes skills and my changes health.
I won't write such a mod myself, because it is ALOT of work and I don't know all the sepcial skills good enough for this.
2) Attention: When disabling this mod on existing world, the max health won't change back to normal on first loading! Close the world and load it a second time without the mod should fix the max health, but the current health might be stuck at former max health. I don't know a solution for this, because there is no way to "fix" this, with an disabled mod and as far as I know there is no "unloading mod code" to solve this.


If I one day do not update this mod anymore (eg. within 2 months and do not reply to any comments), I allow everyone to take my code and upload a updated version. Of course with credits by emtnioning me and linking to the original.
This is true for all my mods!
热门讨论 查看全部(1)
1
2021 年 9 月 27 日 下午 12:42
Setting max health of few mobs.
Kiri
669 条留言
ΥΘ∪Я ҒЯΙΞИĐ ŦΘΛĐ 11 月 6 日 下午 1:03 
The mod doesn't seems to work no matter the configuration?
Serp  [作者] 11 月 4 日 上午 9:18 
- added all merm variants (automatically adjusted same ratio like merm setting)
- added mutated buzzard (automatically adjusted same ratio like buzzard setting)

Restructured the code a bit, got no error in my tests, but in theory there may be new errors.
Адская Пуля 11 月 3 日 上午 2:53 
@imelman
In the game files, his hp is signed as 150 x 2 -- harder for multiplayer. So I think he needs to do 150 hp.
imelman 10 月 29 日 下午 5:16 
https://dontstarve.wiki.gg/wiki/Crystal-Crested_Buzzard - has same health as base buzzard, so it should have the same settings as regular one does(which is 125).

https://dontstarve.wiki.gg/wiki/Mutated_Merm - similar to previous point, 270 for singleplayer. No longer Wurt only.

https://dontstarve.wiki.gg/wiki/Shadow_Merm - While not yet spawnable outside of Wurt, the inclusion of lunar merms as regular enemies through buzzards ressurecting them, means they will be likely added as well so having settings in advance would be nice. So same health as normal merms.
Serp  [作者] 10 月 29 日 上午 11:36 
@imelman: I dont play the game currently. So please write me a list of the mobs and the suggested 1 Player Health. At best either the exact ingame name of the mob or the "prefab" (name in the files) of the mob.
imelman 10 月 28 日 下午 12:32 
The new crystal crested buzzard has unchanged health, will it be added later? In addition, it can ressurect dead creatures into their lunar versions like merms into mutated merms with more than double health, meaning they are no longer Wurt only creature, which also means shadow merms will have to be adjusted for future additions as well.
Kleos 10 月 24 日 上午 10:23 
terraria health scaling moment
Serp  [作者] 10 月 14 日 上午 10:53 
@Getoid: yes, see the dscription of the mod, it is mentioned there.
Getoid 10 月 14 日 上午 5:34 
мод распростоняется на W.A.R.B.O.T ?
Serp  [作者] 10 月 12 日 上午 3:48 
@Адская Пуля : thanks, the mod will now change the value of "ALTERGUARDIAN_PHASE1_SHIELDTRIGGER" with the same multiplier it changes the health.