Explorar el Código

Minor comment adjustments.

Jey hace 7 años
padre
commit
30eca30350
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      src/map/battle.c
  2. 2 2
      src/map/status.c

+ 1 - 1
src/map/battle.c

@@ -1269,7 +1269,7 @@ int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Dam
 		}
 
 		// Damage reductions
-		// Assumptio doubles the def & mdef on RE mode, otherwise gives a reduction on the final damage. [Igniz]
+		// Assumptio gives a reduction on the final damage in pre-re. [Igniz]
 #ifndef RENEWAL
 		if( sc->data[SC_ASSUMPTIO] ) {
 			if( map_flag_vs(bl->m) )

+ 2 - 2
src/map/status.c

@@ -2925,7 +2925,7 @@ void status_calc_pet_(struct pet_data *pd, enum e_status_calc_opt opt)
  * @return bonus: total bonus for HP
  * @author [Cydh]
  */
-int status_get_hpbonus(struct block_list *bl, enum e_status_bonus type) {
+static int status_get_hpbonus(struct block_list *bl, enum e_status_bonus type) {
 	int bonus = 0;
 
 	if (type == STATUS_BONUS_FIX) {
@@ -6547,7 +6547,7 @@ defType status_calc_def(struct block_list *bl, struct status_change *sc, int def
 		def -= def * sc->data[SC_OVERED_BOOST]->val4 / 100;
 
 	if( bl->type&BL_HOM )
-		def += (status->vit/5 - b_status->vit/5); // TODO: NOTE - Not a SC, but belongs here imo [Jey]
+		def += (status->vit/5 - b_status->vit/5);
 
 	return (defType)cap_value(def,DEFTYPE_MIN,DEFTYPE_MAX);
 }