Jump to content

Recommended Posts

Posted

I'm a bit obsessed with small details so i give you the retail sm for final skills(at least 1 of them).

Sorry for this worthless share,i know that even a kid can do this,however i upload it for ppl who can't implement it and are interested in it.

 

PcStatus.java

               super.reduceHp(value, attacker, awake);

	if (!getActiveChar().isDead() && getActiveChar().isSitting())
		getActiveChar().standUp();

               if (getActiveChar().isFakeDeath())
		getActiveChar().stopFakeDeath(null);

+               if (getActiveChar().getCurrentHp() <= getActiveChar().getMaxHp() * 0.3 
+               && getActiveChar().getCurrentHp() + value > getActiveChar().getMaxHp() * 0.3)
+               {
+                       if (getActiveChar().getSkillLevel(290) > 0)
+                       {
+                               getActiveChar().sendMessage("Since HP has decreased, the effect of Final Frenzy can be felt.");
+                       }
+                       if (getActiveChar().getSkillLevel(291) > 0)
+                       {
+                               getActiveChar().sendMessage("Since HP has decreased, the effect of Final Fortress can be felt.");
+                       }
+               }

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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