mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 22:56:37 +00:00
Implemented an enumerator list for numhits type variables.
Implemented type 4 outgoing spell damage numhits type.
This commit is contained in:
@@ -150,6 +150,20 @@ enum TradeState {
|
||||
TradeCompleting
|
||||
};
|
||||
|
||||
enum { //Numhits type
|
||||
NUMHIT_IncomingHitAttempts = 1, //Attempted incoming melee attacks (hit or miss) on YOU.
|
||||
NUMHIT_OutgoingHitAttempts = 2, //Attempted outgoing melee attacks (hit or miss) on YOUR TARGET.
|
||||
NUMHIT_IncomingSpells = 3, //Incoming detrimental spells
|
||||
NUMHIT_OutgoingSpells = 4, //Outgoing deterimental spells
|
||||
NUMHIT_OutgoingHitSuccess = 5, //Successful outgoing melee attack HIT on YOUR TARGET.
|
||||
NUMHIT_IncomingHitSuccess = 6, //Successful incoming melee attack HIT on YOU.
|
||||
NUMHIT_MatchingSpells = 7, //Any casted spell matching/triggering a focus effect.
|
||||
NUMHIT_IncomingDamage = 8, //Successful incoming spell or melee dmg attack on YOU
|
||||
NUMHIT_ReflectSpell = 9, //Incoming Reflected spells.
|
||||
NUMHIT_DefensiveSpellProcs = 10, //Defensive buff procs
|
||||
NUMHIT_OffensiveSpellProcs = 11 //Offensive buff procs
|
||||
};
|
||||
|
||||
//this is our internal representation of the BUFF struct, can put whatever we want in it
|
||||
struct Buffs_Struct {
|
||||
uint16 spellid;
|
||||
|
||||
Reference in New Issue
Block a user