[Spells] Rework for SPA 413 SE_FcBaseEffects and Bard updates (#1629)

* baseline start

* update1

* updates

* base effect implemented for bard

* instrument mod updates

amplification amps itself

* updates

* updates

* debug

* base effect updates

* baseeffects for spell focus updated

* update skill attack baseeffects

* focus will remain for quest functions

* song cap mod added back in

* remove debugs1

* fix cr

* base effects functionalish

* remove debug

* Update client_mods.cpp

* spdat instrumentmod

* Update spell_effects.cpp

* Update spdat.h

* remove new instrument mod check

split PR
This commit is contained in:
KayenEQ
2021-10-24 19:38:28 -04:00
committed by GitHub
parent 060be606e7
commit 987de17e93
7 changed files with 179 additions and 121 deletions
+4 -3
View File
@@ -838,9 +838,9 @@ void Mob::DoArcheryAttackDmg(Mob *other, const EQ::ItemInstance *RangeWeapon, co
return;
}
// unsure when this should happen
if (focus) // From FcBaseEffects
if (focus) {
WDmg += WDmg * focus / 100;
}
if (WDmg > 0 || ADmg > 0) {
if (WDmg < 0)
@@ -2158,8 +2158,9 @@ void Mob::DoMeleeSkillAttackDmg(Mob *other, uint16 weapon_damage, EQ::skills::Sk
hate = weapon_damage;
if (weapon_damage > 0) {
if (focus) // From FcBaseEffects
if (focus) {
weapon_damage += weapon_damage * focus / 100;
}
if (skillinuse == EQ::skills::SkillBash) {
if (IsClient()) {