From d2e66214f4553947d0a483747627f517eb04f9ef Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Wed, 15 Jan 2014 01:19:03 -0500 Subject: [PATCH] Add numhitstype to the spell structure --- common/shareddb.cpp | 1 + common/spdat.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/shareddb.cpp b/common/shareddb.cpp index e047b761d..132f3290b 100644 --- a/common/shareddb.cpp +++ b/common/shareddb.cpp @@ -1715,6 +1715,7 @@ void SharedDatabase::LoadSpells(void *data, int max_spells) { sp[tempid].EndurTimerIndex=atoi(row[167]); sp[tempid].HateAdded=atoi(row[173]); sp[tempid].EndurUpkeep=atoi(row[174]); + sp[tempid].numhitstype = atoi(row[175]); sp[tempid].numhits = atoi(row[176]); sp[tempid].pvpresistbase=atoi(row[177]); sp[tempid].pvpresistcalc=atoi(row[178]); diff --git a/common/spdat.h b/common/spdat.h index e39ea22c2..13fc4bff1 100644 --- a/common/spdat.h +++ b/common/spdat.h @@ -694,7 +694,7 @@ struct SPDat_Spell_Struct /* 169 */ /* 173 */ int HateAdded; /* 174 */ int EndurUpkeep; -/* 175 */ //numhitstype; // defines which type of behavior will tick down the numhit counter. +/* 175 */ int numhitstype; // defines which type of behavior will tick down the numhit counter. /* 176 */ int numhits; /* 177 */ int pvpresistbase; /* 178 */ int pvpresistcalc;