Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: dist/game/data/scripts/ai/others/CastleCourtMagician/CastleCourtMagician.java
- ===================================================================
- --- dist/game/data/scripts/ai/others/CastleCourtMagician/CastleCourtMagician.java (revision 7857)
- +++ dist/game/data/scripts/ai/others/CastleCourtMagician/CastleCourtMagician.java (working copy)
- @@ -20,6 +20,7 @@
- import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
- import org.l2jmobius.gameserver.model.clan.ClanPrivilege;
- import org.l2jmobius.gameserver.model.holders.SkillHolder;
- +import org.l2jmobius.gameserver.network.SystemMessageId;
- import org.l2jmobius.gameserver.network.clientpackets.RequestAcquireSkill;
- import ai.AbstractNpcAI;
- @@ -146,6 +147,11 @@
- htmltext = "courtmagician-06.html";
- break;
- }
- + if (player.getInventory().getSize() == player.getInventoryLimit())
- + {
- + player.sendPacket(SystemMessageId.YOUR_INVENTORY_IS_FULL);
- + break;
- + }
- final int categoryChance = getRandom(100);
- if (categoryChance <= 5)
RAW Paste Data