diff --git a/common/shareddb.cpp b/common/shareddb.cpp index 4222852ad..aa136c41b 100644 --- a/common/shareddb.cpp +++ b/common/shareddb.cpp @@ -1704,7 +1704,7 @@ void SharedDatabase::LoadSpells(void *data, int max_spells) { sp[tempid].ResistDiff=atoi(row[147]); sp[tempid].dot_stacking_exempt=atoi(row[148]); 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].descnum = atoi(row[155]); diff --git a/zone/mob.cpp b/zone/mob.cpp index 75b4867a4..078fed266 100644 --- a/zone/mob.cpp +++ b/zone/mob.cpp @@ -4344,7 +4344,7 @@ bool Mob::TryReflectSpell(uint32 spell_id) 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 false;