EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Spell Support (https://www.eqemulator.org/forums/forumdisplay.php?f=664)
-   -   Question Regarding PVPResist___ (https://www.eqemulator.org/forums/showthread.php?t=35310)

Hateborne 05-04-2012 02:52 PM

Question Regarding PVPResist___
 
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.

Code:

    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


All times are GMT -4. The time now is 05:28 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.