Temporary potion effects [solved]

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
User avatar
AndakRainor
Posts: 674
Joined: Thu Nov 20, 2014 5:18 pm

Re: Temporary potion effects [solved]

Post by AndakRainor »

replace

Code: Select all

party.party:getChampion(champ)
with this:

Code: Select all

party.party:getChampionByOrdinal(champ)
Also, it could be nice to add another parameter to this function to hold the stat string : "strength", and use it for other stats too.
Post Reply