Jump to content

[patch][7560] Implement IconName for gameobject


Guest NoFantasy

Recommended Posts

Feature: Add field to define IconName in gameobject_template (same as IconName in creature_template)

Revision: patch created with revision 7371(Master)

Author: NoFantasy

Info: This will add db-field to define the name of icon to be used instead of default icon for gameobject as expected for some GO's. "Attack" will for example make icon become a sword when hover over the gameobject instead of a 'wheel' (or whatever the default is for this type).

Example data:

UPDATE gameobject_template SET IconName='Attack' WHERE entry=192932;

Patch:

http://paste2.org/p/158669

SQL:

ALTER TABLE gameobject_template
 ADD COLUMN IconName varchar(100) NOT NULL default '' AFTER name;

Link to comment
Share on other sites

  • 4 weeks later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use