summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-07 18:27:25 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-07 18:27:25 +0000
commit2e2bc3402805a132af5515b55c46b022c1abedf0 (patch)
treecb46f6c683322680031b059fd040342933086da8 /src/map/battle.c
parent5f9c11cca79f6a4d47c57d80ac9959337a1db224 (diff)
downloadhercules-2e2bc3402805a132af5515b55c46b022c1abedf0.tar.gz
hercules-2e2bc3402805a132af5515b55c46b022c1abedf0.tar.bz2
hercules-2e2bc3402805a132af5515b55c46b022c1abedf0.tar.xz
hercules-2e2bc3402805a132af5515b55c46b022c1abedf0.zip
* Corrected Triple Blow
* Added 'Guardian Angel' code for supernovices git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@492 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 973878529..d152a5e31 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2926,7 +2926,8 @@ static struct Damage battle_calc_pc_weapon_attack(
}
//ŽO’i¶
- if(skill_num == 0 && skill_lv >= 0 && (skill = pc_checkskill(sd,MO_TRIPLEATTACK)) > 0 && sd->status.weapon <= 16 && !sd->state.arrow_atk) {
+ //if(skill_num == 0 && skill_lv >= 0 && (skill = pc_checkskill(sd,MO_TRIPLEATTACK)) > 0 && sd->status.weapon <= 16 && !sd->state.arrow_atk) {
+ if(skill_num == 0 && skill_lv >= 0 && (skill = pc_checkskill(sd,MO_TRIPLEATTACK)) > 0 && sd->status.weapon <= 16) { // triple blow works with bows ^^ [celest]
da = (rand()%100 < (30 - skill)) ? 2:0;
}