diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-07 18:27:25 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-07 18:27:25 +0000 |
commit | 2e2bc3402805a132af5515b55c46b022c1abedf0 (patch) | |
tree | cb46f6c683322680031b059fd040342933086da8 /src/map/battle.c | |
parent | 5f9c11cca79f6a4d47c57d80ac9959337a1db224 (diff) | |
download | hercules-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.c | 3 |
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; } |