The following was posted on a previous forum by Star Troll and works still
If in any doubt about what to do consult the guild
Let me give you guys the formula for dispelling:
Main colour mana needed = 2 x (random factor) x (casterSL / dispellerSL) x min(1,(dispellerXPlevel / casterXPlevel)) x spellcost
This looks complicated, but I'll break it down for you (and give some examples).
Main colour mana needed: this is the amount of mana (in your main colour) you will need to dispell the enemy spell on you.
(random factor): this is a random (duh) number between 0.9 and 1.1. It's different everytime. To be on the safe side, I always use 1.1.
(casterSL / dispellerSL): this is the Spell Level of the caster (the enemy) of the spell, divided by the Spell Level of the dispeller (you). You can find your Spell Level in the [Status] screen and you can see the Spell Level of the caster on the [Enchantments] screen.
min(1,(dispellerXPlevel / casterXPlevel)): this looks tough, but it just means that if you are spelled by someone with a higher XP level than you, that you can use the difference in XP level to help you dispell. The maker of the game (Zeb) put this in to help newbies dispell spells cast on them by veterans.
spellcost: the cost of the mana to cast this spell (25.000 for Eternal Winter and Flood, 20.000 for Swamp Plague, 10.500 for Vegetational Decay and 4.000 for Frightening Howls).
Now for some examples:
Suppose Darkness has cast Eternal Winter on destroyer. Darkness has an XP level of 20, destroyer's XP level is 6. Darkness has a SL (Spell Level) of 420, destroyer's SL is only 60. Then:
Main colour mana needed = 2 x 1.1 x (420/60) x (6/20) x 25000 = 4.62 x 25000 = 115.500.
This means that destroyer can put in 115500 in the box next to 'Wild' and dispell the EW like that (same goes for Flood).
Another example:
The brave LPP mage ChaosRain [#1415] has cast Eternal Winter on the evil RPG mage ~±‚±~ [#139]. ChaosRain's XP level is 14 and ~±‚±~'s XP level is 13. ChaosRain's SL is 350 and ~±‚±~'s SL is 300. Then:
Main colour mana needed = 2 x 1.1 x (350/300) x (13/14) x 25.000 = 2.38333 x 25000 = 59.583.
So ~±‚±~ can put 59583 in the box next to the word 'Wild' and dispell the EW.
Please note that I write that this is the mana needed, when using your main colour. If for instance destroyer doesn't have 115500 Red (=Wild=Mountain) mana, he can use other mana too, but at an extra price. Using mana from one colour away (Swamp or Green in this case) will cost 1.1x as much (so 115500x1.1 = 127050), for the other mana colours (Blue and White) he will need 1.25x as much (115500x1.25 = 144375).