1 Attachment(s)
MoreCore: When rolling an attack on multiple targets
I added 2 different types of monsters to the CT.
Then I added 2 PCs to test their class bonuses.
The PC (elf) when attacking a goblin or Lich received a +1 to hit. With proper text.
When I try to target both together, it does not use the racial vs target mods.
I then put a printf on the method (onMod) and see it is called only one time and without a target string.
What would I look at to address this? Is it a limitation on the MoreCore roller system? Is there a simple example on multi-target targeting where each target is looked at that I can see if I can make a change to handle this?
Attachment 44182
Above is the chat log.
The logging on the call to onMod(...):
Runtime Notice: s'onModHandler' | { s'sType' = s'pc', s'sCreatureNode' = s'charsheet.id-00003', s'sCTNode' = s'combattracker.list.id-00002', s'sName' = s'Pete' } | nil | { s'aDice' = { #1 = s'd20' }, s'nMod' = #0, s'sType' = s'swthac0', s'aAttributes' = { }, s'sDesc' = s'[THAC0:19]' }