Page 1 of 1

what is the difference (potency)

Posted: Tue Mar 05, 2019 2:50 pm
by Ememjr
what is the differnece between these 2 when updateing charactersheet for potency

Code: Select all

player->stats[ITEM_STAT_POTENCY]
info_struct->potency
there are others as well

Re: what is the difference (potency)

Posted: Tue Mar 05, 2019 4:39 pm
by Jabantiz

Code: Select all

info_struct->potency
Was the old way of doing it.

Code: Select all

player->stats[ITEM_STAT_POTENCY]
Was a new way.

Currently depending on the stat is what the server will use, there is a switch some where for stat types that will determine if the map or the info_struct is used, I think if you follow AddSpellBonus you will find it.