Spell field defined that determines if must be sneaking to use this ability.

This is handled by client under normal conditions, however if you
force cast this effect in situations like 'procs' you can cause
zone crashes, therefore a failsafe check is added in 'SpellOnTarget'
This commit is contained in:
KayenEQ
2014-11-13 21:45:19 -05:00
parent b32f59a40d
commit 563a39c2d9
5 changed files with 10 additions and 3 deletions
+1
View File
@@ -1564,6 +1564,7 @@ void SharedDatabase::LoadSpells(void *data, int max_spells) {
sp[tempid].NimbusEffect = atoi(row[193]);
sp[tempid].directional_start = static_cast<float>(atoi(row[194]));
sp[tempid].directional_end = static_cast<float>(atoi(row[195]));
sp[tempid].sneak = atoi(row[196]) != 0;
sp[tempid].not_extendable = atoi(row[197]) != 0;
sp[tempid].suspendable = atoi(row[200]) != 0;
sp[tempid].viral_range = atoi(row[201]);