From Dark and Darker Wiki

< does ignite damage calculate when you cast or when you hit?

No it will do the base magical damage on the tool tip plus any of THEIR +magic damage which is scaled by THEIR magic power bonus followed by adding any add magical damage or true magic damage. All scaling for both the initial/dot dmg have a .5 scaling and are affected by hit location (whether you land a headshot/chest shot/etc)