what is the difference (potency)

EQ2Emulator Development forum.

Moderator: Team Members

Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

what is the difference (potency)

Post by Ememjr » Tue Mar 05, 2019 2:50 pm

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

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: what is the difference (potency)

Post by Jabantiz » Tue Mar 05, 2019 4:39 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest