Apply item skills on player enter method.
This commit is contained in:
+4
-1
@@ -10045,7 +10045,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -318,9 +318,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(player, false));
|
||||
|
||||
|
||||
+4
-1
@@ -10048,7 +10048,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -323,9 +323,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(player, false));
|
||||
|
||||
|
||||
+4
-1
@@ -10050,7 +10050,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -323,9 +323,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(player, false));
|
||||
|
||||
|
||||
+4
-1
@@ -10041,7 +10041,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -323,9 +323,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(player, false));
|
||||
|
||||
|
||||
+4
-1
@@ -10031,7 +10031,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -322,9 +322,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -10031,7 +10031,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -322,9 +322,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -10037,7 +10037,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -322,9 +322,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -10058,7 +10058,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -326,9 +326,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -10160,7 +10160,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -336,9 +336,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -10186,7 +10186,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -338,9 +338,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -9947,7 +9947,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -321,9 +321,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(player, false));
|
||||
|
||||
|
||||
+4
-1
@@ -9947,7 +9947,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -321,9 +321,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(player, false));
|
||||
|
||||
|
||||
+4
-1
@@ -9933,7 +9933,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -322,9 +322,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -9960,7 +9960,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -322,9 +322,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -9960,7 +9960,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -322,9 +322,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -9915,7 +9915,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -326,9 +326,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -9935,7 +9935,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -319,9 +319,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(player, false));
|
||||
|
||||
|
||||
+4
-1
@@ -10069,7 +10069,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -326,9 +326,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
+4
-1
@@ -10135,7 +10135,10 @@ public class PlayerInstance extends Playable
|
||||
}
|
||||
}
|
||||
|
||||
// Buff and status icons
|
||||
// Apply item skills.
|
||||
_inventory.applyItemSkills();
|
||||
|
||||
// Buff and status icons.
|
||||
if (Config.STORE_SKILL_COOLTIME)
|
||||
{
|
||||
restoreEffects();
|
||||
|
||||
-3
@@ -330,9 +330,6 @@ public class EnterWorld implements IClientIncomingPacket
|
||||
// Send Teleport Bookmark List
|
||||
client.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||
|
||||
// Apply item skills.
|
||||
player.getInventory().applyItemSkills();
|
||||
|
||||
// Send Item List
|
||||
client.sendPacket(new ItemList(1, player));
|
||||
client.sendPacket(new ItemList(2, player));
|
||||
|
||||
Reference in New Issue
Block a user