Implemented proper functionality of SE_Screech

If you have a buff with SE_Screech with value of 1
it will block any other buff with SE_Screen that has
a value of -1, giving you an immunity message.
Example: 1383 Screech and 2785 Screech Immunity
This commit is contained in:
KayenEQ
2014-04-04 22:03:32 -04:00
parent 1d6e947387
commit 2c69dd7c93
5 changed files with 18 additions and 2 deletions
+6
View File
@@ -2588,6 +2588,12 @@ void Mob::ApplySpellsBonuses(uint16 spell_id, uint8 casterlevel, StatBonuses* ne
case SE_NegateIfCombat:
newbon->NegateIfCombat = true;
break;
case SE_Screech:
newbon->Screech = effect_value;
break;
}
}
}