summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 07:28:40 +0000
committerprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 07:28:40 +0000
commit5cbc604ac21f8604a69141012cd980410943b7da (patch)
tree84315890854981a651f83c20ba48b29b7d629812
parente5810bea65ae5edbf215b384705c65112a2d0483 (diff)
downloadhercules-5cbc604ac21f8604a69141012cd980410943b7da.tar.gz
hercules-5cbc604ac21f8604a69141012cd980410943b7da.tar.bz2
hercules-5cbc604ac21f8604a69141012cd980410943b7da.tar.xz
hercules-5cbc604ac21f8604a69141012cd980410943b7da.zip
* Removed function that cause duplicate allocation status of hit and flee.
- This is a temporary fix, is need get informations about the use of alone bonifications. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15179 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/status.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/map/status.c b/src/map/status.c
index cb442f4fb..8d1b959c6 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1976,19 +1976,6 @@ static unsigned int status_base_pc_maxsp(struct map_session_data* sd, struct sta
return val;
}
-#if REMODE
-/**
- * Renewal Absolute Bonus to be applied after all bonuses were applied (so % bonuses on say, skills, don't affect them)
- **/
-void status_renewal_postcalc(struct status_data* status, int flag) {
- if( flag&SCB_FLEE )
- status->flee += 100;
- if( flag&SCB_HIT )
- status->hit += 175;
- return;
-}
-#endif
-
//Calculates player data from scratch without counting SC adjustments.
//Should be invoked whenever players raise stats, learn passive skills or change equipment.
int status_calc_pc_(struct map_session_data* sd, bool first)
@@ -3439,9 +3426,7 @@ void status_calc_bl_main(struct block_list *bl, /*enum scb_flag*/int flag)
status->dmotion = status_calc_dmotion(bl, sc, b_status->dmotion);
}
}
-#if REMODE
- status_renewal_postcalc(status,flag);
-#endif
+
if(flag&(SCB_VIT|SCB_MAXHP|SCB_INT|SCB_MAXSP) && bl->type&BL_REGEN)
status_calc_regen(bl, status, status_get_regen_data(bl));