Selaa lähdekoodia

Fixes Rifle damage being lower than expected (#6048)

Fixes #6018.
Resolves Rifle damage not properly accounting for skill ratio damage.
Thanks to @Indigo000!
Aleos 3 vuotta sitten
vanhempi
commit
4bca1867b7
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/map/battle.cpp

+ 1 - 0
src/map/battle.cpp

@@ -3607,6 +3607,7 @@ static void battle_calc_skill_base_damage(struct Damage* wd, struct block_list *
 				switch(sd->status.weapon) {
 					case W_BOW:
 					case W_REVOLVER:
+					case W_RIFLE:
 					case W_GATLING:
 					case W_SHOTGUN:
 					case W_GRENADE: