mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 21:56:36 +00:00
[Spells] Updated SE_NegateSpellEffect SPA 382, new functionality (#1514)
* updated SPA 382 Updated SE_NegateSpellEffect SPA 382 Now uses spell values base1 which allows you to limit which bonuses are negated. * Update spdat.h * minor update * Update bonuses.cpp reset bool correctly * Update bonuses.cpp * Update bonuses.cpp
This commit is contained in:
+679
-641
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -297,7 +297,7 @@ public:
|
||||
void ApplySpellsBonuses(uint16 spell_id, uint8 casterlevel, StatBonuses* newbon, uint16 casterID = 0,
|
||||
uint8 WornType = 0, int32 ticsremaining = 0, int buffslot = -1, int instrument_mod = 10,
|
||||
bool IsAISpellEffect = false, uint16 effect_id = 0, int32 se_base = 0, int32 se_limit = 0, int32 se_max = 0);
|
||||
void NegateSpellsBonuses(uint16 spell_id);
|
||||
void NegateSpellEffectBonuses(uint16 spell_id);
|
||||
virtual float GetActSpellRange(uint16 spell_id, float range, bool IsBard = false);
|
||||
virtual int32 GetActSpellDamage(uint16 spell_id, int32 value, Mob* target = nullptr);
|
||||
virtual int32 GetActDoTDamage(uint16 spell_id, int32 value, Mob* target);
|
||||
|
||||
Reference in New Issue
Block a user