Partially implement dot_stacking_exempt

When it is 1 the spell will block it from other casters
Not 100% sure on when it's -1 so not currently used
This commit is contained in:
Michael Cook
2013-11-19 17:43:40 -05:00
parent edd4d47929
commit e33eb9d7b0
4 changed files with 13 additions and 5 deletions
+1
View File
@@ -1702,6 +1702,7 @@ void SharedDatabase::LoadSpells(void *data, int max_spells) {
sp[tempid].uninterruptable=atoi(row[146]);
sp[tempid].ResistDiff=atoi(row[147]);
sp[tempid].dot_stacking_exempt=atoi(row[148]);
sp[tempid].RecourseLink = atoi(row[150]);
sp[tempid].short_buff_box = atoi(row[154]);
+1 -1
View File
@@ -660,7 +660,7 @@ struct SPDat_Spell_Struct
/* 145 */ //int16 spellanim; // Doesn't look like it's the same as #doanim, so not sure what this is
/* 146 */ int8 uninterruptable; // Looks like anything != 0 is uninterruptable. Values are mostly -1, 0, & 1 (Fetid Breath = 90?)
/* 147 */ int16 ResistDiff;
/* 148 */ //int dot_stacking_exempt;
/* 148 */ int8 dot_stacking_exempt; // If 1 doesn't stack with self cast by others. If -1 (not implemented) doesn't stack with same effect (???)
/* 149 */ //int deletable;
/* 150 */ uint16 RecourseLink;
/* 151 */ // 151: -1, 0, or 1