root/trunk/AE-go_GameServer/src/com/aionemu/gameserver/controllers/PlayerController.java
| 1518 | 1520 | ||
|---|---|---|---|
214 | @Override | 214 | @Override |
215 | public void onDie() | 215 | public void onDie() |
216 | { | 216 | { |
217 | super.onDie(); | ||
218 | // TODO probably introduce variable - last attack creature in player AI | 217 | // TODO probably introduce variable - last attack creature in player AI |
219 | Player player = this.getOwner(); | 218 | Player player = this.getOwner(); |
220 | if(lastAttacker instanceof Player && !isEnemy((Player) lastAttacker)) | 219 | if(lastAttacker instanceof Player && !isEnemy((Player) lastAttacker)) |
... | ... | ||
223 | } | 222 | } |
224 | else | 223 | else |
225 | { | 224 | { |
225 | super.onDie(); | ||
226 | if(player.getLevel() > 4) | 226 | if(player.getLevel() > 4) |
227 | player.getCommonData().calculateExpLoss(); | 227 | player.getCommonData().calculateExpLoss(); |
228 | 228 |
Download diff