I am struggling to write a proper scaling macro for a Pathfinder Ranger and would really appreciate some help +2 bonus on weapon attack and damage rolls against At 5th level and every five levels thereafter (10th, 15th, and 20th level) the bonus against any one favored enemy increases by +2. In essence at level 1 it is a simple +2, at level 5 it is a +4 Attack Macro +[[?{Favored Enemy One|No,0|Yes,1}*(2+floor(@{class-0-level}/5))]] Damage Macro +[[?{Favored Enemy One|No,0|Yes,1}*(2+floor(@{class-0-level}/5))]] It doesn't scale properly and for the life of me I cannot figure it out. Please can I have some assistance