How do you assign a weapon damage bonus from a spell in the adjustment section?
Hi All
I am working on adding some spells in the conditions section that increase a pc's attack and damage by 2. I have this so far for a spell that uses BonLuck... ~ +1 Attack Code:
hero.child[Attack].field[BonLuck].value = maximum(hero.child[Attack].field[BonLuck].value, 1) Code:
hero.child[Damage].field[BonLuck].value = maximum(hero.child[Damage].field[BonLuck].value, 1) It seems like BonLuck does not work yet if i change the code to read.... ~ +1 Damage Code:
hero.child[Damage].field[tDamBonus].value = maximum(hero.child[Damage].field[tDamBonus].value, 1) So i figure i am missing something very simple...what would it be? |
The Damage component does not have access to the modifiers because the weapons themselves are unfortunately set up so that their modifier fields apply to their attack, which means that the Damage pick can't forward its fields on to the weapons like the Attack pick can.
So, until I can figure out a way to properly distinguish an attack BonLuck and a damage BonLuck on a weapon, damage can't be tracked modifier by modifier. |
Okie dokie thanks allot Mathias.
:) |
you could just have a temp adjustment named with each bonus and add it to all damage dealt
|
All times are GMT -8. The time now is 07:13 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.