Setting accuracy/damage when explicit using a bow?
Posted: Fri Jan 20, 2017 10:50 pm
Good evening,
in the traits.lua the closest thing to modifie weapon/damage/accuracy stats during character creation, is this...
...unfortunately it is hard coded, and doesn't reveal any sign on how to exactly give stats boost when using a bow weapon. I understand that dexterity increases accuracy for all ranged weapons used, but that's not what I want. In particular, I am modding a new race, you guess it, Elfs, which should benefit from using bows. Would this be working...
...when using weapon = "bow"?
in the traits.lua the closest thing to modifie weapon/damage/accuracy stats during character creation, is this...
Code: Select all
defineTrait{
name = "piercing_arrows",
uiName = "Piercing Arrows",
icon = 23,
description = "Your Missile Weapon attacks ignore 20 points of enemy's armor.",
-- hardcoded skill
}
Code: Select all
EquipmentItemComponent.onComputeAccuracy(self, champion, weapon, attack, attackType)