Small revert related with ownsAtLeastOneItem method addition.

This commit is contained in:
MobiusDevelopment
2020-04-24 19:16:44 +00:00
parent fe1d37e011
commit abaa1e83b1
17 changed files with 17 additions and 17 deletions

View File

@@ -104,7 +104,7 @@ public class BirthOfDraco extends LongTimeEvent
break; break;
} }
/* /*
* case "giveAgathion": { if (hasQuestItemss(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; } * case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
*/ */
} }
return htmltext; return htmltext;

View File

@@ -77,7 +77,7 @@ public class CharacterBirthday extends AbstractNpcAI
else if (event.equalsIgnoreCase("change")) else if (event.equalsIgnoreCase("change"))
{ {
// Change Hat // Change Hat
if (ownsAtLeastOneItem(player, 10250)) if (hasQuestItems(player, 10250))
{ {
takeItems(player, 10250, 1); // Adventurer Hat (Event) takeItems(player, 10250, 1); // Adventurer Hat (Event)
giveItems(player, 21594, 1); // Birthday Hat giveItems(player, 21594, 1); // Birthday Hat

View File

@@ -104,7 +104,7 @@ public class BirthOfDraco extends LongTimeEvent
break; break;
} }
/* /*
* case "giveAgathion": { if (hasQuestItemss(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; } * case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
*/ */
} }
return htmltext; return htmltext;

View File

@@ -77,7 +77,7 @@ public class CharacterBirthday extends AbstractNpcAI
else if (event.equalsIgnoreCase("change")) else if (event.equalsIgnoreCase("change"))
{ {
// Change Hat // Change Hat
if (ownsAtLeastOneItem(player, 10250)) if (hasQuestItems(player, 10250))
{ {
takeItems(player, 10250, 1); // Adventurer Hat (Event) takeItems(player, 10250, 1); // Adventurer Hat (Event)
giveItems(player, 21594, 1); // Birthday Hat giveItems(player, 21594, 1); // Birthday Hat

View File

@@ -104,7 +104,7 @@ public class BirthOfDraco extends LongTimeEvent
break; break;
} }
/* /*
* case "giveAgathion": { if (hasQuestItemss(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; } * case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
*/ */
} }
return htmltext; return htmltext;

View File

@@ -77,7 +77,7 @@ public class CharacterBirthday extends AbstractNpcAI
else if (event.equalsIgnoreCase("change")) else if (event.equalsIgnoreCase("change"))
{ {
// Change Hat // Change Hat
if (ownsAtLeastOneItem(player, 10250)) if (hasQuestItems(player, 10250))
{ {
takeItems(player, 10250, 1); // Adventurer Hat (Event) takeItems(player, 10250, 1); // Adventurer Hat (Event)
giveItems(player, 21594, 1); // Birthday Hat giveItems(player, 21594, 1); // Birthday Hat

View File

@@ -104,7 +104,7 @@ public class BirthOfDraco extends LongTimeEvent
break; break;
} }
/* /*
* case "giveAgathion": { if (hasQuestItemss(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; } * case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
*/ */
} }
return htmltext; return htmltext;

View File

@@ -77,7 +77,7 @@ public class CharacterBirthday extends AbstractNpcAI
else if (event.equalsIgnoreCase("change")) else if (event.equalsIgnoreCase("change"))
{ {
// Change Hat // Change Hat
if (ownsAtLeastOneItem(player, 10250)) if (hasQuestItems(player, 10250))
{ {
takeItems(player, 10250, 1); // Adventurer Hat (Event) takeItems(player, 10250, 1); // Adventurer Hat (Event)
giveItems(player, 21594, 1); // Birthday Hat giveItems(player, 21594, 1); // Birthday Hat

View File

@@ -104,7 +104,7 @@ public class BirthOfDraco extends LongTimeEvent
break; break;
} }
/* /*
* case "giveAgathion": { if (hasQuestItemss(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; } * case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
*/ */
} }
return htmltext; return htmltext;

View File

@@ -77,7 +77,7 @@ public class CharacterBirthday extends AbstractNpcAI
else if (event.equalsIgnoreCase("change")) else if (event.equalsIgnoreCase("change"))
{ {
// Change Hat // Change Hat
if (ownsAtLeastOneItem(player, 10250)) if (hasQuestItems(player, 10250))
{ {
takeItems(player, 10250, 1); // Adventurer Hat (Event) takeItems(player, 10250, 1); // Adventurer Hat (Event)
giveItems(player, 21594, 1); // Birthday Hat giveItems(player, 21594, 1); // Birthday Hat

View File

@@ -104,7 +104,7 @@ public class BirthOfDraco extends LongTimeEvent
break; break;
} }
/* /*
* case "giveAgathion": { if (hasQuestItemss(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; } * case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
*/ */
} }
return htmltext; return htmltext;

View File

@@ -77,7 +77,7 @@ public class CharacterBirthday extends AbstractNpcAI
else if (event.equalsIgnoreCase("change")) else if (event.equalsIgnoreCase("change"))
{ {
// Change Hat // Change Hat
if (ownsAtLeastOneItem(player, 10250)) if (hasQuestItems(player, 10250))
{ {
takeItems(player, 10250, 1); // Adventurer Hat (Event) takeItems(player, 10250, 1); // Adventurer Hat (Event)
giveItems(player, 21594, 1); // Birthday Hat giveItems(player, 21594, 1); // Birthday Hat

View File

@@ -104,7 +104,7 @@ public class BirthOfDraco extends LongTimeEvent
break; break;
} }
/* /*
* case "giveAgathion": { if (hasQuestItemss(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; } * case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
*/ */
} }
return htmltext; return htmltext;

View File

@@ -77,7 +77,7 @@ public class CharacterBirthday extends AbstractNpcAI
else if (event.equalsIgnoreCase("change")) else if (event.equalsIgnoreCase("change"))
{ {
// Change Hat // Change Hat
if (ownsAtLeastOneItem(player, 10250)) if (hasQuestItems(player, 10250))
{ {
takeItems(player, 10250, 1); // Adventurer Hat (Event) takeItems(player, 10250, 1); // Adventurer Hat (Event)
giveItems(player, 21594, 1); // Birthday Hat giveItems(player, 21594, 1); // Birthday Hat

View File

@@ -104,7 +104,7 @@ public class BirthOfDraco extends LongTimeEvent
break; break;
} }
/* /*
* case "giveAgathion": { if (hasQuestItemss(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; } * case "giveAgathion": { if (hasQuestItems(player, AGATHION)) { htmltext = "33687-03.htm"; } else { giveItems(player, AGATHION, 1); htmltext = "33687-02.htm"; } break; }
*/ */
} }
return htmltext; return htmltext;

View File

@@ -77,7 +77,7 @@ public class CharacterBirthday extends AbstractNpcAI
else if (event.equalsIgnoreCase("change")) else if (event.equalsIgnoreCase("change"))
{ {
// Change Hat // Change Hat
if (ownsAtLeastOneItem(player, 10250)) if (hasQuestItems(player, 10250))
{ {
takeItems(player, 10250, 1); // Adventurer Hat (Event) takeItems(player, 10250, 1); // Adventurer Hat (Event)
giveItems(player, 21594, 1); // Birthday Hat giveItems(player, 21594, 1); // Birthday Hat

View File

@@ -77,7 +77,7 @@ public class CharacterBirthday extends AbstractNpcAI
else if (event.equalsIgnoreCase("change")) else if (event.equalsIgnoreCase("change"))
{ {
// Change Hat // Change Hat
if (ownsAtLeastOneItem(player, 10250)) if (hasQuestItems(player, 10250))
{ {
takeItems(player, 10250, 1); // Adventurer Hat (Event) takeItems(player, 10250, 1); // Adventurer Hat (Event)
giveItems(player, 21594, 1); // Birthday Hat giveItems(player, 21594, 1); // Birthday Hat