Creature onkill reputation SF

From Project Skyfire
Jump to: navigation, search

Back to world database list of tables.

The `creature_onkill_reputation` table

This table holds the information for awarding reputation for killing a specified creature.


Structure

Field Type Attribute Key Null Default Comment
creature_id mediumint(8) unsigned PRI NO 0 Creature Identifier
RewOnKillRepFaction1 smallint(6) signed NO 0
RewOnKillRepFaction2 smallint(6) signed NO 0
MaxStanding1 tinyint(4) signed NO 0
IsTeamAward1 tinyint(4) signed NO 0
RewOnKillRepValue1 mediumint(9) signed NO 0
MaxStanding2 tinyint(4) signed NO 0
IsTeamAward2 tinyint(4) signed NO 0
RewOnKillRepValue2 mediumint(9) signed NO 0
TeamDependent tinyint(3) unsigned NO 0


Description of the fields

creature_id

|The creature's ID that will award rep. Found in creature_template.

RewOnKillRepFaction1

The ID# of the faction that you will gain/lose rep with. Found in Faction.dbc.

RewOnKillRepFaction2

The ID# of the faction that you will gain/lose rep with. Found in Faction.dbc.

MaxStanding1

The maximum standing (0-7 (Hated-Exalted)) that will award rep until for RewOnKillRepFaction1.

IsTeamAward1

Specifies if the kill should also award rep to the meta faction (0 = Off, 1 = On) for RewOnKillRepFaction1.

RewOnKillRepValue1

Amount of rep the kill should award to RewOnKillRepFaction1.

MaxStanding2

The maximum standing (0-7 (Hated-Exalted)) that will award rep until for RewOnKillRepFaction2.

IsTeamAward2

Specifies if the kill should also award rep to the meta faction (0 = Off, 1 = On) for RewOnKillRepFaction2.

RewOnKillRepValue2

Amount of rep the kill should award to RewOnKillRepFaction2.

TeamDependent

Specifies if the kill should award rep from both factions to all players or Alliance for 1 and Horde for 2 (0 = Off, 1 = On).