Still new here, been tinkering with this macro & I've got some of it done, but needing a bit of help please. I apologize because it's long. But the macro works for the most part, there's just a few things I want to have added in. I'm inclined to believe that if I can get this down & understand it, that I should be able to apply this to the majority of future macros. If you choose to rewrite it & add in the codes, I just ask that you explain what you added & what did what so I can apply it for use in future macros. This is for a 3.5e campaign... 1. What's the code to have this subtract the expended power points from my character sheet? 2. I have the popup asking what element, it defaults to fire. But is there a way to apply the elements bonus in the macro? Cold & Fire get +1 damage per power point. Sonic does -1 damage per power point. And if Electricity is chosen, is there a way to have it ask if the target has metal armor to be able to apply the +3 to attack rolls & +2 to caster level? Since Cold, Fire & Sonic are all +/- 1 per power point, I figure those should be possible, not certain on electric. &{template:DnD35StdRoll} {{spellflag=true}} {{name=@{character_name} }} {{subtags=Betty casts [Energy Ray!](<a href="http://www.d20srd.org/srd/psionic/powers/energyRay" rel="nofollow">http://www.d20srd.org/srd/psionic/powers/energyRay</a> )}} {{School= Psychokinesis }} {{Level= Psion/Wilder 1}} {{Cmpnts=Auditory}} {{Cast Time=Standard}} {{Range= Close ( [[25 +[[({floor(@{casterlevel}/2)*5}kl1) ]] ]] ft)}} {{Target= 1 creature }} {{Duration= Instantaneous}} {{Save?= None}} {{Spell Resist.= Yes}} {{CL check: = [[ 1d20+@{casterlevel}+@{spellpen} ]] vs SR}} {{compcheck=Concentration= [[ {1d20 + [[ @{concentration} ]] }>?{Concentration DC=15+Spell Level or 10+Damage Received|0} ]] }} {{succeedcheck=Success!}} {{failcheck=Fail! }} {{check= An energy ray flys from Betty's pointed finger,}} &{template:DnD35Attack} {{attack=[[ 1d20 + [[ @{rangedattackbonus} ]] ]] vs Touch AC}} {{notes=@{rangedattacknote} }} {{checkroll=hitting for [[ ?{Power Points (1s)?|1}d6} ]] ?{Energy Type?|Fire} damage.}} {{notes= Upon manifesting this power, you choose cold, electricity, fire, or sonic. You create a ray of energy of the chosen type that shoots forth from your fingertip and strikes a target within range, dealing 1d6 points of damage, if you succeed on a ranged touch attack with the ray. Cold: A ray of this energy type deals +1 point of damage per die. Electricity: Manifesting a ray of this energy type provides a +3 bonus on your attack roll if the target is wearing metal armor and a +2 bonus on manifester level checks for the purpose of overcoming power resistance. Fire: A ray of this energy type deals +1 point of damage per die. Sonic: A ray of this energy type deals -1 point of damage per die and ignores an object’s hardness. This power’s subtype is the same as the type of energy you manifest. Augment: For every additional power point you spend, this power’s damage increases by one die (d6). }}