Jump to content

Romotheone

Members
  • Posts

    110
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by Romotheone

  1. Hello dear person who is reading my topic.

     

    I have a question, more like a request to find out how to add a zoneID into an already existing Java code.

     

    [table][tr]

    [td]

      public void increasePvpKills(L2Character target)

      {

        if (((target instanceof L2PcInstance)) && (AntiFeedManager.getInstance().check(this, target)))

        {

          setPvpKills(getPvpKills() + 1);

     

          for (L2ZoneType zone : L2World.getInstance().getRegion(getX(), getY()).getZones()) {

            if ((zone.isCharacterInZone(this)) && (zone.getName() != null) && (zone.getId() == 40001)) {

              addItem("PvPReward", 14720, 1L, this, true);

            }

     

          }

     

          sendPacket(new UserInfo(this));

          sendPacket(new ExBrExtraUserInfo(this));

        }

      }

    [/td]

    [/tr][/table]

     

    This code is supposed to spawn an item after every PvP kill in a certain zone. My question is:

     

    How can I add another zone and keep this one aswell? Is it enough to seperate the 2 zones by writing a "," between the 2 zone IDs? Like this:

     

    [table][tr]

    [td]

          if ((zone.isCharacterInZone(this)) && (zone.getName() != null) && (zone.getId() == 40001, 40002))

    [/td]

    [/tr][/table]

     

    Or is there another way? I was also thinking about simply copy+pasting this code with the ID of the other zone, but honestly I don't want to mess around and probably get owned by a bunch of errors, that would be a pity. :) I have no Java knowledge, I am trying to understand how it works, and I can edit some numbers, thats all.

     

    Thanks in advance.

  2. That working alone thing is getting better and better now, but I'm still looking for someone who could help me with ideas. :)

    Java knowledge still not required but it would be awesome if someone who is willing to work with me would show up.

     

    Still looking for testers as well! You can contact me and join the server after a short conversation.

     

    MSN: daniel.ferencz@citromail.hu

     

  3. No, like I said. Over-hit has nothing to do with the double damage thing. There are many non-dagger skills which have an overhit effect, such as mage spells, tyrant skills, etc...

     

    The setting you are looking for is the "<set name="baseCritRate" val="15"/>". The skills deal double damage because they have a critical rate as well. And that has nothing to do with over-hit. Over-hit is only there to grant you additional bonus XP on monster kill with that skill. Thats all.

     

    Look at both xmls of backstab and deadly blow, search for this line:

    <set name="baseCritRate" val="15"/>

     

    As you can see, backstab has it, but deadly blow doesn't.

  4.  

      <set name="baseCritRate" val="15"/>

     

     

    This is what you are looking for. The number is given in percentage. So 15 means 15%. And as far as I know Deadly blow doesn't have it? At least not in my Freya xml.

     

    The over-hit in the skill description means that if you kill a monster with that skill, it will give you more experience.

  5. Looking for a motivated, creative and friendly person who is willing to work together with me on a small custom high rate Freya server. Also looking for helpful testers who give their honest opinion with constructive criticism, as well as a possible solution about what they dislike about the current system ingame.

    There are many things which are done already, like:

    - close to perfect class balance (with loads of edited effects on majority of the skills and classes)

    - 5 armor sets, 2 set of weapons and some accessories with custom stats, which don't rape the balance.

    - a already tested farming zone with well working a-beep-t of currency and a strong economy-friendly exchange system.

     

    You don't have to be a genious nor is java knowledge required (but highly preferred), I am mainly looking for creative and intelligent people, because I am incapable to work alone for more than 10 minutes.

     

    If you are interested, you can always reach me on my MSN address, which is:

    daniel.ferencz@citromail.hu

     

    English knowledge is obviously required, doesn't have to be perfect. If I understand what you mean, its perfectly enough.

     

    Please keep this topic clean, if you have any questions about anything related to me or the server, add me on MSN and we can talk about it.

     

    Thank you.

     

    _______________

     

    To avoid misunderstandings, I want to make clear that I am not willing to pay for anything. I am rather looking for a partner and not a service.

×
×
  • Create New...