L2JMobius

Guardians Watermelon's Event not worling

Galagard · 2 · 227

Online Galagard

  • Elder
  • ****
    • Posts: 146
  • Support / L2J Developer
The event is currently not working because skill 48511 is wrong


Code: [Select]
   <skill id="48511" toLevel="1" name="Summon Watermelon">
      <!-- Summons Watermelon during the event. -->
      <icon>icon.skill17695</icon>
      <operateType>A1</operateType>
   </skill>


Same thing for 48512 skill


Possible fix


Code: [Select]
   <skill id="48511" toLevel="1" name="Summon Watermelon">
      <!-- Summons Watermelon during the event. -->
      <icon>icon.skill17695</icon>
      <operateType>A1</operateType>
         <targetType>SELF</targetType>
      <affectScope>SINGLE</affectScope>
      <hitCancelTime>1.5</hitCancelTime>
      <hitTime>1500</hitTime>
      <isMagic>2</isMagic> <!-- Static Skill -->
      <itemConsumeCount>1</itemConsumeCount>
      <itemConsumeId>96852</itemConsumeId> <!-- Watermelon Seed -->
      <magicCriticalRate>5</magicCriticalRate>
      <magicLevel>1</magicLevel>
      <reuseDelay>10000</reuseDelay>
      <conditions>
         <condition name="OpCanNotUseAirship" />
      </conditions>
      <effects>
         <effect name="SummonNpc">
            <npcId>13271</npcId> <!-- Young Watermelon -->
            <npcCount>1</npcCount>
            <despawnDelay>180000</despawnDelay>
         </effect>
      </effects>
   </skill>



<skill id="48512" toLevel="1" name="Summon Prime Watermelon">
<!-- Summons Prime Watermelon during the event. -->
<icon>icon.skill17696</icon>
<operateType>A1</operateType>
<affectScope>SINGLE</affectScope>
<hitCancelTime>1.5</hitCancelTime>
<hitTime>1500</hitTime>
<isMagic>2</isMagic> <!-- Static Skill -->
<itemConsumeCount>1</itemConsumeCount>
<itemConsumeId>96852</itemConsumeId> <!-- Prime Watermelon Seed -->
<magicCriticalRate>5</magicCriticalRate>
<magicLevel>1</magicLevel>
<reuseDelay>10000</reuseDelay>
<conditions>
<condition name="OpCanNotUseAirship" />
</conditions>
<effects>
<effect name="SummonNpc">
<npcId>13275</npcId> <!-- Young Honey Watermelon -->
<npcCount>1</npcCount>
<despawnDelay>180000</despawnDelay>
</effect>
</effects>
</skill>
   




after that, the event is working as well, but  don't know if the pumpkin event seed being sold together is a mistake or if it's correct (the pumpkin seed doesn't work either, probably for the same reason. Since there's no pumpkin event script, there's no way to fix it).

I think the right thing to do would have been to remove the pumpkin seed from the event NPC OR create a custom item with another name...

===


EDIT: The original event featured two types of seeds: one spawned NPCs that could be killed with any weapon, the other spawned only a specific weapon sold by NPCs.

The problem is that the "Large Watermelon Seed" icon doesn't exist in Guardians, so they used the "Snow Pumpkin Seed" seed.

They just didn't implement the mechanics correctly. I'll see if I can fix it by creating a custom item, just to get the name right, and by correcting the event's logic...

And in retail the "normals" watermelon "dies" with any weapon, only the "honey watermelons" die with Chronus weapons, like a Squash/Pumpkin event

I Working with a fix in script to fix that, and post soon
Support L2j in General, pm me


Online Galagard

  • Elder
  • ****
    • Posts: 146
  • Support / L2J Developer
I watched a bunch of videos of this event to get the mechanics right.

The initial spawn never dies, especially since it doesn't drop anything... you have to give it nectar to evolve into one of the other three watermelons.

After the watermelon evolves, "regular" watermelons die with any weapon (except without a weapon), and the "honey" type only dies with Chronos weapons.

There's dialogue for all the stages of the event, taken from retail videos.

It's very close to retail now, even if they decide not to incorporate it into the project, it's there for anyone who wants to use it...

Code: [Select]
https://pastecode.io/s/txzzgo2y
Support L2j in General, pm me