DeltaMasterMind
Well-known member
Hi everyone, today I am requesting some information on how to force HP updates to a active summon via a ability that is bootstrapped to the possible summons. This chooser allows the player to pick the CR rating and adds the corresponding values to the summon. This summon comes from an archetype that I made that uses a blood ritual to summon a creature. Now so far I have had issues getting the editor to play nice with me trying to modify HP values from script. Any suggestions?
By the way I have the summon bootstrapped to the archetype so at level 12 it activates the summon on the portfolio but does not add any useful attributes until the ability of the archetype has selected a area for which the summon is called forth from. It starts as a CR 5 creature and need to make the script allow proper addition of HP when higher CRs are selected. I have also tried a few different timings with the fields rHPstart, cHP, cHPBonus, and others related to them.
Here is my current script: Post-Attributes 11000
By the way I have the summon bootstrapped to the archetype so at level 12 it activates the summon on the portfolio but does not add any useful attributes until the ability of the archetype has selected a area for which the summon is called forth from. It starts as a CR 5 creature and need to make the script allow proper addition of HP when higher CRs are selected. I have also tried a few different timings with the fields rHPstart, cHP, cHPBonus, and others related to them.
Here is my current script: Post-Attributes 11000
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ If we've been Disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ Set a pointer to our race
perform hero.findchild[BaseRace].setfocus
~ if can't find then get out now!
doneif (state.isfocus = 0)
~ Now that we have a pointer we can just increase/change
~ any value on the race.
~ Base setting for Summon
If (field[usrIndex].value = 0) Then
~ CR 6
ElseIf (field[usrIndex].value = 1) Then
focus.field[rCR].value += 1
focus.field[rHitDice].value += 1
~ CR 7
ElseIf (field[usrIndex].value = 2) Then
focus.field[rCR].value += 2
focus.field[rHitDice].value += 2
~ CR 8
ElseIf (field[usrIndex].value = 3) Then
focus.field[rCR].value += 3
focus.field[rHitDice].value += 3
~ CR 9
ElseIf (field[usrIndex].value = 4) Then
focus.field[rCR].value += 4
focus.field[rHitDice].value += 4
~ CR 10
ElseIf (field[usrIndex].value = 5) Then
focus.field[rCR].value += 5
focus.field[rHitDice].value += 5
~ CR 11
ElseIf (field[usrIndex].value = 6) Then
focus.field[rCR].value += 6
focus.field[rHitDice].value += 6
~ CR 12
ElseIf (field[usrIndex].value = 7) Then
focus.field[rCR].value += 7
focus.field[rHitDice].value += 7
~ CR 13
ElseIf (field[usrIndex].value = 8) Then
focus.field[rCR].value += 8
focus.field[rHitDice].value += 8
~ CR 14
ElseIf (field[usrIndex].value = 9) Then
focus.field[rCR].value += 9
focus.field[rHitDice].value += 9
~ CR 15
ElseIf (field[usrIndex].value = 10) Then
focus.field[rCR].value += 10
focus.field[rHitDice].value += 10
~ CR 16
ElseIf (field[usrIndex].value = 11) Then
focus.field[rCR].value += 11
focus.field[rHitDice].value += 11
~ CR 17
ElseIf (field[usrIndex].value = 12) Then
focus.field[rCR].value += 12
focus.field[rHitDice].value += 12
~ CR 18
ElseIf (field[usrIndex].value = 13) Then
focus.field[rCR].value += 13
focus.field[rHitDice].value += 13
~ CR 19
ElseIf (field[usrIndex].value = 14) Then
focus.field[rCR].value += 14
focus.field[rHitDice].value += 14
~ CR 20
ElseIf (field[usrIndex].value = 15) Then
focus.field[rCR].value += 15
focus.field[rHitDice].value += 15
endif
Last edited: