Package net.sf.l2j.gameserver.model.actor.instance

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance


                        else
                          partyLvl = pl.getLevel();
                      }
                    }
                  }
                  L2PlayableInstance summon = pl.getPet();
                  if (summon != null && summon instanceof L2PetInstance)
                  {
                    reward2 = rewards.get(summon);
                    if (reward2 != null) // Pets are only added if they have done damage
                    {
                      if (Util.checkIfInRange(Config.ALT_PARTY_RANGE, this, summon, true))
                      {
                        partyDmg += reward2._dmg; // Add summon damages to party damages
                        rewardedMembers.add(summon);
                        if (summon.getLevel() > partyLvl)
                          partyLvl = summon.getLevel();
                      }
                      rewards.remove(summon); // Remove the summon from the L2Attackable rewards
                    }
                  }
                }
View Full Code Here


            Iterator<L2PlayableInstance> _playables = _regions.get(i).iterateAllPlayers();

            // Go through visible object of the selected region
            while (_playables.hasNext())
            {
                L2PlayableInstance _object = _playables.next();

                if (_object == null)
                    continue;

                if (_object.equals(object))
                    continue;   // skip our own character

                if (!_object.isVisible()) // GM invisible is different than this...
                    continue;   // skip dying objects

                result.add(_object);
            }
        }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.