Small rework for pet shot recharge messages.
This commit is contained in:
		| @@ -115,11 +115,11 @@ public class BeastSoulShot implements IItemHandler | ||||
| 		} | ||||
| 		 | ||||
| 		// Pet uses the power of spirit. | ||||
| 		activeOwner.sendPacket(SystemMessageId.YOUR_PET_USES_SPIRITSHOT); | ||||
| 		if (pet != null) | ||||
| 		{ | ||||
| 			if (!pet.isChargedShot(ShotType.SOULSHOTS)) | ||||
| 			{ | ||||
| 				activeOwner.sendMessage("Your pet uses soulshot."); // activeOwner.sendPacket(SystemMessageId.YOUR_PET_USES_SPIRITSHOT); | ||||
| 				pet.setChargedShot(ShotType.SOULSHOTS, true); | ||||
| 				// Visual effect change if player has equipped Ruby lvl 3 or higher | ||||
| 				if (activeOwner.getActiveRubyJewel() != null) | ||||
| @@ -137,6 +137,7 @@ public class BeastSoulShot implements IItemHandler | ||||
| 		{ | ||||
| 			if (!s.isChargedShot(ShotType.SOULSHOTS)) | ||||
| 			{ | ||||
| 				activeOwner.sendMessage("Your servitor uses soulshot."); // activeOwner.sendPacket(SystemMessageId.YOUR_PET_USES_SPIRITSHOT); | ||||
| 				s.setChargedShot(ShotType.SOULSHOTS, true); | ||||
| 				// Visual effect change if player has equipped Ruby lvl 3 or higher | ||||
| 				if (activeOwner.getActiveRubyJewel() != null) | ||||
|   | ||||
| @@ -117,11 +117,11 @@ public class BeastSpiritShot implements IItemHandler | ||||
| 		} | ||||
| 		 | ||||
| 		// Pet uses the power of spirit. | ||||
| 		activeOwner.sendPacket(SystemMessageId.YOUR_PET_USES_SPIRITSHOT); | ||||
| 		if (pet != null) | ||||
| 		{ | ||||
| 			if (!pet.isChargedShot(shotType)) | ||||
| 			{ | ||||
| 				activeOwner.sendMessage(isBlessed ? "Your pet uses blessed spiritshot." : "Your pet uses spiritshot."); // activeOwner.sendPacket(SystemMessageId.YOUR_PET_USES_SPIRITSHOT); | ||||
| 				pet.setChargedShot(shotType, true); | ||||
| 				// Visual effect change if player has equipped Sapphire lvl 3 or higher | ||||
| 				if (activeOwner.getActiveShappireJewel() != null) | ||||
| @@ -139,6 +139,7 @@ public class BeastSpiritShot implements IItemHandler | ||||
| 		{ | ||||
| 			if (!s.isChargedShot(shotType)) | ||||
| 			{ | ||||
| 				activeOwner.sendMessage(isBlessed ? "Your servitor uses blessed spiritshot." : "Your servitor uses spiritshot."); // activeOwner.sendPacket(SystemMessageId.YOUR_PET_USES_SPIRITSHOT); | ||||
| 				s.setChargedShot(shotType, true); | ||||
| 				// Visual effect change if player has equipped Sapphire lvl 3 or higher | ||||
| 				if (activeOwner.getActiveShappireJewel() != null) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDev
					MobiusDev