Browse Source

* Updated for Emperium not can be healed by any skills.
* Updated investments formulas of HP and SP according to renewal.
- Not yet official, need more informations.
- This is a temporary fix necessary for the emperium can be broken.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15321 54d463be-8e91-2dee-dedb-b68131a5f0ec

protimus 13 years ago
parent
commit
3ec7e6b7c0
2 changed files with 6 additions and 2 deletions
  1. 4 0
      src/map/battle.c
  2. 2 2
      src/map/status.c

+ 4 - 0
src/map/battle.c

@@ -719,6 +719,10 @@ int battle_calc_gvg_damage(struct block_list *src,struct block_list *bl,int dama
 			switch (skill_num) {
 			case MO_TRIPLEATTACK:
 			case HW_GRAVITATION:
+            case AL_HEAL:
+            case PR_SANCTUARY:
+            case BA_APPLEIDUN:
+            case AB_CHEAL:
 				break;
 			default:
 				return 0;

+ 2 - 2
src/map/status.c

@@ -1824,8 +1824,8 @@ int status_calc_mob_(struct mob_data* md, bool first)
 			ShowError("status_calc_mob: No castle set at map %s\n", map[md->bl.m].name);
 		else
 		if(gc->castle_id < 24 || md->class_ == MOBID_EMPERIUM) {
-			status->max_hp += 1000 * gc->defense;
-			status->max_sp += 200 * gc->defense;
+			status->max_hp += 50 * gc->defense;
+			status->max_sp += 70 * gc->defense;
 			status->hp = status->max_hp;
 			status->sp = status->max_sp;
 			status->def += (gc->defense+2)/3;