• 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

Dragontooth Wand

MagicSN

Well-known member
Hi!

I recently implemented Dragontooth Wand (sadly Hero Lab does not offer Superior Implements, and they have to be implemented for each specific type individually, I already did "Accurate Magic" and "Accurate Staff of Ruin").

My remaining problems with the Dragontooth Wand, does anybody have an idea how to solve this?

I am using this code

foreach pick in hero where "EquipIndex.? & thingid.mgDTMWan2"
perform eachpick.assign[Helper.AttBonus]
nexteach
foreach pick in hero from Power where "AttackVs.defRef"
perform eachpick.field[pwDamBonus].modify[+,bonus,""]
nexteach

while the Attack Bonus is only added (correctly) to the wand in question the damage bonus is also added to the offhand item (which might be a non-dragontooth-wand-item). Basically what I would need would be a combination of the two foreach's, basically "check for powers which work against reflex, and only the part of the display which is using an item of thingid.mgDTMWan2". But I do not know how to do this in the scripting language.

The second problem is that (this also applies to the Accurate Scripts from above !!!) I only know how to check for "Superior Implement Training", but not for "Superior Implement Training (Dragontooth Wand)".

Anyone knows how to fix this?

Best regards,
MagicSN
 
Back
Top