Skip to content
Snippets Groups Projects
Commit 6f512adf authored by Pregmodder's avatar Pregmodder
Browse files

more changes

parent d99b6bd5
No related branches found
No related tags found
No related merge requests found
......@@ -5,11 +5,8 @@
<<if $pitName != "the Pit">>
<<set $pitNameCaps = $pitName.replace("the ", "The ")>>
<</if>>
<<if $pitBG == 1>>
<<set _pit = $fighterIDs.findIndex(function(s) { return s == $Bodyguard.ID; })>>
<<if _pit != -1>>
<<set _dump = $fighterIDs.deleteAt(_pit), _DL-->>
<</if>>
<<if $pitBG == 1 && $fighterIDs.includes($Bodyguard.ID)>>
<<set $fighterIDs.delete($Bodyguard.ID), _DL-->>
<</if>>
$pitNameCaps is clean and ready,
......
......@@ -93,6 +93,9 @@
<<if $dojo > 1>>
<<set $args[0].livingRules = "luxurious">>
<</if>>
<<if $pitBG == 1 && $fighterIDs.includes(_wID)>>
<<set $fighterIDs.delete(_wID)>>
<</if>>
<<case "be your agent" "live with your agent">>
<<set $args[0].assignment = $args[1], $args[0].assignmentVisible = 0, $args[0].useRulesAssistant = 0>> /* non-visible roles exempt from Rules Assistant */
<<if $args[1] == "be your agent">>
......
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