Commit Graph

1163 Commits

Author SHA1 Message Date
Gunging
00c5ea0ff3 Even tougher recipe error detection based on new data (that was previously thought impossible HMMM) 2021-04-07 23:15:25 -05:00
Gunging
ef8045885b Tougher recipe registration system complement, from MMOItems' side. 2021-04-07 22:52:16 -05:00
Adam
954fbf988f You can now change the particle and particle color for lute attacks.
A stat called "Projectile Particles" has been added for this purpose.
```
You may use any particle provided by Spigot. A list of available particles can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html

In addition to being able to change the particle, you can also change the color of certain particles. REDSTONE, SPELL_MOB, SPELL_MOB_AMBIENT, and NOTE can all change colors.

REDSTONE, SPELL_MOB, and SPELL_MOB_AMBIENT can use any RGB color. If selecting one of these particles, you must also provide a color. For example:
SPELL_MOB 255 255 0

NOTE particles are unique and instead require a single value between 1 and 24 for their color. For example:
NOTE 16
```

This functionality may be extended to other weapons such as muskets and whips in the future.
2021-04-07 18:07:13 -04:00
Adam
ee43a26ae3 Merge branch 'particles' into 'master'
Particles

See merge request mythiccraft/mmoitems!6
2021-04-07 14:49:42 -07:00
Adam
560529a6c2 !Finish implementation of Projectile Particles for Lute 2021-04-07 17:47:54 -04:00
Adam
fc611b15bc !Add Projectile Particles attribute. Allows users to change the projectile particle and particle color for Lute, Whip, and Musket. Only Lute is currently implemented. 2021-04-07 05:12:17 -04:00
HexedHero
241e172eea Fixed some Corrupted Fangs bugs
- Fixed the ability always doing 6 extra damage
- Fixed the ability damaging players when ability-player-damage config
setting is false
2021-04-05 23:51:23 +01:00
HexedHero
ed32317419 Add fang amount to the Corrupted Fangs ability 2021-04-05 23:48:35 +01:00
HexedHero
5543cedbc9 Don't spawn chickens from the Chicken Wraith ability 2021-04-05 23:37:37 +01:00
Gunging
fa1ff355d1 Fixed #mmoitems-1407 ticket about duplicate recipes causing MMOItems to not load 2021-04-05 11:16:04 -05:00
Gunging
eef0414a35 Multiple recipes of the same thing no longer possible.
Fixes #mmoitems-1407
2021-04-05 10:47:48 -05:00
Gunging
bc4bb96fd5 Recipe Book displaying recipes now supported
**Requires MythicLib Update (1.0.18)**
2021-04-05 08:26:53 -05:00
Gunging
65ee66984a Recipe Book displaying recipes now supported
**Requires MythicLib Update (1.0.18)**
2021-04-05 04:24:33 -05:00
Ethan
c82962cd61 Adds support for mythic enchants to be applied using the enchants stat. 2021-04-04 23:19:56 -04:00
Gunging
e2ab12adc3 Fixed shaped recipe bug where they consumed 1 AIR as an ingredient (eventually reaching 0 AIR in the crafting slot and not detecting the recipe anymore) 2021-04-04 17:55:56 -05:00
Joshua
4ffc001900 part 1 of MythicEnchants support 2021-04-04 02:23:59 -05:00
Ethan
eb32b59f25 !idk 2021-04-02 04:49:23 -04:00
Gunging
2bea01c8be Fixes error from ticket 1368 when crafting netherite stuff in smithing table. I wonder what else it fixes... 2021-04-02 00:22:49 -05:00
Ethan
191e747573 Changed green durability bar to be enabled by default.
Unstackable items generated through the gui should generate unstackable now.
2021-03-30 16:55:32 -04:00
Gunging
a753da40ab Smithing Crafting Recipes now support Keeping Enchantments
You may edit this behaviour directly onto the yml file for now.
```
    crafting:
      smithing:
        '1':
          input1: SWORD.HEARTSWORD
          input2: SWORD.ORACLE_SWORD
          drop-gems: true
          upgrades: MAXIMUM
          enchantments: MAXIMUM
```
2021-03-30 12:57:40 -05:00
Gunging
1d075b28e5 **If you use the plugin PhatLoots** well this update is about better use of it!
You can now go to your config and add, under item-revision:
```yml
item-revision:
    phat-loots:
        display-name: true
        lore: true
        enchantments: true
        soulbound: true
        upgrades: true
        gemstones: true
        modifications: true
        external-sh: true
```

Which will update your PhatLoot items to the latest format in `/mmoitems browse` as they are generated for players. Since this will regenerate items, the *Unstackable* ItemStat now works with PhatLoots also

***If this is not added to the config, ** the default is that all options are false, and the items are completely regenerated and RNG-rerolled.
2021-03-30 02:50:11 -05:00
Gunging
392fe49088 Smithing Crafting Recipes now supported.
**Update MythicLib**

Pro tip: Its not implemented in-game but you can write it in the config files directly:

```
    crafting:
      smithing:
        '1':
          input1: SWORD.HEARTSWORD
          input2: SWORD.ORACLE_SWORD

          # Makes extra gems drop instead of getting lost
          drop-gems: true

          # If both inputs have upgrades, how to treat them?
      #   upgrades: ADDITIVE  # Sum them
          upgrades: MAXIMUM   # Largest of them (Default)
      #   upgrades: EVEN      # Average
      #   upgrades: MINIMUM   # Minimum of them
      #   upgrades: NONE      # Actually just dont keep upgrades
```
2021-03-29 23:23:14 -05:00
Gunging
1f88c15f28 Smithing Crafting Recipes now supported.
**Update MythicLib**

Pro tip: Its not implemented in-game but you can write it in the config files directly:

```
    crafting:
      smithing:
        '1':
          input1: SWORD.HEARTSWORD
          input2: SWORD.ORACLE_SWORD

          # Makes extra gems drop instead of getting lost
          drop-gems: true

          # If both inputs have upgrades, how to treat them?
      #   upgrades: ADDITIVE  # Sum them
          upgrades: MAXIMUM   # Largest of them (Default)
      #   upgrades: EVEN      # Average
      #   upgrades: MINIMUM   # Minimum of them
      #   upgrades: NONE      # Actually just dont keep upgrades
```
2021-03-29 23:22:28 -05:00
Gunging
e30a0f9e8f Updating MMOItems with Random Stats now asks the following question:
Under the new RNG parameters, is the chance of getting this same RNG roll less than 1 in 3,000?

If the answer is *yes*, the stat is Rerolled with the new parameters. Otherwise it remains the same :)

Or then again, you can always enable in the config, if you wanted them to roll
```yml
item-revision:
    reroll-when-updated: true
```
2021-03-29 18:53:14 -05:00
Gunging
4dc91ff3e0 You can now choose with certainty which RPG Provider plugin you want to use.
(RPG Provider is, which plugin tells MMOItems what class / level players are, like MCMMO power level or MMOCore or whichever).

Add to your config:
```
preferred-rpg-provider: <plugin>
```

If you misspell the name, you'll get this list telling you all RPG Providers supported:

```cs
[MMOItems RPG Provider] These are the supported ones:
[MMOItems RPG Provider]  + MMOCore
[MMOItems RPG Provider]  + Heroes
[MMOItems RPG Provider]  + SkillAPI
[MMOItems RPG Provider]  + RPGPlayerLeveling
[MMOItems RPG Provider]  + RacesAndClasses
[MMOItems RPG Provider]  + BattleLevels
[MMOItems RPG Provider]  + mcMMO
[MMOItems RPG Provider]  + McRPG
[MMOItems RPG Provider]  + Skills
[MMOItems RPG Provider]  + SkillsPro
```
2021-03-29 17:44:32 -05:00
Gunging
623bcf3200 Recipes now work even if the Mango Consumable was deleted.
Sorry about that I just really like the Mango so I based the entire system on top of a 'temporal' test that shuts everything down if the mango was missing....

Also, Updating items with RevID should no longer reroll RNG stats if you have the following in your config:
```
item-revision:
    reroll-when-updated: false
```

Also the spread formula for DoubleData is kind of strange so an alternative has been added, add this to your config to use:
```
additive-spread-formula: true
```
2021-03-29 17:14:12 -05:00
Gunging
bf6e37f87a **Update MythicLib again pls**
Recipes now work even if the Mango Consumable was deleted.
Sorry about that I just really like the Mango so I based the entire system on top of a 'temporal' test that shuts everything down if the mango was missing....

Also, Updating items with RevID should no longer reroll RNG stats if you have the following in your config:
```
item-revision:
    reroll-when-updated: false
```

Also the spread formula for DoubleData is kind of strange so an alternative has been added, add this to your config to use:
```
additive-spread-formula: true
```
2021-03-29 17:02:29 -05:00
Gunging
aa6800b237 Added option to keep external SH data past updating items.
Fixed bug where Updating an item would cause the template to become leveled up (this was absolutely ridiculous and hilarious btw), fixes Ticket #mmoitems-1283
2021-03-29 12:09:00 -05:00
Gunging
9108b9fd81 Shaped and shapeless recipes rework ready 2021-03-29 10:13:58 -05:00
Gunging
c4266fb61d Custom crafting with shaped and shapless recipes rework ready... 2021-03-29 09:42:22 -05:00
Gunging
3ffde990d1 Merge branch 'crafting' into 'master'
Crafting

See merge request mythiccraft/mmoitems!5
2021-03-29 07:27:57 -07:00
Gunging
d1d08830fb Merge branch 'master' into 'crafting'
# Conflicts:
#   src/main/java/net/Indyuce/mmoitems/listener/DurabilityListener.java
2021-03-29 07:26:39 -07:00
Gunging
b814a988d5 Vanilla crafting rework is live, update MythicLib to use (will be released shortly) 2021-03-29 09:18:50 -05:00
Ethan
4d42a0d1cb Durability has been reworked to accommodate all needs.
Changes:
Unbreakable now will restrict items from losing all types of durability (custom and vanilla).

New Durability Bar boolean stat. This determines whether or not the vanilla durability bar will be shown when using custom durability. Note: This will be scaled according to the custom durability.
2021-03-29 03:51:58 -04:00
Ethan
576e2d508d !durability 2021-03-29 02:12:58 -04:00
Ethan
61644a1b1f !DURABILITY BAR 2021-03-29 02:12:51 -04:00
Ethan
b2d59b3c18 !durability 2021-03-29 02:10:57 -04:00
Ethan
76031dfb97 !DURABILITY BAR 2021-03-29 01:04:43 -04:00
Gunging
3b9a068314 !MMOItems no longer fulfill vanilla item requirements in crafting 2021-03-27 00:03:10 -05:00
Gunging
2ed5c9896c !Implementation of Custom Crafting System that very well supports MMOItems 2021-03-26 12:25:48 -05:00
Ethan
2fb3d69307 null checks 2021-03-24 07:35:26 -04:00
Adam
0b4afabcdd Potential fix for unbreakingLevel NPE 2021-03-22 03:52:01 -04:00
Adam
daf1e15680 Broken weapons no longer do damage 2021-03-20 20:03:04 -04:00
Ethan
ee0bd71403 adds back durability to unbreakable items with a custom durability set 2021-03-20 11:56:51 -04:00
HexedHero
ae175089df !Format fixes 2021-03-20 06:53:34 +00:00
Adam
f3a40b926e Only items with durability can be broken 2021-03-19 14:41:56 -04:00
Gunging
f27b9162d9 Gemstone Data more resilient to types being missing. 2021-03-18 12:14:25 -05:00
Adam
65e3ddb87f Prevent untargeted weapons from firing when broken 2021-03-17 03:44:05 -04:00
Adam
59b2592fb3 Don't let player equip armor that they can't use 2021-03-17 02:55:02 -04:00
Ethan
81eafa4605 update item updater to support components 2021-03-17 01:48:35 -04:00