View Single Post
culhwch1066
Junior Member
 
Join Date: Sep 2015
Posts: 13

Old March 18th, 2016, 10:41 PM
Quote:
Originally Posted by ShadowChemosh View Post
This example completely changes the exiting description for Earth Master special ability:
Code:
var descTxt as string

call CalcValue

descTxt = "Creature gains a " & signed(field[abValue].value) & " bonus on attack and damage rolls if both it and its foe are touching the ground. If an opponent is airborne or waterborne, the elemental takes a " & signed(field[abValue2].value) & " penalty on attack and damage rolls. These modifiers apply to bull rush and overrun maneuvers, whether the elemental is initiating or resisting these kinds of attacks."

perform state.thing[xCBErthMas].amendthing[description,descTxt]
I'm trying to modify the summary text of an ability (replacing damage type with what abText was set to when bootstrapped). The editor dislikes this:
perform state.thing[xCBErthMas].amendthing[summary,descTxt] What's the syntax to change the summary text?
culhwch1066 is offline   #42 Reply With Quote