diff options
author | panikon <panikon@zoho.com> | 2014-03-10 19:52:02 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-03-10 19:52:02 -0300 |
commit | 42a5acec288f8ca364aee42472c8e0321ab0e5e4 (patch) | |
tree | ddba18564d2246ed7cffe0e2e4cfef46450f8133 /src | |
parent | 73ab0c441de0f74c2e621a594df7e269ce89bfc5 (diff) | |
download | hercules-42a5acec288f8ca364aee42472c8e0321ab0e5e4.tar.gz hercules-42a5acec288f8ca364aee42472c8e0321ab0e5e4.tar.bz2 hercules-42a5acec288f8ca364aee42472c8e0321ab0e5e4.tar.xz hercules-42a5acec288f8ca364aee42472c8e0321ab0e5e4.zip |
Fixed issue 8043
http://hercules.ws/board/tracker/issue-8043-arch-bishop-lauda-ramus/
Also corrected similar issue with AB_LAUDAAGNUS, now both skills can be used properly whether the caster is in a party or not.
Special thanks to kyeme for reporting this issue
Diffstat (limited to 'src')
-rw-r--r-- | src/map/skill.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 8750695ae..e854b5fe9 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8151,7 +8151,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin break; case AB_LAUDAAGNUS: - if( flag&1 || sd == NULL ) { + if( (flag&1 || sd == NULL) || !sd->status.party_id) { if( tsc && (tsc->data[SC_FREEZE] || tsc->data[SC_STONE] || tsc->data[SC_BLIND] || tsc->data[SC_BURNING] || tsc->data[SC_FROSTMISTY] || tsc->data[SC_COLD])) { // Success Chance: (40 + 10 * Skill Level) % @@ -8171,8 +8171,9 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin break; case AB_LAUDARAMUS: - if( flag&1 || sd == NULL ) { - if( tsc && (tsc->data[SC_SLEEP] || tsc->data[SC_STUN] || tsc->data[SC_MANDRAGORA] || tsc->data[SC_SILENCE] || tsc->data[SC_DEEP_SLEEP]) ){ + if( (flag&1 || sd == NULL) || !sd->status.party_id ) { + if( tsc && (tsc->data[SC_SLEEP] || tsc->data[SC_STUN] || tsc->data[SC_MANDRAGORA] || + tsc->data[SC_SILENCE] || tsc->data[SC_DEEP_SLEEP]) ){ // Success Chance: (40 + 10 * Skill Level) % if( rnd()%100 > 40+10*skill_lv ) break; status_change_end(bl, SC_SLEEP, INVALID_TIMER); |