diff options
author | Jedzkie <jedzkie13@rocketmail.com> | 2015-11-22 15:49:51 +0800 |
---|---|---|
committer | Jedzkie <jedzkie13@rocketmail.com> | 2015-11-22 15:49:51 +0800 |
commit | d8909d9b2cf29f45c025fb93fc1df94ec1a40854 (patch) | |
tree | babf98c9987ca13dc9afa412fcc9d3f2a7b3212c /src/map/skill.c | |
parent | 14b14e16cf8d6cac2159d6c6425daaeda4a03f4b (diff) | |
download | hercules-d8909d9b2cf29f45c025fb93fc1df94ec1a40854.tar.gz hercules-d8909d9b2cf29f45c025fb93fc1df94ec1a40854.tar.bz2 hercules-d8909d9b2cf29f45c025fb93fc1df94ec1a40854.tar.xz hercules-d8909d9b2cf29f45c025fb93fc1df94ec1a40854.zip |
SC Update:
- Added 'Eden Crystal Synthesis' statuses.
- Added 'Geffen Magic Tournament' statuses.
Note: their sc_config.txt are not yet implemented, needs more information on official servers.
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 8a782fc9a..b20e25eb1 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -14743,6 +14743,7 @@ int skill_vfcastfix(struct block_list *bl, double time, uint16 skill_id, uint16 } if (sc->data[SC_MYSTICSCROLL]) VARCAST_REDUCTION(sc->data[SC_MYSTICSCROLL]->val1); + // Fixed cast reduction bonuses if( sc->data[SC__LAZINESS] ) fixcast_r = max(fixcast_r, sc->data[SC__LAZINESS]->val2); @@ -14755,6 +14756,9 @@ int skill_vfcastfix(struct block_list *bl, double time, uint16 skill_id, uint16 if (radius_lv) fixcast_r = max(fixcast_r, (status_get_int(bl) + status->get_lv(bl)) / 15 + radius_lv * 5); // [{(Caster?s INT / 15) + (Caster?s Base Level / 15) + (Radius Skill Level x 5)}] % } + if (sc->data[SC_FENRIR_CARD]) + fixcast_r = max(fixcast_r, sc->data[SC_FENRIR_CARD]->val2); + // Fixed cast non percentage bonuses if( sc->data[SC_MANDRAGORA] ) fixed += sc->data[SC_MANDRAGORA]->val1 * 500; |