Coding for a Weapon that's more effective in one race's hands
Hi Folks,
I was wondering if there is a way to code a weapon so that if a certain race is using it, it's more effective. For instance, the weapon I want to code in this situation would be a standard +1 warhammer. However, in a dwarf's hands, it's +2 and adds 1d10 radiant damage to giants. The write up for it is:
"You gain a +1 bonus to attack and damage rolls with this weapon. If you are a dwarf, you gain a +2 bonus to attack and damage rolls with the weapon, and deal an additional 1d10 radiant damage against giants."
Any help is greatly appreciated! Thanks.