Skip to content

Commit

Permalink
Remove dex command. I forgot already added
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewcell committed May 5, 2023
1 parent d6d18e1 commit f965566
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/kotlin/client/command/Commands.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import client.CharacterStat
import client.Client
import client.GameJob
import client.SkillFactory
import net.server.channel.handlers.DistributeAPHandler
import server.InventoryManipulator.Companion.addById
import server.ShopFactory
import server.life.LifeFactory
Expand Down Expand Up @@ -128,13 +127,6 @@ object Commands {
player.dropMessage(0, "Killed ${monsters.size} monsters.")
}
}
// !dex 10 -> Level up DEX 10 times
"dex" -> {
val times = sub[1].toIntOrNull() ?: 1
for (i in 1..times) {
DistributeAPHandler.addStat(c, 128)
}
}
else -> c.announce(InteractPacket.serverNotice(1, "Unknown command line: $command"))
}
return true
Expand Down

0 comments on commit f965566

Please sign in to comment.