Critical Affliction AA
{spell_effects.cpp}
~ line 2671, in Mob::DoBuffTic, there should be this set of code: Code:
//TODO: account for AAs and stuff Code:
// 2008-10-12 seveian |
Would make this section a little messy, might be a good candidate for it's own function.
|
Okay. I'll do up a TryCriticalDOT function then. Stand by.
|
Revised Version
{mob.h}
line 591, currently reads: Code:
void WakeTheDead(int16 spell_id, Mob *target, uint32 duration); Code:
bool TryCriticalDOT(int16 spell_id); @~ line 2671, there should be the following code: Code:
//TODO: account for AAs and stuff Code:
// 2008-10-12 seveian can be placed anywhere in the same file: Code:
// 2008-10-12 seveian |
Man you work quick, and that's definitely a nice addition. Critical Affliction is a pretty huge skill for Dot casters in EQ. Great job man, hope to see more stuff like this.
|
Getting reports from PEQ that this isn't working. Personally, I have yet to see a critical DoT happen.
|
I just tried this myself and had the same issue. Test conditions:
70 Shaman with 3 points of Critical Affliction & 3 points of Improved Critical Affliction (20% chance). Cast Sicken. I cast it 6 times, and out of the 8 time I cast it (15 ticks over time), not once did I get anything more than the standard 5 damage. I'd dig deeper, but I guess Tallon/Vallon Zek is down or something, so there's several people on my server atm, so I can't insert some code & compile to debug it, lol. |
Actually, after taking a 10th look at the code, I think I know what went wrong:
Code:
void Mob::TryDotCritical(int16 spell_id, Mob *caster, int &damage) I just compiled & tested, and DoTs now crit. |
Yeah I already found the problem yesterday just haven't committed it cause I wanted to do some other stuff first. Anyone else is free to~
|
I'll probably get it in addition to a few other tweaks (including shared bank plat, woohoo!) here in a few minutes.
|
Quote:
|
Don't thank me, thank Theeper :-)
|
All times are GMT -4. The time now is 02:04 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.