Bläddra i källkod

Adjusts the value of SC_HOLY_OIL debuff from IQ_OLEUM_SANCTUM skill (#8552)

* The debuff causing that the targets take more damage from long ranged physical damage for the skill duration is corrected from 50% to 3x(Skill Lv)%

Fixed #8520
Atemo 9 månader sedan
förälder
incheckning
88ce3fe5d3
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/map/battle.cpp

+ 1 - 1
src/map/battle.cpp

@@ -1675,7 +1675,7 @@ int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Dam
 			damage += damage * bonus / 100;
 		}
 		if (tsc->getSCE(SC_HOLY_OIL) && (flag&(BF_LONG|BF_WEAPON)) == (BF_LONG|BF_WEAPON))
-			damage += damage * 50 / 100;// Need official adjustment. [Rytech]
+			damage += damage * (3 * tsc->getSCE(SC_HOLY_OIL)->val1) / 100;
 
 		if( tsc->getSCE( SC_RUSH_QUAKE1 ) && ( flag&BF_WEAPON ) == BF_WEAPON ){
 			damage += damage * 50 / 100;