narko
vertrauenswürdig ~
I've been struggling with some changes I want to make to my server, tbh i'm kinda tired of trying this, that's why I decided to post it here, if someone could help that'd be cool. It takes place in Game::combatChangeHealth function in game.cpp, I want to return false to this function in PvP if both parts have the same storage value.
Is there way to use getStorageValue in game.cpp I mean I know that I have to point it.
For example attackerPlayer->getStorageValue
Example:
Error:
getStorageValue function is not pointed or declared to Creature.
Full code:
http://pastebin.com/H3RsbmiW
Engine:
TFS 1.0
Thanks in advance,
Cheers.
Is there way to use getStorageValue in game.cpp I mean I know that I have to point it.
For example attackerPlayer->getStorageValue
Example:
Code:
if (attackerPlayer->getStorageValue(39753) > 0 && target->getStorageValue(39753) > 0) {
return false;
}
Error:
getStorageValue function is not pointed or declared to Creature.
Full code:
http://pastebin.com/H3RsbmiW
Engine:
TFS 1.0
Thanks in advance,
Cheers.
Last edited: