mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 20:56:37 +00:00
[Spells] Throwing procs fixed and other proc updates (#1871)
* first updating sbindex defines * updates * updates * proctypes added for organization * debug * updates * range procs cleaned up * skill proc clean up * fix * remove debugs * [Spells] Throwing procs fixed and other proc updates * [Spells] Throwing procs fixed and other proc updates bot fix * [Spells] Throwing procs fixed and other proc updates proctype updates
This commit is contained in:
+10
-6
@@ -533,7 +533,7 @@ struct StatBonuses {
|
||||
int32 Metabolism; // Food/drink consumption rates.
|
||||
bool Sanctuary; // Sanctuary effect, lowers place on hate list until cast on others.
|
||||
int32 FactionModPct; // Modifies amount of faction gained.
|
||||
bool LimitToSkill[EQ::skills::HIGHEST_SKILL + 2]; // Determines if we need to search for a skill proc.
|
||||
bool LimitToSkill[EQ::skills::HIGHEST_SKILL + 3]; // Determines if we need to search for a skill proc.
|
||||
uint32 SkillProc[MAX_SKILL_PROCS]; // Max number of spells containing skill_procs.
|
||||
uint32 SkillProcSuccess[MAX_SKILL_PROCS]; // Max number of spells containing skill_procs_success.
|
||||
int32 SpellProc[MAX_AA_PROCS]; // Max number of spells containing melee spell procs.
|
||||
@@ -671,9 +671,9 @@ namespace SBIndex {
|
||||
constexpr uint16 POSITION_FRONT = 1; // SPA 503-506
|
||||
constexpr uint16 PET_RAMPAGE_CHANCE = 0; // SPA 464,465
|
||||
constexpr uint16 PET_RAMPAGE_DMG_MOD = 1; // SPA 465,465
|
||||
constexpr uint16 SKILLPROC_CHANCE = 0; // SPA 427
|
||||
constexpr uint16 SKILLPROC_SKILL = 1; // SPA 427
|
||||
constexpr uint16 SKILLPROC_SPELL_ID = 2; // SPA 427
|
||||
constexpr uint16 SKILLATK_PROC_CHANCE = 0; // SPA 427
|
||||
constexpr uint16 SKILLATK_PROC_SKILL = 1; // SPA 427
|
||||
constexpr uint16 SKILLATK_PROC_SPELL_ID = 2; // SPA 427
|
||||
constexpr uint16 SLAYUNDEAD_RATE_MOD = 0; // SPA 219
|
||||
constexpr uint16 SLAYUNDEAD_DMG_MOD = 1; // SPA 219
|
||||
constexpr uint16 DOUBLE_RIPOSTE_CHANCE = 0; // SPA 223
|
||||
@@ -688,14 +688,18 @@ namespace SBIndex {
|
||||
constexpr uint16 REFLECT_CHANCE = 0; // SPA 158
|
||||
constexpr uint16 REFLECT_RESISTANCE_MOD = 1; // SPA 158
|
||||
constexpr uint16 REFLECT_DMG_EFFECTIVENESS = 2; // SPA 158
|
||||
constexpr uint16 COMBAT_PROC_ORIGIN_ID = 0; // SPA
|
||||
constexpr uint16 COMBAT_PROC_SPELL_ID = 1; // SPA
|
||||
constexpr uint16 COMBAT_PROC_RATE_MOD = 2; // SPA
|
||||
constexpr uint16 COMBAT_PROC_REUSE_TIMER = 3; // SPA
|
||||
};
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint16 spellID;
|
||||
int32 spellID;
|
||||
uint16 chance;
|
||||
uint16 base_spellID;
|
||||
int32 base_spellID;
|
||||
int level_override;
|
||||
uint32 proc_reuse_time;
|
||||
} tProc;
|
||||
|
||||
Reference in New Issue
Block a user