diff options
author | shennetsind <ind@henn.et> | 2013-09-28 17:55:34 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-28 17:55:34 -0300 |
commit | 62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9 (patch) | |
tree | 004933d5e2d1e4252fc1ac76e8f71ccec8367541 /src/map/battle.c | |
parent | 871f83f62bf4eb1043bbda182fe0346454686a16 (diff) | |
download | hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.tar.gz hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.tar.bz2 hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.tar.xz hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.zip |
HPM: pc.c Completed
Moved missing vars and declarations of interest into the interface.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 327a4b98c..237a4091d 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -805,7 +805,7 @@ int64 battle_calc_masteryfix(struct block_list *src, struct block_list *target, i = 2; //Star anger else ARR_FIND(0, MAX_PC_FEELHATE, i, status->get_class(target) == sd->hate_mob[i]); - if ( i < MAX_PC_FEELHATE && (skill2_lv=pc->checkskill(sd,sg_info[i].anger_id)) && weapon ) { + if ( i < MAX_PC_FEELHATE && (skill2_lv=pc->checkskill(sd,pc->sg_info[i].anger_id)) && weapon ) { int ratio = sd->status.base_level + status_get_dex(src) + status_get_luk(src); if ( i == 2 ) ratio += status_get_str(src); //Star Anger if (skill2_lv < 4 ) |