EdenEternal Posted May 14, 2010 Share Posted May 14, 2010 in function onRandomAnimation() add this (coz PCs have more animations than regular npcs): Code: - // Send a packet SocialAction to all L2PcInstance in the _KnownPlayers of the L2NpcInstance - SocialAction sa = new SocialAction(getObjectId(), Rnd.get(2, 3)); + int min = (_customNpcInstance != null) ? 1 : 2; + int max = (_customNpcInstance != null) ? 13 : 3; + // Send a packet SocialAction to all L2PcInstance in the _KnownPlayers of the L2NpcInstance + SocialAction sa = new SocialAction(getObjectId(), Rnd.get(min, max)); i can't find these lines on L2jfree and l2jopen packs! this is in L2NPCinstance.java? Link to comment Share on other sites More sharing options...
icemanrj Posted May 15, 2010 Share Posted May 15, 2010 this for l2jserver Link to comment Share on other sites More sharing options...
EdenEternal Posted May 16, 2010 Share Posted May 16, 2010 only for l2jserver? Link to comment Share on other sites More sharing options...
MaxPowerz Posted May 16, 2010 Share Posted May 16, 2010 wow. im gonna test it dude and tell you the results . thnx again! Link to comment Share on other sites More sharing options...
TSIVE Posted May 16, 2010 Share Posted May 16, 2010 fdLP. your post its really good !!!i try it.. no my test server tomorrow! Link to comment Share on other sites More sharing options...
Setekh Posted May 16, 2010 Share Posted May 16, 2010 USE YOUR FUKIN BRAINS PPL! This works only from kamael up to Gracia! Not more then that! There are other working shares like this.. use the search button! Locked.. god damn Link to comment Share on other sites More sharing options...
Recommended Posts