|
@@ -81,7 +81,8 @@ public class L2PetInstance extends L2Summon
|
|
|
/** The Experience before the last Death Penalty */
|
|
|
private long _expBeforeDeath = 0;
|
|
|
private static final int FOOD_ITEM_CONSUME_COUNT = 5;
|
|
|
-
|
|
|
+ private static final int PET_DECAY_DELAY = 86400000; // 24 hours
|
|
|
+
|
|
|
public final L2PetData getPetData()
|
|
|
{
|
|
|
if (_data == null)
|
|
@@ -488,7 +489,7 @@ public class L2PetInstance extends L2Summon
|
|
|
if (!super.doDie(killer,true))
|
|
|
return false;
|
|
|
stopFeed();
|
|
|
- DecayTaskManager.getInstance().addDecayTask(this,1200000);
|
|
|
+ DecayTaskManager.getInstance().addDecayTask(this, PET_DECAY_DELAY);
|
|
|
deathPenalty();
|
|
|
return true;
|
|
|
}
|