This is one of the powers I've input that keeps troubling me. The output I get is
Quote:
java.lang.NullPointerException error executing expression status = eval(inputStr).
Where does the assess code you provided fit into this, please? As I said, consider me a complete noob when it comes to MTscript.
Code:
<!-- VEGv2.34 Power Macro (DO NOT CHANGE THIS LINE)
-- Do NOT change the Label, Group, Sort Prefix, Button Color, Font Color, or Tool Tip.
-- You may alter the power JSON below, except for the PowerName key. Execute it once to save.
-- Alternatively, click Load a Power Macro and alter it through the dialogs. -->
[H: power = '{
"PowerName": "Hellish Rebuke",
"PowerNum": 1,
"ActionType": 0,
"Chk_Keywords": 1,
"Keywords": "Arcane, Fire, Implement",
"Chk_FlavorText": 1,
"FlavorText": "You point your finger, and your foe is scoured in hellish flames stoked by your own<br>anger and pain. If you are injured, the flames burst into life one more time before they<br>fade away.",
"AttackType": 1,
"Chk_Range": 1,
"Range": 10,
"Chk_Requirement": 0,
"Requirement": "--",
"Chk_Trigger": 0,
"Trigger": "--",
"PrimaryAttack": {
"Chk_Target": 1,
"Target": "One creature",
"Chk_Attack": 1,
"Equip": 1,
"AttackAbility": 2,
"AttackBonus": 0,
"VsDefense": 3,
"Repetitions": 1,
"Chk_MultiDmgRolls": 1,
"CritThreshold": 20,
"Chk_IgnoreProf": 0,
"Chk_IgnoreLevel": 0,
"Chk_IgnoreDamage": 0,
"DmgAbility": 2,
"DmgDice": 0,
"DmgBonus": "1d6",
"DmgBonusMax": 6,
"DmgType": "fire",
"AttackAppend": ".",
"HitAppend": ". If you take damage before the end of your<br>next turn, the target takes an extra 1d6 + Constitution modifier fire damage.",
"Chk_Miss": 0,
"Miss": "--"
},
"SecondaryAttack": {
"Chk_Target": 0,
"Target": "--",
"Chk_Attack": 0,
"Equip": 1,
"AttackAbility": 1,
"AttackBonus": 0,
"VsDefense": 1,
"Repetitions": 1,
"Chk_MultiDmgRolls": 1,
"CritThreshold": 20,
"Chk_IgnoreProf": 0,
"Chk_IgnoreLevel": 0,
"Chk_IgnoreDamage": 0,
"DmgAbility": 1,
"DmgDice": 2,
"DmgBonus": 0,
"DmgBonusMax": 0,
"DmgType": "untyped",
"AttackAppend": ".",
"HitAppend": ".",
"Chk_Miss": 0,
"Miss": "--"
},
"TertiaryAttack": {
"Chk_Target": 0,
"Target": "--",
"Chk_Attack": 0,
"Equip": 1,
"AttackAbility": 1,
"AttackBonus": 0,
"VsDefense": 1,
"Repetitions": 1,
"Chk_MultiDmgRolls": 1,
"CritThreshold": 20,
"Chk_IgnoreProf": 0,
"Chk_IgnoreLevel": 0,
"Chk_IgnoreDamage": 0,
"DmgAbility": 1,
"DmgDice": 2,
"DmgBonus": 0,
"DmgBonusMax": 0,
"DmgType": "untyped",
"AttackAppend": ".",
"HitAppend": ".",
"Chk_Miss": 0,
"Miss": "--"
},
"Chk_Effect": 0,
"Effect": "--",
"Chk_Sustain": 0,
"SustainActionType": 0,
"SustainDesc": "--",
"Chk_Special": 0,
"Special": "--",
"Chk_Custom": 0,
"CustomLabel": "--",
"Custom": "--",
"Chk_CustomCode": 0,
"CustomCodeDesc": "Target spends a healing surge and regains this much additional HP:",
"CustomCode": "--",
"Chk_Supplement": 0,
"Chk_ShortDescription": 0,
"ShortDescription": "--",
"Chk_ToolTip": 1,
"Group": "*****Standard Actions*****",
"SortPrefix": 2,
"MinWidth": 6,
"Chk_CustomCodeHasTarget": 0,
"Chk_DisplayFlavorText": 0,
"FontSize": 0,
"Chk_Augment": 0,
"Augment": 0,
"Chk_Custom2": 0,
"CustomLabel2": "--",
"Custom2": "--",
"Chk_Custom3": 0,
"CustomLabel3": "--",
"Custom3": "--",
"Chk_DisplayTrigger": 0,
"Chk_DisplayHits": 0,
"Chk_DisplayMisses": 0,
"Chk_DisplayEffect": 0,
"Chk_DisplaySustain": 0,
"Chk_DisplaySpecial": 0,
"Chk_DisplayCustomRows": 0,
"AssState1": "",
"AssState2": "",
"AssState3": "",
"AssState4": "",
"AssState5": ""
}']
<!-- Extremely hacky way to make apostrophes work. -->
[H: power = replace(power, "`", "'")]
[MACRO('executePowerMacro@Lib:Veg'):power]