mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 03:31:08 +00:00
Update/Implementation of various fields in spells_new
219 not_extendable - > not_focusable - No focus are applied to these spells 217 maxtargets -> no_heal_damage_item_mod - Not applied to these spells. 232 -> no_remove -> Can not click off these spells even if beneficial 209 powerful_flag -> no_resist -> Unresistable spell
This commit is contained in:
+1
-1
@@ -4298,7 +4298,7 @@ float Mob::ResistSpell(uint8 resist_type, uint16 spell_id, Mob *caster, bool use
|
||||
}
|
||||
|
||||
//Get the resist chance for the target
|
||||
if(resist_type == RESIST_NONE)
|
||||
if(resist_type == RESIST_NONE || spells[spell_id].no_resist)
|
||||
{
|
||||
Log.Out(Logs::Detail, Logs::Spells, "Spell was unresistable");
|
||||
return 100;
|
||||
|
||||
Reference in New Issue
Block a user