• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Problem with DamageUp Tags

Found numerous bugs with using the DamageUp tag with natural weapons. 4d6 goes to 6d8, 2d8 goes to 6d6 (huh?), 2d6 goes to 3d8, and so forth. Or maybe this isn't a bug. This doesn't happen with Improved Natural Attack, only when I do DamageUp tags myself. Curious, when looking at the DamageUp tags in that feat, it uses a focus return value. I had thought focus was just the natural weapon selection, but now I'm not sure. Is this needed to increase the damage on a creature correctly? What does the function call to fTargetFocus do? What is the focus that is returned?
 
The fTargetFoc procedure sets the focus to the natural weapon selected by the feat. That is why after it is called, the scripts only refer to "focus.assign" instead of "field[fChosen].chosen.assign"
 
Hmm, not sure why Improved Natural Attack works fine then, but when I assign the same tag I get wacky results. Someone should try to replicate this problem, assign damage up tags and see what results come through, then do the Improved Natural Attack instead and see what happens. If it can be duplicated, I'll report it as a bug, otherwise I must have done something screwy on my end, though I can for the life of me track down anything it could be.

ADDENDUM: Well, it appears to happen only on creatures in which I have actually assigned damage tags to, the wMainXX_XXX damage tags. Still, not sure why it works fine with Improved Natural Weapon, but not any other assignment of a Helper.DamageUp tag. Even in debug mode, I can't see a difference in the tag assignments. It's a mystery to me.
 
Last edited:
Please ignore this post, as I am a moron. Like a dope, I forgot to check timing issues between two effects, the first assigning the wMainXX_XXX damage tags and the other assigning DamageUp tags. I had them in the wrong order, once that was changed, everything is back to working as expected. My bad, I keep forgetting to check timings between exclusive adjustments/specials, causing me no end of hours lost. Sorry for the post, problem resolved.
 
Thanks, being a full-time programmer myself, all this switching between languages really throws me for a loop, it's almost like having to re-train all my habits all over again. LOL.
 
Back
Top