1
This commit is contained in:
parent
ee0d56cf03
commit
186336247e
@ -343,6 +343,9 @@ int Creature::AddBuff(Creature* caster,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (buff_meta->i->no_immune()) {
|
||||||
|
no_check_immune = 1;
|
||||||
|
}
|
||||||
if (!no_check_immune && IsImmuneBuffEffect(buff_meta->i->buff_effect())) {
|
if (!no_check_immune && IsImmuneBuffEffect(buff_meta->i->buff_effect())) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -294,6 +294,7 @@ message Buff
|
|||||||
optional string only_spec_race = 27;
|
optional string only_spec_race = 27;
|
||||||
optional string exclude_spec_race = 28;
|
optional string exclude_spec_race = 28;
|
||||||
optional int32 dead_remove = 29;
|
optional int32 dead_remove = 29;
|
||||||
|
optional int32 no_immune = 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Drop
|
message Drop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user