-- to use, take 2 samples of one specific kind of plant e.g chrome dragonfroot
local DesiredLevel = 115
-- These 2 Values have to be from the same plant
local Level1 = 55 -- put Level of plant
local Hp1 = 55500 -- put Hp of plant
-- These 2 Values have to be from the same plant
local Level2 = 56 -- put Level of plant
local Hp2 = 101650 -- put Hp of plant
local LevelDiff = math.abs(Level1-Level2)
local HpDiff = math.abs(Hp1-Hp2)
local Inc = math.floor((HpDiff/LevelDiff*10)+.5)/10
local Base = Hp1-(Level1-1)*Inc
local MaxPotential = Base+(DesiredLevel-1)*Inc
print("The plant Hp at level 1 is: " .. Base .. "\nPer level it gains " .. Inc .. " Hp\nAt level ".. DesiredLevel .." it has " .. MaxPotential .. " Hp")