So i'm attempting to add attacks into the import script i made, noticed a few hangups when i add repeating attacks: If i set the checkbox "Mwk" = true it ticks the box, but i have to physically untick and tick the box again before it will calculate ATK? How should i be setting the value with code? Also problems with the attack type and damage ability not being set at all, should these be set to a value instead of a string? function AddAttribute(attr, value, charID) { createObj("attribute", { name: attr, current: value, characterid: charID }); return; } and in code: AddAttribute("repeating_weapon_0_masterwork",true,charID); AddAttribute("repeating_weapon_0_attack-type","Melee",charID); AddAttribute("repeating_weapon_0_damage-ability","STR",charID);
Cheers, Jas