Jump to content

[Share]fix cursed weapons transform


Recommended Posts

Index: CursedWeapon.java
===================================================================
--- CursedWeapon.java   (revision 943)
+++ CursedWeapon.java   (working copy)
@@ -387,6 +387,7 @@
                {
                        // Drop the item
                        dropIt(attackable, player);
+                       player.untransform();

                        // Start the Life Task
                        _endTime = System.currentTimeMillis() + _duration * 60000L;
@@ -525,6 +526,7 @@
                        _player.setKarma(_playerKarma);
                        _player.setPkKills(_playerPkKills);
                        _player.setCursedWeaponEquippedId(0);
+                       _player.untransform();
                        removeSkill();

                        _player.abortAttack();

 

When killed the owner of the Cursed weapons, then the transformation does not disappear + Skill not return

 

This is a solution to your problems.

Link to comment
Share on other sites

Explain better and give credits or you will got a -1 Karma next time also go read our forum rules...

 

So if the owner of Demonic swords got killed and he doeshnt lost his transformation this code will fix it, am i right?

Link to comment
Share on other sites

Explain better and give credits or you will got a -1 Karma next time also go read our forum rules...

 

So if the owner of Demonic swords got killed and he doeshnt lost his transformation this code will fix it, am i right?

When killed the owner of the Cursed weapons, then the transformation does not disappear + Skill not return

 

This is a solution to your problems.

Yes you are right.

Btw thx for share

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • 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