for the function, something that could go like
function giverandomXPtoplayer((character)player,(int)minXP,(int)maxXP)
that I could call from charscript, instead of

in the charscript:
assign a tag to player so that osiris knows something happened
get a random number
assign that number to a variable
then in osiris:
recognize the event (tag) that leads to giving the XP then
retrieve that variable that holds the random integer XP
give those XP to the player

I am not even talking about modifying the values according to the char attributes, skill level, item equipped, bench quality, for example...
this could be really excrutiating...

There HAS to be a simpler way.


Un chemin de 1000 lieues commence par un premier pas.

Project:
Steam workshop Frontiere