Chuseok Harvest Festival improvements.

Contributed by Sero and CostyKiller.
This commit is contained in:
MobiusDevelopment
2022-10-08 14:31:39 +00:00
parent 98d60b45ef
commit bcd62a95db
3 changed files with 35 additions and 73 deletions

View File

@@ -65,6 +65,15 @@ public class ChuseokHarvestFestival extends LongTimeEvent
String htmltext = null;
switch (event)
{
case "34604.htm":
case "34604-1.htm":
case "34605.htm":
case "34605-1.htm":
case "34605-2.htm":
{
htmltext = event;
break;
}
case "getTicket":
{
if (npc.getId() != FULL_MOON)
@@ -104,7 +113,7 @@ public class ChuseokHarvestFestival extends LongTimeEvent
break;
}
SkillCaster.triggerCast(npc, player, ENERGY_BUFF.getSkill());
SkillCaster.triggerCast(player, player, ENERGY_BUFF.getSkill());
break;
}
case "moveToTheMoon":

View File

@@ -134,6 +134,11 @@
</abnormalLevel>
<abnormalTime>1800</abnormalTime>
<abnormalType>SONGPYEN_BUFF</abnormalType>
<itemConsumeId>
<value level="1">48520</value> <!-- Newbie's Fortune Scroll -->
<value level="2">48225</value> <!-- Multicolored Songpyeon -->
</itemConsumeId>
<itemConsumeCount>1</itemConsumeCount>
<canBeDispelled>false</canBeDispelled>
<magicCriticalRate>5</magicCriticalRate>
<targetType>SELF</targetType>