Book of Heroes

Toxic Blade, Poison Cloud, Acid pray

Are those attacks base on spell or melee or both? I assume they are base on spell because those attack never misses but I just don't know if the damage output might be releated to melee or not.