View Single Post
  #1  
Old 10-17-2008, 12:23 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default Damage Shield Messages - Discussion

I've been looking at getting the client to display the correct messages when a mob/player with a DS on is hit.

I know how to get the messages displayed. Just send an OP_Damage with a type of:

Code:
0xF7         (You are tormented - produced by banshee aura)
0xF8         (Burnt)
0xF9         (Pierced by thorns)
etc.
I've been looking at the spdat.h entries, and I can't see any fields in there which determine the type of damage shield (thorns, fire, etc.), so I thought I'd post here in case any of the experts in looking at spdat could see anything that I can't which could be used to determine what type of damage shield message should be produced.

I could always add a new table, damageshieldtype, with a spellid and type column. If there is no entry for a spell, things would behave as they do now, else an OP_Damage would be sent with the type from this new table.
Reply With Quote