Jump to content

[Share]Morph NPCs to PCs(Players)


Recommended Posts

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

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

Guest
This topic is now closed to further replies.



×
×
  • Create New...