diff --git a/Server/src/main/core/game/node/entity/impl/WalkingQueue.java b/Server/src/main/core/game/node/entity/impl/WalkingQueue.java index fbd9d2e36..f20768b70 100644 --- a/Server/src/main/core/game/node/entity/impl/WalkingQueue.java +++ b/Server/src/main/core/game/node/entity/impl/WalkingQueue.java @@ -193,6 +193,9 @@ public final class WalkingQueue { if (hasTimerActive(player, "hamstrung")) { rate *= 4; } + //Snowscape custom: gain agility exp when running. getLevel returns int so we convert to double for the math + double experience = (Double.valueOf(player.getSkills().getLevel(Skills.AGILITY)) + 10)/50; + player.getSkills().addExperience(Skills.AGILITY, experience); return rate; }