This commit is contained in:
KayenEQ 2014-02-15 08:16:41 -05:00
parent 5344679c7c
commit 49df0a5d33
2 changed files with 2 additions and 2 deletions

View File

@ -1704,7 +1704,7 @@ void SharedDatabase::LoadSpells(void *data, int max_spells) {
sp[tempid].ResistDiff=atoi(row[147]); sp[tempid].ResistDiff=atoi(row[147]);
sp[tempid].dot_stacking_exempt=atoi(row[148]); sp[tempid].dot_stacking_exempt=atoi(row[148]);
sp[tempid].RecourseLink = atoi(row[150]); sp[tempid].RecourseLink = atoi(row[150]);
sp[tempid].no_partial_resist = atoi(row[161]) != 0; sp[tempid].no_partial_resist = atoi(row[151]) != 0;
sp[tempid].short_buff_box = atoi(row[154]); sp[tempid].short_buff_box = atoi(row[154]);
sp[tempid].descnum = atoi(row[155]); sp[tempid].descnum = atoi(row[155]);

View File

@ -4344,7 +4344,7 @@ bool Mob::TryReflectSpell(uint32 spell_id)
int chance = itembonuses.reflect_chance + spellbonuses.reflect_chance + aabonuses.reflect_chance; int chance = itembonuses.reflect_chance + spellbonuses.reflect_chance + aabonuses.reflect_chance;
if(MakeRandomInt(0, 99) < (GetTarget()->itembonuses.reflect_chance + GetTarget()->spellbonuses.reflect_chance)) if(chance && MakeRandomInt(0, 99) < chance)
return true; return true;
return false; return false;