summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-27 14:48:50 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-27 14:48:50 +0000
commita7478042cf332fde65065c0c9c0015b681fb06e2 (patch)
tree532825c8ca3db539da292f6637cdc18029453eae /src
parentbfdb9f0246ab4f774e612f6cc34524e35a113d88 (diff)
downloadhercules-a7478042cf332fde65065c0c9c0015b681fb06e2.tar.gz
hercules-a7478042cf332fde65065c0c9c0015b681fb06e2.tar.bz2
hercules-a7478042cf332fde65065c0c9c0015b681fb06e2.tar.xz
hercules-a7478042cf332fde65065c0c9c0015b681fb06e2.zip
* Fixed Apple of Idun not checking for bard soul link (bugreport:1028)
* Fixed Advanced Adrenaline Rush not working barehanded (bugreport:1049) * Disabled idle_no_autoloot setting (bugreport:1051) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12248 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 00bfa96cb..17175b741 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6910,8 +6910,8 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
case UNT_APPLEIDUN: //Apple of Idun [Skotlex]
{
int heal;
- if (sg->src_id == bl->id)
- break;
+ if( sg->src_id == bl->id && !(tsc && tsc->data[SC_SPIRIT] && tsc->data[SC_SPIRIT]->val2 == SL_BARDDANCER) )
+ break; // affects self only when soullinked
heal = sg->val2;
if(tsc && tsc->data[SC_CRITICALWOUND])
heal -= heal * tsc->data[SC_CRITICALWOUND]->val2 / 100;