Hello devs and players. I have made many things in my game wich i realli like, but i have a problem now implementing xbows (crossbows) I want them to ignore armor. So my question is is there a module factor (i really bad remember math maybe it wasn't called module) So here is what i use in usual damage calculation Weapoon 1 is characters weapoon damage BossArmor is boss resistance like *1,*0.5 or *1.5 etc Defence - Targets defence DMG = [[floor(@{weapoon1}@{target|Target1|BossArmor})-@{target|Target1|Defence}]] Now i want to give an armor reduction of 10, so i write DMG = [[floor(@{weapoon1}@{target|Target1|BossArmor})-(@{target|Target1|Defence}-10)]] It warks nice if target has 10 or more armor, but if target doesn't have armor (0 - Defence) it give extra 10 dmg and i want to just decrease armor, if target has 0 armor so dmg would't increase, is there a command like floor() or something to not let number in () become negative, so that (10-11) = (0, not -1)