NOTE: This a custom enchant module require TokenEnchant plugin.
NOTE: v4.0.0 and up will require TokenEnchant 8.5.5 or up.
This plugin contains a custom enchantment effect to create P1kachuThunder, which will give damage to nearby entities.
If you just left-click with an item with P1kachuThunder, it will generate the P1kachuThunder in the mid-air. If you do Sneak-left-click, it will first try to find a target player and generate the P1kachuThunder above this player.
Installation: Just install TE-P1kachuThunderEnchant.jar in TokenEnchant/enchants folder. Then you can either "restart the server" or "reload the plugin (not /te reload)". P1kachuThunderEnchantment will automatically be loaded into TokenEnchant framework.
Configuration: You need to add a new entry for "P1kachuThunder" enchant in the "Potions:" section of your config.yml.
P1kachuThunder: event_map: PlayerInteractEvent: "HIGHEST" EntityDamageByEntityEvent: "HIGHEST" alias: P1kachu price: 10 max: 4 # search target within the distance of level * distance_multiplier distance_multiplier: 5 # search distance will be capped at this max_distance: 100 # thunder gives level * damage_multiplier damage to an entity damage_multiplier: 3 # probability to control the behavior of thunder probability: 0.02 # iteration iteration: 200 # maximum branching of thunder max_branch: 4 cooldown: 3 cooldown_message: "&a[TE] You have to wait for &b%remaining% &aseconds." occurrence: always