root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/services/TeleportService.java
| 2328 | 2343 | ||
|---|---|---|---|
176 | Storage inventory = player.getInventory(); | 176 | Storage inventory = player.getInventory(); |
177 | 177 | ||
178 | // TODO: make this a global factor and link with SM_PRICES | 178 | // TODO: make this a global factor and link with SM_PRICES |
179 | int transportationPrice = location.getPrice() / 2; | 179 | int transportationPrice = player.getPrices().getPriceForService(location.getPrice()); |
180 | 180 | ||
181 | if(!inventory.decreaseKinah(transportationPrice)) | 181 | if(!inventory.decreaseKinah(transportationPrice)) |
182 | { | 182 | { |
Download diff