mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
[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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user