Hi
Been away for a LONG time. I just want to remember if I get the jist of things here...
Let's say I want to add a base crit chance to paladins(ok shd too). (I know it's humorous)
From all that I understand (which is very little) .. modify the attack.cpp and add some new rules.
modify this:
Code:
if (((GetClass() == WARRIOR || GetClass() == BERSERKER) && GetLevel() >= 12) || IsBerskerSPA) {
if (IsBerserk() || IsBerskerSPA)
critChance += RuleI(Combat, BerserkBaseCritChance);
else
critChance += RuleI(Combat, WarBerBaseCritChance);
to this
Code:
if (((GetClass() == WARRIOR || GetClass() == BERSERKER || GetClass() == Paladin || GetClass() == ShadowKnight) && GetLevel() >= 12) || IsBerskerSPA) {
if (IsBerserk() || IsBerskerSPA)
critChance += RuleI(Combat, BerserkBaseCritChance);
elseif
critChance += RuleI(Combat, PalShdBaseCritChance);
else
critChance += RuleI(Combat, WarBerBaseCritChance);
Add the appropriate rule to the rules table; PalShdBaseCritChance
Would this fly?
-lax