PDA

View Full Version : Bug?



Honken
September 18th, 2019, 19:43
Hello!

I fiddled a bit with the MTG2 ruleset, added a NPC, and can roll the skills listed in the NPC skill list. But, those skills are without any ability bonus. So i tried to press the appropriate ability in the ability section below the chat window, and i got a error.


"Script Error: [string "scripts/manager_action_skill.lua"]:117: attempt to perform arithmetic on field 'nStatMod' (a nil value)"

/H

MadBeardMan
September 19th, 2019, 07:46
Hello!

I fiddled a bit with the MTG2 ruleset, added a NPC, and can roll the skills listed in the NPC skill list. But, those skills are without any ability bonus. So i tried to press the appropriate ability in the ability section below the chat window, and i got a error.


"Script Error: [string "scripts/manager_action_skill.lua"]:117: attempt to perform arithmetic on field 'nStatMod' (a nil value)"

/H

Morning,

Normally the Skill listed against the NPC is their total skill, I see that including their ability bonus, but the idea to use the desktop buttons is brilliant.

I'll fix this so they work with NPC's.

Thanks for reporting this.

Cheers,
MBM