diff options
author | Playtester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-15 16:41:27 +0000 |
---|---|---|
committer | Playtester <Playtester@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-15 16:41:27 +0000 |
commit | 77f24b6eb0152c3b101535495354ce294a71b103 (patch) | |
tree | c5fc1a5613a4dd2367fe24c33d3ebcc31e93f6e8 /src/map | |
parent | fe7d2b3c24dda787b4362e8418e6b3698d999aca (diff) | |
download | hercules-77f24b6eb0152c3b101535495354ce294a71b103.tar.gz hercules-77f24b6eb0152c3b101535495354ce294a71b103.tar.bz2 hercules-77f24b6eb0152c3b101535495354ce294a71b103.tar.xz hercules-77f24b6eb0152c3b101535495354ce294a71b103.zip |
* AutoSpellWhenHit now triggers on normal+skill by default (bugreport:1652)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13777 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 16e32d7d3..35eb6cd4b 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2668,7 +2668,7 @@ int pc_bonus3(struct map_session_data *sd,int type,int type2,int type3,int val) int target = skill_get_inf(type2); //Support or Self (non-auto-target) skills should pick self. target = target&INF_SUPPORT_SKILL || (target&INF_SELF_SKILL && !(skill_get_inf2(type2)&INF2_NO_TARGET_SELF)); pc_bonus_autospell(sd->autospell2, ARRAYLENGTH(sd->autospell2), - target?-type2:type2, type3, val, 0, current_equip_card_id); + target?-type2:type2, type3, val, BF_NORMAL|BF_SKILL, current_equip_card_id); } break; case SP_SP_DRAIN_RATE: @@ -2762,7 +2762,7 @@ int pc_bonus4(struct map_session_data *sd,int type,int type2,int type3,int type4 case SP_AUTOSPELL_WHENHIT: if(sd->state.lr_flag != 2) - pc_bonus_autospell(sd->autospell2, ARRAYLENGTH(sd->autospell2), (val&1?type2:-type2), (val&2?-type3:type3), type4, 0, current_equip_card_id); + pc_bonus_autospell(sd->autospell2, ARRAYLENGTH(sd->autospell2), (val&1?type2:-type2), (val&2?-type3:type3), type4, BF_NORMAL|BF_SKILL, current_equip_card_id); break; case SP_AUTOSPELL_ONSKILL: |