Skip to content

Commit

Permalink
Merge pull request #375 from ao-org/remove-pirate-bonus
Browse files Browse the repository at this point in the history
remove pirate bonus on water
  • Loading branch information
RecoX authored Sep 7, 2023
2 parents a925d7b + 2df81c1 commit d4c9233
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Codigo/SistemaCombate.bas
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,6 @@ On Error GoTo GetUserDamageWithItem_Err

' Base damage
136 GetUserDamageWithItem = (3 * WeaponDamage + MaxWeaponDamage * 0.2 * Maximo(0, .Stats.UserAtributos(Fuerza) - 15) + UserDamage) * ClassModifier
' El pirata ship has bonus damage
138 If .clase = e_Class.Pirat And .flags.Navegando = 1 Then
140 GetUserDamageWithItem = GetUserDamageWithItem * 1.2
End If
' Ship bonus
142 If .flags.Navegando = 1 And .Invent.BarcoObjIndex > 0 Then
144 GetUserDamageWithItem = GetUserDamageWithItem + RandomNumber(ObjData(.invent.BarcoObjIndex).MinHIT, ObjData(.invent.BarcoObjIndex).MaxHit)
Expand Down

0 comments on commit d4c9233

Please sign in to comment.