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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock