mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 16:49:07 +00:00
Fixed Player Unarmed Animations (#463)
- Player now correctly blocks attacks when unarmed - Player now has correct animations for all fight modes
This commit is contained in:
+4
-1
@@ -318,7 +318,7 @@ public class MeleeData {
|
|||||||
case 2:
|
case 2:
|
||||||
return 423;
|
return 423;
|
||||||
case 1:
|
case 1:
|
||||||
return 451;
|
return 422;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (weaponName.contains("knife") || weaponName.contains("dart")
|
if (weaponName.contains("knife") || weaponName.contains("dart")
|
||||||
@@ -405,6 +405,9 @@ public class MeleeData {
|
|||||||
if (data != null)
|
if (data != null)
|
||||||
return data.getBlockAnim();
|
return data.getBlockAnim();
|
||||||
switch (c.playerEquipment[c.playerWeapon]) {
|
switch (c.playerEquipment[c.playerWeapon]) {
|
||||||
|
case -1:
|
||||||
|
case 0:
|
||||||
|
return 424;
|
||||||
case 4755:
|
case 4755:
|
||||||
return 2063;
|
return 2063;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user