noretoc
unread,Aug 8, 2016, 9:08:45 AM8/8/16You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
See my last reply, you can't really do this with the special tab of
a feat, as the code dosen't run unless that creature is selected. ?
What feat are you trying to code for? ? What I have done in the past
(thought there may be a better way) for things like this, is I use
conditions. ? EX the Hunter's bond power. ? When a ranger uses it, I
put a condition on the allies who are affected, and then store the
ranger's name in a variable on the ally. ? Then I stor the bonuses
on the ranger in variables. ? Then In the attaqck tab, I have
dmgenie look for that condition. ? If found, it check the variable
on the ally, find the ranger's name. ? Usese get creature by name,
and dtores that in targetCR. ? Then look up the variable from target
cr for the bonuses, and applies them to vr (The active attacker).
For some abilities like auras, I do the same, but throw in a message
box, asking me if the person with the aura is in range, that way i
dont have to keep removing condition as people move in and out of
the aura.
__._,_.___