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
This commit is contained in:
Atemo 2024-08-09 22:18:22 +02:00 committed by GitHub
parent 59c716ce23
commit 88ce3fe5d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;