diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index d944c11b..037678af 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -343,6 +343,9 @@ int Creature::AddBuff(Creature* caster, return 0; } } + if (buff_meta->i->no_immune()) { + no_check_immune = 1; + } if (!no_check_immune && IsImmuneBuffEffect(buff_meta->i->buff_effect())) { return 0; } diff --git a/server/tools/protobuild/metatable.proto b/server/tools/protobuild/metatable.proto index 2bb37373..ad1048ba 100755 --- a/server/tools/protobuild/metatable.proto +++ b/server/tools/protobuild/metatable.proto @@ -294,6 +294,7 @@ message Buff optional string only_spec_race = 27; optional string exclude_spec_race = 28; optional int32 dead_remove = 29; + optional int32 no_immune = 30; } message Drop