Here are the promised changes:
the original piece of the structure:
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[16]; // ***Placeholder
/*0312*/ uint16 skillModPercent; // Skill mod value in % (Sept 25, 2002)
/*0314*/ sint16 skillModId; // Skill mod index (Sept 25, 2002)
/*0316*/ sint16 BaneDMGRace;
/*0318*/ sint16 BaneDMGBody;
/*0321*/ uint8 unknown0321[4]; // placeholder ?
/*0324*/ uint8 RecLevel; // max should be 65
/*0325*/ uint8 RecSkill; // Max should be 252
/*0326*/ uint8 unknown0325[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;
And here is the modified code:
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
/*0314*/ sint16 BaneDMGMod; // Bane Damage Modifier
/*0316*/ sint16 BaneDMG; // Bane Damage
/*0318*/ uint8 unknown0322[2]; // placeholder ?
/*0320*/ uint8 RecLevel; // max should be 65
/*0321*/ uint8 RecSkill; // Max should be 252
/*0322*/ uint8 unknown0326[1]; // placeholder ?
/*0323*/ uint8 ResistDmgType; // Resist Damage Type
/*0324*/ sint16 ResistDmg; // Resist Damage
/*0326*/ uint8 unknown0325[2]; // placeholder ?
/*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;
the modified code works with admin tool v4.2, not sure if it would work with the client prog since i have no way to test it.
:
*EDIT> - I just checked the changes against hack server and they appear to be correct, atleast the bane damage and skill mods for sure. <EDIT*
Dingo :juggle: