hmm i need to get some sleep, so far it looks like this:
Code:
/*0279*/ sint8 effecttype; // 0=combat, 1=click anywhere w/o class check, 2=latent/worn, 3=click anywhere EXPENDABLE, 4=click worn, 5=click anywhere w/ class check, -1=no effect
/*0280*/ uint16 spellId; // spellId of special effect
/*0282*/ uint8 unknown0282[10]; // ***Placeholder 0288
/*0292*/ uint32 casttime; // Cast time of clicky item in miliseconds
/*0296*/ uint8 unknown0296[12]; // ***Placeholder
/*0308*/ sint16 skillModId; // Skill mod index (Sept 25, 2002)
/*0310*/ uint16 skillModPercent; // Skill mod value in % (Sept 25, 2002)
/*0312*/ sint16 BaneDMGRace; // Bane Damage Race
/*0313*/ uint8 BaneDMGMod; // Bane Damage Modifier
/*0314*/ uint8 unknown0314;
/*0316*/ sint16 BaneDMG; // Bane Damage
/*0318*/ uint8 unknown0318[2];
/*0320*/ uint8 RecLevel; // max should be 65
/*0321*/ uint8 RecSkill; // Max should be 252
/*0322*/ uint8 unknown0322; // placeholder ?
/*0323*/ uint8 ResistDmgType; // Resist Damage Type
/*0324*/ sint16 ResistDmg; // Resist Damage
/*0326*/ uint8 unknown0326[2];
/*0328*/ uint8 ElemDmgType;
/*0329*/ uint8 ElemDmg;
/*0330*/ uint8 unknown0330[28]; // Bane and Elemental dmg struct (writing it now, hopefully will be up soon)
/*0358*/ int16 focusspellId;
snip from p/d item.common:
Quote:
effecttype = 125,
spellId = 65535,
unknown0282 = {0, 0, 0, 0, 0, 0, 160, 65, 0, 0},
casttime = 0,
unknown0296 = {0 <repeats 12 times>},
skillModId = 0,
skillModPercent = 0,
BaneDMGRace = 3,
BaneDMGMod = 10,
unknown0314 = 0,
BaneDMG = 0,
unknown0318 = {0, 0},
RecLevel = 69,
RecSkill = 1,
unknown0322 = 0,
ResistDmgType = 0,
ResistDmg = 0,
unknown0326 = {0, 0},
ElemDmgType = 0,
ElemDmg = 0,
unknown0330 = {0 <repeats 28 times>},
focusspellId = 0
|
it seems that some of the variables are also used for different purpose, i've found out that current client doesn't show bane damage (?) but i compared item 15996 - Hammer of divination with my database, allakhazam data on the item, admin tool and client item stats on hack server.
allthough it doesn't show in the client, allakhazam shows +10 vs undead, the admin tool shows the same, and with the struct snip above i got the same from my database which is v4.2.
i'm not sure about the RecLevel and RecSkill, it lines up with admin tool v4.2 but it doesn't show in the client and atleast the RecLevel should.
Dingo :juggle: