Custom hostility/reputation between players


I tried making 2 players from different guilds hostile with each other by modifying the function Unit::getReactionTo(). I tried returning REP_HOSTILE for players in different guilds however it did not work as all the calls to getReactionTo() were targetting unit itself.

Both players were in an isolated gm island yet there was no getReactionTo() call against the other player.

Any idea how I can fix this issue?