a coding challenge, to come up with an extension or rule set change to automatically award Xp when a player gets given gold in a parcel
Printable View
a coding challenge, to come up with an extension or rule set change to automatically award Xp when a player gets given gold in a parcel
Ok you have to drop it into the XP tab I just tested it. It did not work on inventory drop but I had no idea this was coded in 2e. I've been manually assigning gold XP in Night Below.
like wise i didnt know you could do it in the 2e ruleset
This is very much wanted! Is anyone taking up the coding challenge?
Ok guys after speaking with Celestian I took his code for 2e and modified it. basically drop your parcel onto the encounters section of your XP tab on the party sheet. It will return the "< name of the parcel > [COINS]" with the cumulative coin XP for all coins.
Edit. try deleting the pak file and updating again. I checked the version on the server it it was correct.
This is line 120 to 124
for _,aRate in ipairs(OSE_Tables.expForCoinRate) do
local sCoin = aRate[1];
local nReward = aRate[2];
if sCurrency:lower() == sCoin:lower() then
nEXP = math.floor(nCurrency * nReward + .5) + nEXP;
--break;
end
end