Thread: SR 5th ed. Adding a Mentor Spirit
View Single Post
Gonozal
Junior Member
 
Join Date: Mar 2016
Location: Germany, Aachen
Posts: 16

Old April 15th, 2016, 08:37 AM
Hi Mathias,

at the moment I am looking at 'mpHealth2' and have some questions about it because it is not working like would have expected.

Just for completeness here the script for it:

Code:
doneif (activated = 0)

      ~find all the modifier collectors that deal with health spells and add +2 dicepool
      foreach pick in hero from Special where "SpCategory.Health"
        perform eachpick.field[DicePool].modify[+,2,root.field[name].text]
        nexteach
First question: I can not find a description for .modify (looked in your scripting thread and also in Language Intrinsics at HLKitWiki). My guess so far is for .modify[A,B,C] : A=mathematic Operation that should take place, B=value for A, C=includes the origin of the script into the calculation description?

Second question: As far as i understand this script runs through all of the hero's picks in 'Special' (where does this come from btw?) looks for "SpCategory.Health" and if it finds it it modifys [DicePool] with +2

For spells like Heal or Cure Disease this works like a charm. For the ritual Circle of healing it does not. Circle of Healing has also the Tag Id "SpCategory.Health". So I would expect to modify its pool also with +2

I am shure I have a missied something...

Kind regards,
Gono
Gonozal is offline   #4 Reply With Quote