The ModDmgForAttack Tag doesn't seem to want to cooperate. What I'm trying to use:
<Dialog branch="0">
OnLoad/0/Speaker Name/Setting stats for Gaze
<Action>AddTag/Test Subject,ModDmgForAttack,+:-STAT:Test Subject,Perception-:Gaze</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
However I have tried switching out "-STAT:Test Subject,Perception-" out with a simple "9".
<Dialog branch="0">
OnLoad/0/Speaker Name/Setting stats for Gaze
<Action>AddTag/Test Subject,ModDmgForAttack,+:9:Gaze</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
This doesn't seem to work either. It's entirely possible that I'm doing something wrong, but I'm not sure what it would be.
I also tried the top variant with the OnTurn/0 dialog trigger as well.
<Dialog branch="0">
OnTurn/0/Speaker Name/Setting stats for Gaze
<Action>AddTag/Test Subject,ModDmgForAttack,+:9:Gaze</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
EDIT: I just attempted to place the ModDmgForAttack tag in the Character entry in the CharClasses.xml file itself, to no avail.
<Char charname="Test/Subject" spritetype="Photokineticist_F" portrait="Photokineticist_F" race="Human" sex="Female" classname="Photokineticist" move="flying" hurtParticle="Sparks" shadowType="Small" shadowY="32" charY="16" lighting="" ctr="None" onDeath="None" defaultAtkAnim="Cast" atk1="Blink" atk2="Gaze" atk3="Summon Llama" atk4="" atk5="" atk6="" atk7="" atk8="" hp="50" en="40" spd="5" ctrLimit="0" dodge="0" str="20" per="9" psyP="20" psyD="20" prcRes="0" slshRes="0" crshRes="0" mnRes="0" htRes="0" cdRes="0" shRes="0" ltRes="0" poiRes="0" acc="100" lvl="10" exp="0" pushable="true" tags="ModRngForAttack,=:-STAT:Test Subject,Perception-:Gaze/ModDmgForAttack,=:-STAT:Test Subject,Perception-:Gaze"></Char>
Because I realize that -STAT:- only works in dialog, I did try it with numbers in it's place. In this case I replaced all -STAT:- calls with "9". The range modifier now works, but the damage modifier still does not.
<Char charname="Test/Subject" spritetype="Photokineticist_F" portrait="Photokineticist_F" race="Human" sex="Female" classname="Photokineticist" move="flying" hurtParticle="Sparks" shadowType="Small" shadowY="32" charY="16" lighting="" ctr="None" onDeath="None" defaultAtkAnim="Cast" atk1="Blink" atk2="Gaze" atk3="Summon Llama" atk4="" atk5="" atk6="" atk7="" atk8="" hp="50" en="40" spd="5" ctrLimit="0" dodge="0" str="20" per="9" psyP="20" psyD="20" prcRes="0" slshRes="0" crshRes="0" mnRes="0" htRes="0" cdRes="0" shRes="0" ltRes="0" poiRes="0" acc="100" lvl="10" exp="0" pushable="true" tags="ModRngForAttack,=:9:Gaze/ModDmgForAttack,=:9:Gaze"></Char>
When you hover over a target that is right in front of you, it does indicate that it should do 9 points of damage to health. When you launch the attack, however, it does 0 points.
This is the attack entry used accross all of the above tests:
<Atk elem="Mental" name="Gaze" d="0" cst="1" minRng="1" maxRng="1" shkMag="0" skhTim="0" strD="0" powD="0" defD="0" backstabFactor="0" sidestabFactor="0" selfHealFactor="0" selfFocusFactor="0" accMod="0" statFX="None" affects="Health" afterAtk="EndTurn" AOE="single" particles="Sparks" targeting="free" moveType="Normal" knockback="0" creates="" createdOnTeam="" dependsUpon="" impactFrame="-9" soundAndFX="SFX[Charge Up:0],SFX[Mind Blast:8],VFX[MentalEffect:OnTargets:12]" desc="Psych out your enemy"></Atk>
Unrelated:
The Actions box in any particular dialog branch in the Map Editor doesn't allow enough characters to fit "AssignSpeakerAtCoords".