Kamras

Member
So I'm about to get slapped with the noob stick but here goes...


I have at least 9 different races, I would like to give them all a variant set of racial bonuses, including resist cap increases like elfs. However I noticed that not even elfs in my case are accepting the +5 energy bonus. The ONLY change i made to elfs is their body type. So I checked playermobile.cs

Code:
            if (Core.ML && Race == Race.Elf && type == ResistanceType.Energy)
            {
                max += 5; //Intended to go after the 60 max from curse
            }

I see that it is set correctly per the race type, and that should still be effective but it's not. I also tried adding additional entries for other races but with no success, even on making a new toon.

I do not mind core edits if needed however can anyone point me in the right direction on WHAT to change so i can assign race resist caps? or at least tell me why mine is currently failing.
 
What expansion is yours set to? If it is an older one than ML it wont work.
Didnt look into it yet but thats something I would like to know befor even trying to dig through code :)
 
don't quote me on this but I believe this is a bug or problem in the servuo repo where elfs aren't getting 75 max energy.
The dev's know about it, i dont know why it hasn't been fixed? Maybe there is client side issues involved now?
I know in the past I've seen elves with 75 cap.
 
I honestly have no clue what was made there but ..
PlayerMobile.cs ~ line 762
in the method - public override int GetMaxResistance(ResistanceType type)

the return value currently there causes this issue. I simply let it return max and everything works fine, even the curse effect.
 

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back