Skip to content

Commit

Permalink
Implement official ATK % calculation for BS_OVERTHRUST
Browse files Browse the repository at this point in the history
Party members only receive 5% ATK bonus.
  • Loading branch information
skyleo committed May 2, 2024
1 parent 2cd2abb commit 14ad7f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/map/status.c
Original file line number Diff line number Diff line change
Expand Up @@ -8308,8 +8308,10 @@ static int status_change_start_sub(struct block_list *src, struct block_list *bl
val2 = 20*val1; //Power increase
break;
case SC_OVERTHRUST:
//val2 holds if it was casted on self, or is bonus received from others
val3 = 5*val1; //Power increase
if (val2 == 1) // cast on self
val3 = 5 * val1; //Power increase
else // received cast
val3 = 5;
if(sd && pc->checkskill(sd,BS_HILTBINDING)>0)
total_tick += total_tick / 10;
break;
Expand Down

0 comments on commit 14ad7f3

Please sign in to comment.