Log in

View Full Version : Question Regarding PVPResist___


Hateborne
05-04-2012, 02:52 PM
I am trying to set a spell to be 100% failure when cast on a player. The spell was intended to cause the mob to proc a heal on player when striking said player. A clever player on the server has figured out that dueling his cleric and then attacking his main tank causes HUGE healing numbers (1mil+ crit heals).

I can guesstimate that pvpresistbase is probably the same as ResistDiff (but for players only), but pvpresistcap and pvpresistcalc are ?? to me.

Can anyone point me to where I should be looking or any spell I should be using as a reference?

-Hate

lerxst2112
05-04-2012, 04:05 PM
Those values are read from the database but don't appear to be used in the code at all.


sp[tempid].pvpresistbase=atoi(row[177]);
sp[tempid].pvpresistcalc=atoi(row[178]);
sp[tempid].pvpresistcap=atoi(row[179]);


Those are the only references to those values I saw.

Hateborne
05-04-2012, 04:20 PM
So I'm not crazy. Neat. Oh, and as always, thank you lerxst2112. Ever informative. :-)

Any suggestions on getting a spell to consistently fail when cast on a player? I can set the ResistDiff off, but then it would never land on the mob. I could also move the effect from CurrentHP to CurrentHPOnce (to prevent the massive scaling). Those still do not stop a fast attacking, low dps from abusing it (through dueling to force it to proc).

Thank you again Lerxst2112.

-Hate