Page 1 of 1

Weapon enhancements

Posted: Wed Jan 14, 2015 11:18 am
by Frenchie
Is it possible to change the weapon attributes like AttackPower?

I reckon a weapon has the following attributes that sums up to damage:
- thumbnail
- sound
- glow (particles)
- description
- weight
- type (sharp, blunt, ranged)
- thrown attack power (0 if ranged weapon)
- melee attack power
- critical chance
- special melee attack (magical or melee)
- monster bonus (attack bonus with certain mobs)

The idea I have is to have a lucky charm like a rabbit's foot that changes either attack power or critical.

Re: Weapon enhancements

Posted: Wed Jan 14, 2015 11:24 am
by THOM
Here viewtopic.php?f=22&t=8512&hilit=asset

you can find a file with all the object definitions. You will see how weapons are scripted and also how you can change them. You only have to include your new weapon into your mod.

Regarding an item, that can add some points to certain attributes, you can find some examples, too. Bracers or Naclaces...