Implement not_extendable spell field

This commit is contained in:
Michael Cook (mackal)
2014-01-20 13:34:18 -05:00
parent 70f994cda5
commit 935ce8f968
4 changed files with 17 additions and 11 deletions
+1
View File
@@ -1730,6 +1730,7 @@ void SharedDatabase::LoadSpells(void *data, int max_spells) {
sp[tempid].NimbusEffect = atoi(row[193]);
sp[tempid].directional_start = (float)atoi(row[194]);
sp[tempid].directional_end = (float)atoi(row[195]);
sp[tempid].not_extendable = atoi(row[197]) != 0;
sp[tempid].suspendable = atoi(row[200]) != 0;
sp[tempid].spellgroup=atoi(row[207]);
sp[tempid].powerful_flag=atoi(row[209]);
+3 -1
View File
@@ -710,7 +710,9 @@ struct SPDat_Spell_Struct
/* 193 */ int NimbusEffect;
/* 194 */ float directional_start;
/* 195 */ float directional_end;
/* 196 - 199 */
/* 196 */
/* 197 */ bool not_extendable;
/* 198- 199 */
/* 200 */ bool suspendable; // buff is suspended in suspended buff zones
/* 201 - 202 */
/* 203 */ //int songcap; // individual song cap (how live currently does it, not implemented)