Deleted clan trader outdated conditions.

Contributed by Index.
This commit is contained in:
MobiusDevelopment 2022-04-07 23:31:42 +00:00
parent c04a7f0fb1
commit 3b8d1be6f7
6 changed files with 39 additions and 45 deletions

View File

@ -6,9 +6,17 @@
</npcs>
<item>
<ingredient id="48418" count="1" /> <!-- Authority Ornament -->
<ingredient id="35564" count="1" /> <!-- Ruler's Authority -->
<production id="48417" count="1" chance="0" /> <!-- Enhanced Ruler's Authority -->
<production id="48417" count="1" chance="15" /> <!-- Enhanced Ruler's Authority -->
<production id="35564" count="1" chance="85" /> <!-- Ruler's Authority -->
<ingredient id="35564" count="1" /> <!-- Ruler's Authority Lv. 1-->
<production id="48417" count="1" chance="0" /> <!-- Ruler's Authority - Genesis Lv. 2 -->
<production id="48417" count="1" chance="15" /> <!-- Ruler's Authority - Genesis Lv. 2 -->
<production id="35564" count="1" chance="85" /> <!-- RRuler's Authority Lv. 1 -->
</item>
<item>
<ingredient id="48418" count="5" /> <!-- Authority Ornament -->
<ingredient id="45584" count="200" /> <!-- Mark of Battle -->
<ingredient id="48417" count="1" /> <!-- Ruler's Authority - Genesis Lv. 2-->
<production id="81751" count="1" chance="0" /> <!-- Ruler's Authority - Chaos Lv. 3 -->
<production id="81751" count="1" chance="15" /> <!-- Ruler's Authority - Chaos Lv. 3 -->
<production id="48417" count="1" chance="85" /> <!-- Ruler's Authority - Genesis Lv. 2 -->
</item>
</list>

View File

@ -19,7 +19,6 @@ package ai.others.ClanTrader;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.model.clan.ClanPrivilege;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
@ -108,16 +107,7 @@ public class ClanTrader extends AbstractNpcAI
@Override
public String onFirstTalk(Npc npc, Player player)
{
String htmltext = null;
if (player.getClanId() > 0)
{
htmltext = npc.getId() + ((player.isClanLeader() || player.hasClanPrivilege(ClanPrivilege.CL_TROOPS_FAME)) ? ".html" : "-06.html");
}
else
{
htmltext = npc.getId() + "-01.html";
}
return htmltext;
return npc.getId() + ".html";
}
public static void main(String[] args)

View File

@ -6,9 +6,17 @@
</npcs>
<item>
<ingredient id="48418" count="1" /> <!-- Authority Ornament -->
<ingredient id="35564" count="1" /> <!-- Ruler's Authority -->
<production id="48417" count="1" chance="0" /> <!-- Enhanced Ruler's Authority -->
<production id="48417" count="1" chance="15" /> <!-- Enhanced Ruler's Authority -->
<production id="35564" count="1" chance="85" /> <!-- Ruler's Authority -->
<ingredient id="35564" count="1" /> <!-- Ruler's Authority Lv. 1-->
<production id="48417" count="1" chance="0" /> <!-- Ruler's Authority - Genesis Lv. 2 -->
<production id="48417" count="1" chance="15" /> <!-- Ruler's Authority - Genesis Lv. 2 -->
<production id="35564" count="1" chance="85" /> <!-- RRuler's Authority Lv. 1 -->
</item>
<item>
<ingredient id="48418" count="5" /> <!-- Authority Ornament -->
<ingredient id="45584" count="200" /> <!-- Mark of Battle -->
<ingredient id="48417" count="1" /> <!-- Ruler's Authority - Genesis Lv. 2-->
<production id="81751" count="1" chance="0" /> <!-- Ruler's Authority - Chaos Lv. 3 -->
<production id="81751" count="1" chance="15" /> <!-- Ruler's Authority - Chaos Lv. 3 -->
<production id="48417" count="1" chance="85" /> <!-- Ruler's Authority - Genesis Lv. 2 -->
</item>
</list>

View File

@ -19,7 +19,6 @@ package ai.others.ClanTrader;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.model.clan.ClanPrivilege;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
@ -108,16 +107,7 @@ public class ClanTrader extends AbstractNpcAI
@Override
public String onFirstTalk(Npc npc, Player player)
{
String htmltext = null;
if (player.getClanId() > 0)
{
htmltext = npc.getId() + ((player.isClanLeader() || player.hasClanPrivilege(ClanPrivilege.CL_TROOPS_FAME)) ? ".html" : "-06.html");
}
else
{
htmltext = npc.getId() + "-01.html";
}
return htmltext;
return npc.getId() + ".html";
}
public static void main(String[] args)

View File

@ -6,9 +6,17 @@
</npcs>
<item>
<ingredient id="48418" count="1" /> <!-- Authority Ornament -->
<ingredient id="35564" count="1" /> <!-- Ruler's Authority -->
<production id="48417" count="1" chance="0" /> <!-- Enhanced Ruler's Authority -->
<production id="48417" count="1" chance="15" /> <!-- Enhanced Ruler's Authority -->
<production id="35564" count="1" chance="85" /> <!-- Ruler's Authority -->
<ingredient id="35564" count="1" /> <!-- Ruler's Authority Lv. 1-->
<production id="48417" count="1" chance="0" /> <!-- Ruler's Authority - Genesis Lv. 2 -->
<production id="48417" count="1" chance="15" /> <!-- Ruler's Authority - Genesis Lv. 2 -->
<production id="35564" count="1" chance="85" /> <!-- RRuler's Authority Lv. 1 -->
</item>
<item>
<ingredient id="48418" count="5" /> <!-- Authority Ornament -->
<ingredient id="45584" count="200" /> <!-- Mark of Battle -->
<ingredient id="48417" count="1" /> <!-- Ruler's Authority - Genesis Lv. 2-->
<production id="81751" count="1" chance="0" /> <!-- Ruler's Authority - Chaos Lv. 3 -->
<production id="81751" count="1" chance="15" /> <!-- Ruler's Authority - Chaos Lv. 3 -->
<production id="48417" count="1" chance="85" /> <!-- Ruler's Authority - Genesis Lv. 2 -->
</item>
</list>

View File

@ -19,7 +19,6 @@ package ai.others.ClanTrader;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.Player;
import org.l2jmobius.gameserver.model.clan.ClanPrivilege;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
@ -108,16 +107,7 @@ public class ClanTrader extends AbstractNpcAI
@Override
public String onFirstTalk(Npc npc, Player player)
{
String htmltext = null;
if (player.getClanId() > 0)
{
htmltext = npc.getId() + ((player.isClanLeader() || player.hasClanPrivilege(ClanPrivilege.CL_TROOPS_FAME)) ? ".html" : "-06.html");
}
else
{
htmltext = npc.getId() + "-01.html";
}
return htmltext;
return npc.getId() + ".html";
}
public static void main(String[] args)