PDA

View Full Version : Manaconvert not doing enough damage


Xzerion19
02-19-2009, 02:22 PM
Manaconvert, the effect of the manastone is only doing 39 hp of damage. When I went into the spell editor it was listed as doing 60hp of damage. I had to raise the dmg in the editor to 91 to make it do 60 dmg in the game.

Why is this? Is there some kind of hidden formula server-side that I am not aware of? The effect type listed in the editor is 0:HP [DD/per Tick] and the effect forumula is 100:min. I tried changing the Effect type to 69:Total HP but then no damage was being done at all.

Thanks

ChaosSlayer
02-19-2009, 02:29 PM
TotalHP is a formula only used by buffs - its set the upper cap for total hp for hp buffing spells

the dmg from convert mayby affected by your level as many formulas include a level in its calculations

Derision
02-19-2009, 02:37 PM
There is code in Client:: Damage which cuts all PVP damage to 2/3 of normal, so that is probably causing it.

Simple fix would probably be to change the code in question to this:


//Don't do PvP mitigation if the caster is damaging himself
if(other && other->IsClient() && (other != this) && damage > 0) {
int PvPMitigation = 100;
if(attack_skill == ARCHERY)
PvPMitigation = 80;
else
PvPMitigation = 67;
damage = (damage * PvPMitigation) / 100;
}