Wiki - AddSpellBonus

Discussions on development of both the EQ2Emulator LUA Script Engine and Script specifications

Moderator: Team Members

Post Reply
User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Wiki - AddSpellBonus

Post by Gangrenous » Sun May 26, 2019 10:05 am

Can we have a link to the list of Bonus ID's at the bottom of the AddSpellBonus entry.

List of ID's are here.

https://eq2emulator.net/wiki/index.php/ ... :ItemStats
Resident Dirty Hippy

tyrbo
Team Member
Posts: 271
Joined: Thu Feb 18, 2016 12:33 pm

Re: Wiki - AddSpellBonus

Post by tyrbo » Sun May 26, 2019 10:48 am

I'd double check that the higher numbers match up with what's in your Items.h file, which is another place where you can find a list of those stats.

It's probably up-to-date, but there were changes made a few years ago and I'm not sure if Items.h got changed at all with it.

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

Re: Wiki - AddSpellBonus

Post by Ememjr » Sun May 26, 2019 12:12 pm

the items.h file is the starting poing and the numbers you should use especially the 600 series

the code in combination with itemstats table (not to be confused with item_stats table) make the necessary adjustments between clients
since those seem to change and add between major updates

references the db table the stat colum is the stat that will match up with the list in items.h for compatibilty those should not change, but get a new number as new stats are added and get number 6999 if the sat is no longer used,

this way if your using CoE and but the stat wasnt created till AoM the item will just be missing that stat on the display (examine) in the client and not try to send invalid stats.

the emu_stat column is the actuall stat number that is sent to the client

the biggest thing to remember is to use the items.h as your reference list

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests