MagicTools v3.1

Details

  • Filename
    MagicTools_v3.1.jar
  • Uploaded by
  • Uploaded
    Oct 22, 2014
  • Size
    14.14 KB
  • Downloads
    1,964
  • MD5
    2c4241eb6ee13077be459863aa3267f6

Supported Bukkit Versions

  • CB 1.7.9-R0.2

Changelog

This is an update that corrects the logic system. This is a long one, so bear with me :)

So in my plugin, it would activate the ability, then check if redstone and/or xp was used. If XP was used, even if the player didn't have enough (Let's say they had 2), it would subtract the amount in the config (Let's say it was 4, so they would be reset to 0). And redstone, oh don't even get me started with the bugginess on that. Anyway, I completely redid the logic system. Now what it does is this process:

Check if using redstone or xp. If not, activate ability Check if using both redstone and xp. If so do the following: Check if there is enough XP. If so, check if there is enough redstone. If so, change activateAbility to true. If not, change cancelAbility to true. If activate ability is true and cancelAbility is false, then activate ability.

If only using one or the other, do the following: Check if using redstone. If so, do the following: Check if there is enough. If so, activate ability. Check if using XP. If so, do the following: Check if there is enough. If so, activate ability.

So there is my logic system. This actually took me a long time to figure out, so I'm glad it works. Download this plugin to get a completely revamped version of my plugin!

WORKS WITH 1.8 SPIGOT!!!!!

/-\-/-\-/-\Last Update Log/-\-/-\-/-\

+ Added lore checking algorithm for update book function + The RightClickManager now respects WorldGuard regions (No more worrying about protected regions being destroyed)

None at the moment. If there are any, please submit a ticket at GitHub!