[Spells] Update SPA158 Reflect (#1590)

* update

* updates

* updates

* update

* update

* Update ruletypes.h

* Apply extra spell dmg

Mob with the reflect effect apply its Extra Spell Damage from item stat to the reflected spell.
Updated portion of formula for extra damage based on live parsing.

* correct formula
This commit is contained in:
KayenEQ authored and GitHub committed 2021-10-12 15:30:36 -04:00
1 parent 91adf9c0eb
commit 6a962f2591
11 files changed
+164 -80

No files matched your search

+1 -1
View File
@@ -342,7 +342,7 @@ int Lua_StatBonuses::Getadjusted_casting_skill() const {
int Lua_StatBonuses::Getreflect_chance() const {
Lua_Safe_Call_Int();
return self->reflect_chance;
return self->reflect[SBIndex::REFLECT_CHANCE];
}
uint32 Lua_StatBonuses::GetsingingMod() const {