Implemented SPA 465,477,478

Implemented

SE_PC_Pet_AE_Rampage			465
Chance for pet to AE rampage with a damage modifier

SE_Hatelist_To_Top_Index		477
Chance to be put on top of RAMPAGE list

SE_Hatelist_To_Tail_Index		478
Chance to be put on bottom of RAMPAGE list
This commit is contained in:
KayenEQ
2021-07-14 15:35:37 -04:00
parent 8fedf40440
commit 140bf31309
8 changed files with 128 additions and 14 deletions
+12 -1
View File
@@ -2906,7 +2906,18 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
break;
}
case SE_Hatelist_To_Tail_Index: {
if (caster && zone->random.Roll(spells[spell_id].base[i]))
caster->SetBottomRampageList();
break;
}
case SE_Hatelist_To_Top_Index: {
if (caster && zone->random.Roll(spells[spell_id].base[i]))
caster->SetTopRampageList();
break;
}
case SE_PersistentEffect:
MakeAura(spell_id);