Created
November 15, 2019 01:20
-
-
Save cydh/d33a62c1ba726be9a9f70fec11aced38 to your computer and use it in GitHub Desktop.
Star Gladiator spirit increase 30% damage to boss monsters, increase 30% damage to holy element target
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/map/status.cpp | 6 ++++++ | |
1 file changed, 6 insertions(+) | |
diff --git a/src/map/status.cpp b/src/map/status.cpp | |
index 48639c465..e1ddd99c9 100644 | |
--- a/src/map/status.cpp | |
+++ b/src/map/status.cpp | |
@@ -4292,6 +4292,12 @@ int status_calc_pc_sub(struct map_session_data* sd, enum e_status_calc_opt opt) | |
} | |
if (sc->data[SC_LAUDARAMUS]) | |
sd->bonus.crit_atk_rate += 5 * sc->data[SC_LAUDARAMUS]->val1; | |
+ if (sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_STAR) { | |
+ sd->magic_addele[ELE_HOLY] += 30; | |
+ sd->magic_addclass[CLASS_BOSS] += 30; | |
+ sd->right_weapon.addele[ELE_HOLY] += 30; | |
+ sd->right_weapon.addclass[CLASS_BOSS] += 30; | |
+ } | |
} | |
status_cpy(&sd->battle_status, base_status); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment