I want to limit spell damage for low level spells. Spell damage is calculated from INT of character and other modification so i want to limit dmg if character is highly inted, but uses low level spells. i have made simple macro and it seems work fine [[{10d1,15-1d10}kl1]] So i made a harder spell &{template:default} ?{Spell? | Fire, {{name=Fire}} {{DMG=[[{100d1,floor((3d@{INT}+1d@{WIT})@{FireMagic}@{MagicDMG}@{target|Target1|DefM}@{target|Target1|DefF})}kl1]] | Relax, {{name=Relax}} {{Relax=**Smile** } }} So it does floor( (3dINT+1dWIT) *Fire magic mastery *All magic mastery *BossMagicDefence *Fire defence) My problem is that first part 100d1 cannot be replaced with just 100 and rolling 100d1 dices is a bit wrong (it can cause lags for my game and the whole server) so i want to optimize it. If anyone can offer anything else please offer, or tell how to replace 100d1, or maybe i have somewhere a mistake, it will be nice to hear your opinion, because right now i will rewrite all spells macros and i don't wont to rewrite 240 spells multiple time.