• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[Eluna somehow brings issues to riding skill]

Status
Not open for further replies.

OMGhixD

Sexy Member
I'm quite new to coding in general, however the Eluna forced the riding skills to go 1/300 EVERY time.

Would this be causing it?

player->SetSkill(id, step, currVal, maxVal);
return 0;


Found in PlayerMethods.h

Now essentially i want it to automaticly set EVERY skill to 300-400

With Eluna Version Running
h9sIqSB.png


Without Eluna Version Running
ZdegBkC.png


I don't know why or how it would bring issues to the riding skills. it's very odd :mad2: :yuno:
 
In my core eluna set riding 1/300 too, but i did this to solve temporaly

Code:
function enter(event, player)
        player:SetSkill(762,300,300,300)	
end
   
RegisterPlayerEvent(3, enter)
 

Jpp

Administrator
Open up SpellEffects.cpp and change
Code:
unitTarget->ToPlayer()->SetSkill(skillid, m_spellInfo->Effects[effIndex].CalcValue(), std::[COLOR="#FF0000"]min[/COLOR]<uint16>(skillval, 1), tier->MaxSkill[damage - 1]);
to
Code:
unitTarget->ToPlayer()->SetSkill(skillid, m_spellInfo->Effects[effIndex].CalcValue(), std::[COLOR="#00FF00"]max[/COLOR]<uint16>(skillval, 1), tier->MaxSkill[damage - 1]);
 
Status
Not open for further replies.
Top