i have some custom spells that deal damage and bonus damage every two levels. what i have so far is this
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:8.0pt;
mso-para-margin-left:0in;
line-height:107%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
&{template:DnD35StdRoll} {{spellflage=true}}
{{name=@{character_name} }} {{subtags=casts Electric Jolt}} {{range= Close
[[25+(5*(@{casterlevel}/2)-2.5)]]}} {{saving throw=none}} {{spell resist.=
yes}} {{Caster level check: = [[ 1d20+@{casterlevel}+@{spellpen} ]] vs spell
resistance.}} {{compcheck= Conc: [[ {1d20 + [[ @{concentration} ]]
}>?{Concentration DC=15+Spell Level or 10+Damage Received|16} ]] }}
{{succeedcheck=Success! She casts her spell!}} {{failcheck=She fails :( }}
{{damage=[[1d3+(1*(@{casterlevel}/2)-2.5)]]}} my DM says it is calculating wrong due to the -2.5 at the end. how would i go about creating something like a floor function in the macro?