mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
WIP on auras
Lots to do still Normal buffing auras currently work for the most part
This commit is contained in:
@@ -1460,6 +1460,14 @@ void Mob::ApplyAABonuses(const AA::Rank &rank, StatBonuses *newbon)
|
||||
newbon->FeignedMinionChance = base1;
|
||||
break;
|
||||
|
||||
case SE_AdditionalAura:
|
||||
newbon->aura_slots += base1;
|
||||
break;
|
||||
|
||||
case SE_IncreaseTrapCount:
|
||||
newbon->trap_slots += base1;
|
||||
break;
|
||||
|
||||
// to do
|
||||
case SE_PetDiscipline:
|
||||
break;
|
||||
@@ -3201,6 +3209,16 @@ void Mob::ApplySpellsBonuses(uint16 spell_id, uint8 casterlevel, StatBonuses *ne
|
||||
if (new_bonus->FeignedCastOnChance < effect_value)
|
||||
new_bonus->FeignedCastOnChance = effect_value;
|
||||
break;
|
||||
|
||||
case SE_AdditionalAura:
|
||||
if (new_bonus->aura_slots < effect_value)
|
||||
new_bonus->aura_slots = effect_value;
|
||||
break;
|
||||
|
||||
case SE_IncreaseTrapCount:
|
||||
if (new_bonus->trap_slots < effect_value)
|
||||
new_bonus->trap_slots = effect_value;
|
||||
break;
|
||||
|
||||
//Special custom cases for loading effects on to NPC from 'npc_spels_effects' table
|
||||
if (IsAISpellEffect) {
|
||||
|
||||
Reference in New Issue
Block a user