Skip to content
Snippets Groups Projects
Commit d804b717 authored by Andrest07's avatar Andrest07
Browse files

Patreon and bugfixes

parent 30371f17
No related branches found
No related tags found
No related merge requests found
......@@ -1022,7 +1022,7 @@
* This will prevent said NPC from entering combat plus deal with all the rest of the math.
* Optional arguments [1] and [2] for health and arousal respectivelly. If the original health or arousal values for the NPCs haven't been changed, no need to use those arguments.
*/
<<set $_hpToReduce to _args[1] || $NPCList[_args[0]].healthmax>>
<<set $_hpToReduce to _args[1] || $NPCList[_args[0]].healthmax * $npcHealthMult>>
<<set $_arousalToReduce to _args[2] || $enemyarousalmax/$enemyno>>
<<if _args[0] isnot undefined and $NPCList[_args[0]]>>
<<if $NPCList[_args[0]].active isnot "inactive">>
......
......@@ -238,9 +238,9 @@
<!-- Remove Defeated NPC from loops -->
<<set $enemyno-->>
<!-- Reset Group attributes-->
<<set $enemyarousalmax to 500 * $enemyno>>
<<set $enemyarousal to $enemyarousal * ($enemyno / ($enemyno +1))>>
<<set $enemyhealthmax -= $NPCList[_i].healthmax>>
<<set $enemyarousalmax to 500 * $enemyno * npcArousalMult>>
<<set $enemyarousal to $enemyarousal * ($enemyno / ($enemyno +1)) * npcArousalMult>>
<<set $enemyhealthmax -= $NPCList[_i].healthmax * npcHealthMult>>
<<set $_excessdamage to (0-$NPCList[_i].health)>>
<!-- Debug message -->
......
......@@ -46,7 +46,9 @@
<br><br>
__''Patrons:''__
<br>
<img class="icon" width="24px" height="24px" src="img/ui/CopperCoin.gif"> Michael Levy
<img class="icon" width="24px" height="24px" src="img/ui/CopperCoin.gif"> Michael Levy
<br>
<img class="icon" width="24px" height="24px" src="img/ui/collar.png"> Osnaris Rodriguez
<br><br>
<span id="devNote4">
<<link "Pssst">>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment