GJ
050be563bf
Less magic numbers.
2013-06-12 19:26:09 -04:00
GJ
965dbda101
Clean up some stuff with our DATS.
2013-06-12 19:20:05 -04:00
GJ
3a78e1b487
More code duplication removal.
2013-06-12 15:56:42 -04:00
TfT_02
da25b02e0a
Only set the item in hand null if it's actually a fishing rod
2013-06-07 15:46:53 -04:00
GJ
b0eb4b93a8
Cleaner way to avoid salvaging chainmail.
2013-05-28 12:59:10 -04:00
GJ
54f135aebd
We're checking this twice and shouldn't be.
2013-05-28 12:53:12 -04:00
GJ
10e369f9c5
Increased auto-fishing detection.
2013-05-28 12:42:39 -04:00
TfT_02
2414ddf485
Fix broken Tree Feller
...
Fixes #1139
2013-05-25 14:45:24 +02:00
GJ
5e00636761
And a little more...
2013-05-22 22:30:09 -04:00
GJ
0b6372a6ea
Don't run these calculations twice. Also, pretty sure one of these was
...
bugged.
2013-05-21 11:41:39 -04:00
GJ
0c52b3016c
We've got these functions, might as well use them.
2013-05-21 10:02:09 -04:00
GJ
87df536a1f
Only check for kraken if you're actually fishing.
2013-05-21 09:14:54 -04:00
T00thpick1
6dbf2e0d95
FishingTreasureEvent, FishingShakeEvent and MagicHunterEvent
2013-05-20 17:27:59 -04:00
TfT_02
2d66b8ed12
Cleanup - fixing various formatting issues
2013-05-18 22:41:42 +02:00
TfT_02
483f348403
Fixed bug with Blast Mining where the Ability refreshed message was being send too early
2013-05-18 22:27:17 +02:00
TfT_02
7f1ef61657
Get rid of the SuccessModifier
...
There's no need for this modifier, because the user can define the
exact chance for Rolls and Gracefull Rolls in the config file. This
means that the ratio between the two is already configurable.
2013-05-18 14:12:07 +02:00
GJ
a7861fc54b
Move all miscellaneous Spout code to a single location.
2013-05-16 10:51:18 -04:00
T00thpick1
48aafa9834
Unused import
2013-05-15 14:27:31 -04:00
T00thpick1
78f53f294a
Debris should drop normal drops
2013-05-15 13:02:21 -04:00
GJ
d8ddd27d71
Calculate bonus XP based on initial arrow location, rather than final
...
shooter location.
2013-05-15 08:35:12 -04:00
GJ
2e79c8d770
Properly track infinite arrows.
2013-05-14 22:45:09 -04:00
GJ
f910c76248
Conventions.
2013-05-14 12:46:45 -04:00
GJ
975cbf0bf8
The cache should be here, not in the manager.
2013-05-14 12:46:04 -04:00
GJ
501f5de55a
Fixing everything you guys broke while I was gone...
2013-05-14 11:28:50 -04:00
Paul J Thordarson
c5e6704530
Magic Hunter fix and optimization
...
There was a small bug in magic hunter, where it tried to apply an
enchantment level between 1 and the Enchantment.getMaxLevel(), however
it didn't take into account Enchantment.getStartLevel(), so when it
tried to apply an enchantment level below the start level, an
IllegalArgumentException was being thrown and the magic hunter event
wasn't happening.
Also, it's potentially inefficient to recalculate which enchantments
are possible for each ItemStack every time, so I added a HashMap to
cache the possibleEnchantments for each material type, then check this
cache instead of just looping to regenerate the list each time.
2013-05-13 20:22:08 -04:00
NuclearW
2b414526e5
Unleash the Quacken!
2013-05-09 11:04:34 -04:00
NuclearW
c0b7eb526a
Change Squid variables to Creature.
2013-05-09 11:00:28 -04:00
GJ
33610c8997
Whoops.
2013-05-03 16:15:34 -04:00
GJ
8e0a1f4f70
Summon the kraken at will!
2013-05-03 16:14:03 -04:00
GJ
b07cf6bdde
It's now possible to run away from the Kraken.
2013-05-03 15:49:29 -04:00
GJ
4f9b7b2609
Because you might be legitimately fishing at 5 seconds.
2013-05-03 07:51:59 -04:00
GJ
09abab1b5d
Kraken sounds can now be set to either player-only or global (default).
2013-05-03 07:51:58 -04:00
GJ
499713c8e7
Because autoclicking to shake is OK.
2013-05-03 07:51:57 -04:00
GJ
cb953a1619
Disable global chat spam from the kraken by setting the server message
...
to an empty string in the config.
2013-05-03 07:51:56 -04:00
TfT_02
3ab4938f3d
Also need to locale these two strings
...
Closes #1019
2013-05-02 21:08:20 +02:00
TfT_02
f6e9fd9f3a
Add more localisation
2013-05-02 21:02:12 +02:00
GJ
8dab75f3cb
Can't use brackets in YAML.
2013-05-02 08:48:17 -04:00
GJ
0574de4a29
Configure the Kraken!
2013-05-02 07:56:29 -04:00
GJ
5c4c3cf59c
The Kraken hates boats.
2013-05-01 22:50:12 -04:00
GJ
e7c749ee3a
Added boosts to Fishing chance depending on conditions. Also, the
...
kraken, now with 100% more sound!
2013-05-01 21:57:42 -04:00
GJ
5c026be0cd
Don't need those.
2013-05-01 21:19:29 -04:00
GJ
c465546871
Unleash the Kraken!
2013-05-01 21:17:59 -04:00
GJ
3322677d32
Added "Ice Fishing" ability to Fishing
2013-05-01 10:18:19 -04:00
GJ
b55ce30b2d
Clean up our main class a bit more. Still not perfect, but it's getting
...
there.
2013-04-30 15:07:29 -04:00
GJ
339a54b0ac
Replace SkillMonitorTask with 3 unique timers instead. This should greatly
...
optimize our tool and ability cooldown tracking and hopefully reduce
server load.
2013-04-29 15:33:55 -04:00
TfT_02
68a7b540c5
Ask a confirmation when a player tries to repair an enchanted item
2013-04-25 23:29:49 +02:00
GJ
98dc7b853a
Protect our managers.
2013-04-25 09:16:42 -04:00
TfT_02
17a0382283
Changed experience storage from integers to floats
...
This will make sure no experience is lost when the server has high
skill modifiers configured, or when low amounts of experience are being
shared.
2013-04-25 07:42:38 -04:00
GJ
e99599c377
Fixed Smelting returning ink sacs instead of Lapis when double-dropping.
...
Fixes #986
2013-04-24 07:08:24 -04:00
TfT_02
e831f0561a
Changed Call of the Wild, newly summoned pet's will have a custom name
...
Closes #972
2013-04-18 23:04:27 +02:00
GJ
42a30b4521
Fixed Fishing treasures always having the same enchants.
2013-04-17 07:47:43 -04:00
GJ
07ba7a8d9e
Nerf fishing again... AGAIN
2013-04-16 23:48:36 -04:00
GJ
5dc40f3c03
Nerf fishing... again.
2013-04-12 17:48:04 -04:00
GJ
875091a1ce
Added ability to configure drops from Shake in treasures.yml
2013-04-11 21:40:09 -04:00
GJ
fbee4f1b37
Remove debug messages.
2013-04-10 19:41:55 -04:00
GJ
26542f3d6e
Because otherwise you can't fish at low levels.
2013-04-10 19:32:26 -04:00
GJ
14630fe956
Nerfin' it.
2013-04-10 18:44:11 -04:00
GJ
365abaaa8f
Reverse the order to avoid NPE
2013-04-10 14:04:46 -04:00
GJ
f4681a282c
Better handling of picking up items with unarmed.
2013-04-10 13:20:44 -04:00
GJ
4f87cb6446
Added "Master Angler" ability to Fishing.
...
This ability increases the chance that a fish will bite the line while
fishing.
2013-04-09 20:53:54 -04:00
GJ
158b3c43f8
Fixed wolves from Call of the Wild only having 8 health.
2013-04-05 16:17:59 -04:00
GJ
d4c8cc28a1
Use new hasConflictingEnchant method.
2013-04-04 22:26:48 -04:00
GJ
ce08405c00
Use new NetherWartState values.
2013-04-04 22:24:02 -04:00
GJ
0f023f627c
Metadata > Hashmap
2013-04-02 08:41:51 -04:00
GJ
24153c2fb1
Dumb ternary statement was dumb.
2013-03-28 07:45:35 -04:00
TfT_02
94b560ba01
Don't activate abilities when a player is in creative mode.
2013-03-25 23:15:09 +01:00
Glitchfinder
9f55c25775
Actually adding Nether Quartz to Mining for double drops.
2013-03-21 16:05:34 -07:00
TfT_02
9730cdb880
Normalize line endings
2013-03-21 20:46:23 +01:00
GJ
399bf8e3b9
Use BukkitRunnable.
2013-03-20 03:11:16 -04:00
GJ
c3a69c8c55
Change to the newer, shorter scheduler methods.
2013-03-20 02:15:15 -04:00
GJ
255dece550
Move Arcane Forging to it's own class to match the structure we used
...
with Blast Mining.
2013-03-18 14:02:53 -04:00
GJ
ed09d1b390
Fixed bug where Shake wouldn't damage mobs whose max health was less
...
than 4.
Fixes #845
2013-03-17 08:11:20 -04:00
GJ
171026ba23
Fixed bug where Mining wasn't awarding double drops
2013-03-17 00:36:40 -04:00
bm01
3f56c8e690
Fixed Treefeller trying to cut too many leaves
2013-03-16 16:49:32 +01:00
TfT_02
b2f400f61a
"Splinter the axe into dozens of pieces"
2013-03-12 23:31:44 +01:00
GJ
3a7d88db4f
Fixed bug with Blast Mining increasing TNT damage.
2013-03-10 21:30:35 -04:00
GJ
9eba2c683b
Use equalsIgnoreCase() instead of equals(), and use == for compaing
...
worlds.
Fixes #815
2013-03-10 18:06:10 -04:00
GJ
d78a1efbf6
Fixed bug with Repair not decreasing enchanting levels properly.
...
Fixes #817
2013-03-10 15:48:16 -04:00
t00thpick1
df67bd6720
Message player only when enchants actually exist
2013-03-09 20:05:15 -05:00
bm01
0e2746622d
Fixed the Cacti & Sugar Cane fix!
2013-03-08 19:33:03 +01:00
GJ
e31b7d5c48
Cacti & Sugar Cane are an exception, because the bottom block is
...
normally player-placed but the top two are grown naturally.
2013-03-08 08:53:54 -05:00
GJ
4bddbbf56e
This must be handled first, else no XP is awarded if double-drops are
...
disabled.
2013-03-08 08:49:07 -05:00
GJ
0654f27599
Fixed bug where Blast Mining was awarding too much XP
2013-03-08 08:45:16 -05:00
GJ
bd45fff1b4
Fixed bug relating to "empty" ItemStacks. Fixes #807
2013-03-08 07:40:25 -05:00
GJ
9618e45a11
That was bothering me.
2013-03-08 07:26:43 -05:00
bm01
3839373f5a
Forgot this one
2013-03-08 10:35:52 +01:00
bm01
1633617006
Minor cleanup
2013-03-08 10:33:20 +01:00
bm01
57e33bbf39
Fixed triple drop awarding experience twice in mining
...
The previous commit also fixed this for Herbalism
2013-03-08 10:31:32 +01:00
bm01
cddcf36016
Reworked some methods related to Herbalism
...
Fixes double seed consumption for Green Terra when used on crops
Fixes wheat consumption instead of seed for Green Thumb
Fixes XP and double drop exploit with some blocks (flowers...)
2013-03-08 10:11:33 +01:00
NuclearW
03d0ecd450
text=auto
2013-03-07 14:43:03 -05:00
GJ
3a809dab32
Fix downgrade chances all being calculated from Rank4.
2013-03-07 12:52:43 -05:00
GJ
9377de930f
Fixed bug with using Salvage on stacked items. Stacked items will now
...
return the appropriate amount of materials. Fixes #802
2013-03-07 08:03:18 -05:00
GJ
a9438ed52b
Move BlockCracker into the UnarmedManager
2013-03-06 19:19:26 -05:00
GJ
09169bd019
Fixed bug where Fishing was becoming less successful at higher levels
2013-03-06 18:17:54 -05:00
GJ
44ede5c3f8
Create a WoodcuttingManager
2013-03-06 16:23:41 -05:00
GJ
f6a18ef777
Move Salvage functions into Repair
2013-03-06 11:31:51 -05:00
GJ
3e084b3b5d
Unlock levels go in advanced.yml, not config.yml
2013-03-06 11:13:25 -05:00
GJ
2c7f931c4d
Removed option to disable Salvage via the config file. This should be
...
handled via permissions instead.
2013-03-06 10:50:59 -05:00
GJ
6b18cec7fb
Combine our placedAnvil checks into one function.
2013-03-06 10:47:56 -05:00
GJ
08960a2dbc
Move Salvage checks into our RepairManager
2013-03-06 10:02:34 -05:00
GJ
5f4e269efa
Fixed bug with repairing using materials with byte metadata
2013-03-06 09:43:09 -05:00
GJ
e5f6da01ec
Create a proper RepairManager to match the others, rename our old
...
RepairManager to RepairableManager.
2013-03-06 09:37:09 -05:00
GJ
df53e2fd4f
Fixed issue with some skill activations not activating enough or
...
activating too much.
Fixes #785
2013-03-04 22:45:37 -05:00
GJ
4210920c5f
Fixed ClassCastException relating to counter-attack with Swords. Fixes
...
#784
2013-03-04 21:59:16 -05:00
GJ
0c027ca697
Straightening up our Managers more, also fixed a few bugs regarding
...
unlock levels and Deflect not working properly.
2013-03-04 09:41:24 -05:00
GJ
1fc3c8fab2
AnimalTamer already has a getName() method.
2013-03-03 15:22:40 -05:00
GJ
7c28be5e62
Straightening up our InventoryListener, SwordsManager, TamingManager,
...
and UnarmedManager.
2013-03-03 14:59:22 -05:00
GJ
cbe9cae4ea
Straighten up the Taming classes in order to stop passing events around quite so much. Also reordered some checks in our EntityDamage listeners for readability & efficiency purposes.
2013-03-03 14:48:13 -05:00
bm01
c0b7f8a323
Moved everything that could be moved from PlayerProfile to McMMOPlayer
...
PlayerProfile now only store stored (flatfile or MySQL) data
2013-03-03 17:06:32 +01:00
bm01
f8b4412049
Each McMMOPlayer now store its SkillManager objects
...
Should fix a recent memory leak
2013-03-03 17:06:32 +01:00
GJ
cf82ae4c66
Fixed bug where repairing an mcMMO ability-buffed item with mcMMO repair
...
could take the enchant but leave the lore tag
2013-03-02 19:38:29 -05:00
NuclearW
a542d6cf3e
Squashed commit of the following:
...
commit cb3e057dee1f2b29838ab654a526baac1baab7d6
Author: NuclearW <incongruency@gmail.com>
Date: Fri Mar 1 00:43:57 2013 -0500
1.4.00 release
commit 4f9628d2e4cde31c8946e9a911ee6f10e1fb6b35
Author: NuclearW <incongruency@gmail.com>
Date: Fri Mar 1 00:07:30 2013 -0500
\r -> \n
commit b2ca22e0477c747143b0f08a28a096967ee6ffd7
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 23:53:56 2013 -0500
Commented-out code shouldn't be done like that.
commit 92f131712cc671e3e616c14a22e22769ef6d6d0b
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 23:45:36 2013 -0500
More things we missed.
commit 408b03766f6261a03a862a1ab7f5835772feda4a
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 23:20:13 2013 -0500
Format: util through spout and backup lib
commit d6bd2c29bbb51bee3607247468cfe145d4f38c9e
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 22:50:08 2013 -0500
The things we missed the first time through...
commit 393f0b889aa1b7011ee81ee7b15413d8824b8cfb
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 22:05:29 2013 -0500
Formatting: Skills
commit c097a6e188a7b760dd1b4389ed81dca417146b16
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:30:12 2013 -0500
Organize imports.
commit 34c3e74be7eb5f983f21d969e30155c5d82c01c1
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:09:45 2013 -0500
Fixed a missing fallthrough comment from ChatCommand
commit b4a76c9f022a2fd98bdd8f083accfea03becfd71
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 19:09:36 2013 -0500
Formatting: datatypes.* through events.*
commit 3e57dd41d3265a7c8106c7eb026df926770a4d15
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:56:15 2013 -0500
Fix issue with bad rebase
commit e8c8e06b2971555b7334e49128257e3af6f36892
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 17:35:32 2013 -0500
Formatting: DatabaseManager, LeaderboardManager, DatabaseUpdateType, and
PlayerStat
commit 13ecf1cc41f377a12991e357ac10abdcda24d6de
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:31:43 2013 -0500
Format: listeners.* through runnables.*
commit 71686e3c0d96c2dcf25442b91703fadda1ea3bb0
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 17:13:57 2013 -0500
Format PartyLockCommand
commit d50abed10bf94e1a88df3dc5cc07c259aea920ea
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 16:54:08 2013 -0500
Format: base through config.*
commit 7004823eeebbae5be7728bf9cafc3b04e57b64cf
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:21:40 2013 -0500
Example of using spaces to align like things
commit 534190cfe2481e466fe459d65628550458cc2993
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:12:19 2013 -0500
Capitalization
commit 5b61d3ba4c8d81e6f358b0cf4f460abfe9798414
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 15:07:43 2013 -0500
Updated readme, added standards.md
commit 5ec0df70fb82c527420a2f437f27f31bd758f884
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 14:42:16 2013 -0500
Markdown was here, Creole is a loser
commit 70d557c59d086b6a5fb5e0e63c0c1d8eb4c8d19c
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 13:46:24 2013 -0500
Move MCStats shading to .metrics.mcstats
commit eb9d67e66b1659d6abd2397ecf403343cfeffdda
Author: GJ <gjmcferrin@gmail.com>
Date: Thu Feb 28 13:37:37 2013 -0500
Move ALL the packages!
commit 8ffa9e7b75417b6c7f158613d4b4ffb783dcf2d0
Author: NuclearW <incongruency@gmail.com>
Date: Thu Feb 28 12:37:12 2013 -0500
/r/n -> /n
2013-03-01 00:52:01 -05:00
GJ
13111a8d1b
Fixed a few small bugs with Smelting.
2013-02-28 17:32:36 -05:00
GJ
bbbba12e95
Small TamingManager changes. Halting the rest of the major changes for
...
now to prepare for 1.4.00 release.
2013-02-28 12:13:13 -05:00
GJ
fbd016f86d
Cleaning up our UnarmedManager
2013-02-28 11:52:56 -05:00
GJ
8fb8c67148
SwordsManager cleaning
2013-02-27 23:18:17 -05:00
GJ
499411f6a2
SmeltingManager cleaning.
2013-02-27 18:28:20 -05:00
GJ
c3eaec513b
GIANT Blast Mining update. Lots of new config options in advanced.yml
2013-02-27 15:45:15 -05:00
nossr50
a7f858ab03
Added new Tree Feller algorithm for Huge Red Mushroom
2013-02-27 11:51:44 -08:00
GJ
5ba4dc7b77
Leave some room.
2013-02-27 08:33:06 -05:00
GJ
bbcc8f918e
Hire another manager in charge of Herbalism.
2013-02-27 08:33:05 -05:00
bm01
356c97cd67
Fixed CME in BleedTimer
2013-02-27 13:49:56 +01:00
GJ
0bdd5b219f
Finish off FishingManager.
2013-02-26 23:31:00 -05:00
GJ
294393bd1c
Work on FishingManager.
2013-02-26 22:38:22 -05:00
GJ
18510ba851
Don't check the permissions here.
2013-02-26 18:26:52 -05:00
GJ
0201ed332f
Quit passing this event around.
2013-02-26 18:21:14 -05:00
GJ
e46ed07b94
Goodbye, unused imports.
2013-02-26 18:12:40 -05:00
GJ
3db6762531
Javadoc updates.
2013-02-26 18:08:28 -05:00
GJ
f388948f04
Hire an Excavation manager.
2013-02-26 18:06:30 -05:00
GJ
4392e6b9ab
Minor tweaks.
2013-02-26 16:06:13 -05:00
GJ
38c3891533
Minor JD fixes.
2013-02-26 16:00:15 -05:00
GJ
a28d673eb7
Reworking the AxeManager.
2013-02-26 15:59:16 -05:00
GJ
55138f1599
Managers control everything relating to players.
2013-02-26 12:38:17 -05:00
GJ
ae1eda915b
Use an iterator rather than that stupid lock boolean.
2013-02-26 10:32:06 -05:00
GJ
38cd395171
Clean up the bleed list a bit.
2013-02-26 10:13:40 -05:00
GJ
3aec0e5ef4
Using UUID is safer.
2013-02-26 10:07:00 -05:00
GJ
56bd782625
Getting it through Bukkit is bad.
2013-02-26 10:02:25 -05:00
GJ
d8904827ec
This should have the same effect.
2013-02-26 10:01:37 -05:00
GJ
07a0f43825
Don't need that anymore.
2013-02-26 09:42:22 -05:00
GJ
ec8581a835
Pass less events.
2013-02-26 09:41:47 -05:00
GJ
f5290c3256
Name 'em all the same.
2013-02-26 08:22:08 -05:00
GJ
070189a7fd
Don't need those anymore.
2013-02-26 08:19:55 -05:00
GJ
d409610a55
Move Roll checks into the manager.
2013-02-26 08:19:21 -05:00
GJ
d46b134dbb
Don't pass our events around so much.
2013-02-25 18:00:15 -05:00
NuclearW
5026bdcbd4
Add new child.yml config for picking parents of child skills
2013-02-25 16:58:37 -05:00
GJ
3607d0b9a1
Eclipse - still being stupid.
2013-02-25 16:58:06 -05:00
GJ
21b8626366
Put our managers on payroll, rather than firing them at the end of
...
their shift.
2013-02-25 16:54:46 -05:00
NuclearW
4c10fdf34a
Use Debug Filter here
2013-02-25 16:00:09 -05:00
GJ
2373ca82ba
Added "Shroom Thumb" ability to Herbalism. Closes #724
2013-02-25 09:58:25 -05:00
GJ
19068dee03
Fix Tree Feller not working but still awarding XP.
2013-02-25 08:01:06 -05:00
GJ
da1e03cbfc
Eclipse is dumb and wasn't including these two files for some reason.
2013-02-25 07:30:06 -05:00
GJ
ec8221610a
Add a few more checks for sanity on the new ability buffs.
2013-02-24 23:57:30 -05:00
GJ
afe28d54c6
Fix Herbalism not replanting crops properly.
2013-02-24 23:49:55 -05:00
GJ
1eb225cae1
Stages are capped at 4.
2013-02-24 16:35:33 -05:00
GJ
e716e38386
Dividing by 4 was wrong.
2013-02-24 16:31:01 -05:00
GJ
5cd542002e
Only remove seed on greenThumb - Green Terra's already had the seed
...
removed the first time.
2013-02-24 14:04:54 -05:00
GJ
38155e3af4
Use the same MetadataValue for both of these
2013-02-23 18:13:12 -05:00
GJ
301914d94b
Fix ClassCastException with trying to use Woodcutting on Mushrooms.
2013-02-23 15:03:39 -05:00
GJ
62aaad8707
Added "Holy Hound" ability to Taming
2013-02-22 18:47:34 -05:00
GJ
2fee9df625
Move more event handling back into the main listener to avoid passing
...
the event itself.
2013-02-22 17:55:31 -05:00
GJ
9282b7bd15
Remove config caching from SkillTools.java
2013-02-22 13:53:16 -05:00
GJ
0d473d232e
Remove config caching from CombatTools.java
2013-02-22 13:47:54 -05:00
GJ
f9ad8ffe93
This check was unneeded, we already verify that the player is, in fact,
...
a player before this check is ever called.
2013-02-22 13:40:36 -05:00
GJ
e85a0f6cfc
Change Acrobatics roll handling to take event.getDamage() instead of the
...
event. Also adds a few new config options in advanced.yml for further
customizing roll behavior.
2013-02-22 13:39:47 -05:00
GJ
63974f3968
Passing the event is bad - pass just event.getDamage() instead.
2013-02-22 12:10:15 -05:00
NuclearW
d052d7a3ce
Change from using Block to BlockState in many locations
...
Convert Herbalism ability to use BlockState instead of Block.
Move all block checks back to BlockChecks.
Don't need this if we're using BlockState
Convert Excavation to BlockState. We don't need to return booleans here
because we never edit the block state.Switch ModCheck.getCustomBlock to use BlockState
More work on the conversion to BlockState
More conversion to BlockState
Better way to handle mining drops, I believe.
Remove useless imports.
A test of making the diff look nicer
BlockChecks diff cleanup
Herbalism diff cleanup
Gotta update the block states here.
Moar blockstate.
Little more blockState stuff.
Even more blockstate.
2013-02-22 11:23:46 -05:00
GJ
0a68b82078
Fixes wolves gaining combat bonuses based on their owner's held item.
...
Closes #713
2013-02-22 09:53:18 -05:00
GJ
e50eb1963f
Minor typo.
2013-02-20 22:01:18 -05:00
Glitchfinder
fdd6c0a0d8
Fixing an NPE related to Spout players.
2013-02-20 21:55:52 -05:00
GJ
c589c5556b
MASSIVE config overhaul - most keys are now based on the "proper" name
...
given to a material or entity by Bukkit.
This WILL wipe some custom values you may have set, so please verify
that your values are what you want them to be after the new config file
is generated.
2013-02-20 16:44:15 -05:00
GJ
17a85c94c6
Override toString() for upcoming config changes. Also, this ability is
...
"Skull Splitter," not "Skull Spliiter"
2013-02-20 13:29:41 -05:00
GJ
400c93fb7d
Clean up our particle effects a bit.
2013-02-20 10:40:47 -05:00
GJ
1bcf43db63
Better way to handle daze effect.
2013-02-20 08:49:21 -05:00
GJ
79bcd76aa0
Change ability particles due to confusion over glass-breaking sound.
2013-02-20 08:42:25 -05:00
GJ
8833ceb3b5
Added particle effect to Critical Hit.
2013-02-19 19:08:21 -05:00
GJ
ccc265edf9
Add explosion effect for Greater Impact.
2013-02-19 19:08:21 -05:00
GJ
e956988c60
Add particle effect on Dodge.
2013-02-19 19:08:20 -05:00
GJ
fd47d77800
Add chat toggles for the events we have particle effects for.
2013-02-19 13:25:59 -05:00
GJ
f189907ff8
Added visual effects for ability enabling. Also readded chat messages
...
for people who have particle effects disabled.
2013-02-19 13:02:08 -05:00
GJ
6e32843fb4
Add potion effect for Daze.
2013-02-19 11:01:50 -05:00
GJ
a43a5a0861
Don't need to save the manager anymore.
2013-02-19 10:09:29 -05:00
GJ
4ff1e79cc0
Particle effect means you can now easily see when an enemy is bleeding.
2013-02-19 09:21:44 -05:00
GJ
d28794a587
Slightly cleaner way to handle a few of our repair functions.
2013-02-19 08:34:08 -05:00
GJ
a67dd1d9d7
One of these has to be a double if we want this modifier to work.
2013-02-19 08:03:02 -05:00
GJ
9c0f763949
We already check the block data before calling this function.
2013-02-19 01:06:06 -05:00
GJ
701822c69f
MASSIVE Permissions overhaul. Added a handful of new permissions,
...
renamed a few more. Changed Green Terra to handle blocks based on
perms rather than the config file.
For more details, read the diff.
2013-02-19 01:02:29 -05:00
bm01
2eab93292e
Removed some shouldBeAffected calls
...
I'm pretty sure they aren't needed there
2013-02-19 02:20:12 +01:00
bm01
29fb8b83c2
Fixed combat exp gain when hitting a friendly wolf
2013-02-19 02:06:31 +01:00
bm01
ad68f50b14
Removed isNPCPlayer, isNPCEntity is identical
2013-02-19 01:47:05 +01:00
Glitchfinder
519485f155
Converting entity tracking to use Bukkit metadata. Should greatly reduce lag on chunk loading and unloading.
2013-02-18 16:19:31 -08:00
GJ
d9aad67ca5
Fix splash potions not properly affecting the player that threw them.
2013-02-18 15:09:25 -05:00
GJ
083a89c1a3
Handle all our donor perks in one class.
2013-02-18 11:41:44 -05:00
GJ
671be42472
SkillTools, not Misc
2013-02-18 10:32:29 -05:00
GJ
1da1bb7218
These fit better in SkillTools. Plus, we had already duplicated one of
...
them.
2013-02-18 10:26:19 -05:00
GJ
d0d9527d39
These functions fit better in CombatTools.
2013-02-18 10:22:16 -05:00
GJ
c39827ed59
Don't need the same function in two places.
2013-02-18 10:11:43 -05:00
GJ
5d6a35d4ef
Remove unused import.
2013-02-18 10:08:38 -05:00
GJ
05a9c8b7e5
Make McMMOPlayerLevelUpEvent fully cancellable.
2013-02-18 08:35:52 -05:00
NuclearW
57e6e5400b
nope.avi
...
Revert "Protect placeStore. It's ugly and still needs work."
This reverts commit 1fe182babe
.
2013-02-17 10:05:35 -05:00
GJ
8a795e6091
Don't need chance anymore.
2013-02-17 01:26:47 -05:00
GJ
946513cb66
Remove unused import.
2013-02-17 00:40:54 -05:00
GJ
1fe182babe
Protect placeStore. It's ugly and still needs work.
2013-02-17 00:40:17 -05:00
bm01
cedd8da9ba
Fixed Tree Feller dropping mushroom "blocks" instead of "items"
2013-02-16 23:09:19 +01:00
bm01
3cb269de4b
TreeFeller.dropBlocks cleanup
2013-02-16 21:31:06 +01:00
bm01
91010f2958
Let's be consistent D:
2013-02-16 21:25:31 +01:00
bm01
f3e823997b
getExperienceFromLog cleanup
2013-02-16 21:22:41 +01:00
GJ
f6b38ab32a
Added hidden.yml option for using potion-based buffs instead of
...
enchantment-based buffs.
2013-02-16 14:36:46 -05:00
GJ
6f96a5026b
Take a player, not an item. Also avoids potential for NPE.
2013-02-16 11:34:39 -05:00
GJ
4071f259ad
Handle all the buff removal in BlockDamage. Also removes the config
...
option for using Mining & Excavation without tools.
2013-02-16 11:28:19 -05:00
GJ
593975a255
We don't have to pass the event anymore.
2013-02-16 00:00:24 -05:00
bm01
9c2ab19404
Slight greenThumbWheat cleanup
2013-02-16 03:42:56 +01:00
bm01
ef1a777180
Removed no longer needed check
2013-02-16 03:38:41 +01:00
bm01
77014b03ef
No point in canceling the event
...
And it actually fixes the double call (see previous commit)
2013-02-16 03:36:27 +01:00
bm01
9143051d9f
Run GreenThumbTimer on the current tick
...
It avoids onBlockBreak to be called twice (which basically launched
the task twice). I don't know what were the consequences but that
wasn't right anyway.
Also it would be better if we wouldn't have to cancel the event,
because there is a possibility that plugins like LogBlock don't have a
chance to process it.
2013-02-16 02:56:46 +01:00
bm01
f496ecf7b1
Fixed Green Thumb not checking rank 4 on wheat
2013-02-16 02:49:31 +01:00
GJ
fc3afc4340
Using PlantSize is cleaner.
2013-02-15 19:29:47 -05:00
GJ
fd138eb0b5
This was redundant was redundant
2013-02-15 19:20:42 -05:00
GJ
6d5835849f
Fix issue with GreenThumb command display.
2013-02-15 19:18:43 -05:00
nossr50
800ebf5b64
Merge branch 'master' of https://github.com/mcMMO-Dev/mcMMO
2013-02-15 15:33:54 -08:00
nossr50
9df149c489
Huge Mushrooms now work for Tree Feller (UNTESTED)
2013-02-15 15:32:49 -08:00
shatteredbeam
efcf80899e
Permissions class removal from Skillcommand
2013-02-15 14:38:51 -08:00
GJ
bf4d70e8be
That was an incredibly stupid way to get those permissions.
2013-02-15 14:29:32 -05:00
GJ
284002bf8b
No reason to String.valueOf() these.
2013-02-15 13:56:30 -05:00
GJ
fca0847929
Squids are not made of chocolate.
2013-02-15 12:19:02 -05:00
GJ
1d19dab71d
Full change to DyeColor.COLOR.getDyeData() - *REQUIRES* CB 1.4.7
2013-02-15 12:16:31 -05:00
GJ
1ef1d53fd9
Make our commands respect localized skill names.
2013-02-15 09:26:01 -05:00
GJ
6c4ea34811
It's (not) over 5000% - fixes #683
2013-02-15 07:32:22 -05:00
GJ
caa1b0d14c
Duplicate code is bad, m'kay?
2013-02-14 19:02:50 -05:00
GJ
6cc2497182
THis wasn't removing when it should have.
2013-02-14 16:29:49 -05:00
GJ
615288e635
Things in inventory can be null.
2013-02-14 16:02:42 -05:00
GJ
01e26f321d
Fix issues with enchant-based Superbreaker implementation.
2013-02-14 14:35:53 -05:00
GJ
e8319aee81
Changed Super Breaker & Giga Drill Breaker to be an enchantment-based
...
boost, rather than an instabreak.
2013-02-14 13:12:15 -05:00
GJ
88b05cd5aa
Fix Super Breaker not working right with custom blocks.
2013-02-14 09:39:22 -05:00
NuclearW
9bd33ab3df
Introducing Block Cracker
2013-02-14 00:34:50 -05:00
GJ
55b88f0274
These belong better in SkillTools than Misc
2013-02-13 16:45:49 -05:00
GJ
f4da69a205
Fix some missing default cases and possible fall-through issues.
2013-02-13 16:34:36 -05:00
GJ
0879e1f326
Fixed bug where fired arrows could raise skill levels other than Archery
2013-02-13 12:25:57 -05:00
GJ
8312570825
Fixed bug where splash potions could raise a player's unarmed level.
...
Fixes #678
2013-02-13 12:10:10 -05:00
GJ
2ad73e9b2c
Optimized our String/number conversions a bit. Also moved all
...
String-related util functions from Misc.java to StringUtils.java
2013-02-13 11:45:48 -05:00
bm01
776821a988
Readded Impact damage durability cap (and fixed it)
2013-02-13 14:49:35 +01:00
GJ
aa0acf767b
Log ALL the things!
2013-02-12 22:18:47 -05:00
GJ
8f4d5442b1
Better than looping.
2013-02-12 16:47:11 -05:00
GJ
9db2d50676
These should be under party, not skills.
2013-02-12 14:36:38 -05:00
bm01
048a979375
Minor ImpactEventHandler cleanup
2013-02-12 19:36:10 +01:00
bm01
761fb3b811
Bad copy paste
2013-02-12 19:19:13 +01:00
bm01
9f22382506
Restored original behavior of Salvage.isSalvageable
...
It doesn't check for custom armors, I don't know if it's a bug or not
Added isMinecraftTool and isMinecraftArmor for clarity
2013-02-12 19:15:52 +01:00
bm01
f486492c37
For consistency with Bukkit, ItemChecks.isPants -> ItemChecks.isLeggings
2013-02-12 19:15:51 +01:00
bm01
2fac0170e7
Fixed Impact reducing durability of non-armor equipped blocks
2013-02-12 19:15:51 +01:00
bm01
45ebc2b89b
3% != 100%
2013-02-11 23:39:41 +01:00
GJ
76523d2988
3% != 100% - Fixes #671
2013-02-11 17:35:01 -05:00
bm01
b628b9eb4d
Attempt to fix IOOBException due getOfflinePlayer at server startup
2013-02-09 15:16:57 +01:00
bm01
c659f8a9a9
Party now store OfflinePlayer instead of String
2013-02-09 14:34:53 +01:00
bm01
6d9db06305
Removed getSkillLevel, it doesn't belong to SkillType
2013-02-08 13:04:26 +01:00
NuclearW
af1288b6f8
Add Friendly Fire permission for parties
...
This removes the friendly fire config option previously created
Both attacker and defender must have this option
Closes #648
2013-02-07 18:46:41 -05:00
GJ
6c266a8926
We don't need two functions that do the exact same thing.
2013-02-07 12:17:18 -05:00
GJ
a13d28a6ec
Entity config files aren't working properly yet - temporary solution is
...
to use a 1.0 base for any entity with an UNKNOWN type.
2013-02-06 15:33:24 -05:00
GJ
7a0f8ea2dd
Tweak a few more things with Salvage.
2013-02-06 10:28:28 -05:00
TfT_02
2799bab206
Minor cleanup
2013-02-06 15:29:21 +01:00
TfT_02
ba4d0451ff
Shears are in isIronTool(), no need to check explicitly
2013-02-06 14:59:36 +01:00
TfT_02
40773ee6f6
Added Shears, Buckets, Fishing rods and Bows to the list of items that can be Salvaged
2013-02-06 14:49:36 +01:00
GJ
bbfbe1e72c
Remove max level check - Bukkit now does the checking for us.
2013-02-05 23:58:15 -05:00
GJ
bb88812668
Added basic support for Mo' Creatures (and other entity mods) - specify
...
mob info in entities.yml
2013-02-05 22:40:19 -05:00
GJ
aad14169fb
Flip the order to short-circuit faster.
2013-02-05 10:18:24 -05:00
GJ
2764368089
HerbalismBlock could be null here.
2013-02-05 09:57:03 -05:00
GJ
0de7e22408
Adjust how we get the usage strings for the /skillname commands
2013-02-05 08:51:11 -05:00
TfT_02
89eef2ce07
Added new config options to allow friendly fire in parties.
2013-02-05 14:47:09 +01:00
TfT_02
263cb2823c
Oops, forgot to remove debug messages!
2013-02-05 00:46:50 +01:00
TfT_02
e5e19f77b9
Automatically remove inactive party members after 7 days (default)
...
Inactive meaning, the player has offline for atleast 7 days. This will
prevent the parties.yml file from getting unnecessarily large.
2013-02-05 00:44:22 +01:00
TfT_02
85dc6e51d2
Bleeding particle effect added.
2013-02-04 17:41:32 +01:00
GJ
4aceadd777
== is faster than .equals() for enums.
2013-02-04 11:35:52 -05:00
bm01
35cdcb62b7
Removed needs for SkillType.ALL
...
Also apparently made /Skillreset work on offline players and fixed
missing permissions check
2013-02-04 16:33:34 +01:00
GJ
44b862c0bb
Get rid of all the deprecated instances of Users.getProfile()
2013-02-04 08:09:24 -05:00
GJ
2888fdff9e
Fixed bug with Hylian Luck when there are no treasures enabled.
2013-02-03 13:31:13 -05:00
bm01
a1ab6f286b
Made xp sharing less ugly by reworking McMMOPlayer xp methods
...
Notable consequence: checkXP and addLevel in ExperienceAPI are no longer
needed and became deprecated
2013-02-03 12:45:19 +01:00
bm01
6d871c9bdb
Properly fixed the NPE in dropItem
...
It was due to bad logic in Herbalism
2013-02-03 09:12:34 +01:00
GJ
a42a1f4a9f
Fixed trying to cast player to SpoutPlayer - need to use
...
SpoutManager.getPlayer(player) instead.
2013-02-02 19:20:31 -05:00
GJ
8f17ec96f0
Fixed teleport exploit in regards to Archery bonus XP.
2013-02-02 19:07:05 -05:00
GJ
b11e28c880
Don't need to add one here, it sends us out of bounds.
2013-02-02 17:04:11 -05:00
TfT_02
a16d5b62cf
Fix issue #620
2013-02-02 20:23:40 +01:00
NuclearW
ebca9fc2da
Change getString to use varargs
2013-02-02 02:55:49 -05:00
GJ
54e5be1961
Removed redundant permissions check for skill commands.
2013-02-01 13:43:24 -05:00
bm01
137864dc04
Fixed /addlevels not working on offline players
...
Fixed /addlevels all throwing NPE because of Smelting
Removed use of Users.getProfile()
2013-02-01 11:50:19 +01:00
bm01
7d83dd8283
Put McMMOPlayer to use where it made sense
...
It's basically a wrapper for anything related to players, as a
consequence Users.getProfile() is now depreciated.
Also removed SkillTools.xpProcessing() because of some redundancy with
McMMOPlayer.addXp().
+ some cleanup for consistency sake.
2013-02-01 06:38:25 +01:00
GJ
d3c8a5565a
Cleaning up from our deprecated permissions.
...
Also cleaned up the unholy mess that was SkillResetCommand.
2013-01-31 13:29:42 -05:00
GJ
cd35df17ec
Fix a handful of Javadoc issues - need to check through the rest later to ensure that we actually have updated JDs for everything
2013-01-30 19:44:35 -05:00
bm01
5c13661c47
Slight cleanup, removed unused import
...
And this is how we go from build 12xx to 14xx in one week
2013-01-30 23:36:33 +01:00
bm01
8b514d631c
Vanilla xp bonus should actually be in beginFishing()
...
or at least be called by beginFishing()
2013-01-30 23:29:36 +01:00
bm01
13a65e875f
Minor Fishing "cleanup"
2013-01-30 22:51:11 +01:00
TfT_02
374b758700
Fix AxesMastery displaying wrong values
2013-01-30 20:33:19 +01:00
GJ
3f6bd7894d
Added vanilla XP boost for Fishing - includes permissions, config
...
options, etc
2013-01-30 13:24:56 -05:00
TfT_02
5e6b1fe362
BeastLore can now display Offline Owner names
2013-01-30 18:35:57 +01:00
GJ
1c0cafc6c8
Fixed the guide usage string showing up every time /skillname was called
2013-01-30 12:30:45 -05:00
GJ
599bbe73b4
More major refactoring. My OCD is better now.
2013-01-30 11:53:51 -05:00
GJ
852872f55c
Custom mod support refactoring.
2013-01-30 11:35:33 -05:00
GJ
62a037a4fd
Minor cleanup of new party stuff.
2013-01-30 11:25:44 -05:00
TfT_02
9a89c7c49f
Added party XP sharing.
2013-01-30 15:17:54 +01:00
GJ
c6ef053aac
Fixed a couple of our locale strings getting screwed up due to
...
refactoring.
2013-01-30 08:36:24 -05:00
GJ
d3b0da4186
Finished tidying up our Spout checking.
2013-01-30 08:08:29 -05:00
bm01
74d9fa422f
Fixed Shake Mob level not being displayed correctly
...
Another bug introduced in previous commits
2013-01-30 05:12:34 +01:00
bm01
b43538ee78
Fixed Shake Mob using "data" value as amount
...
Bug introduced in one of the previous commits
2013-01-30 02:02:42 +01:00
bm01
ae49f0b6e4
Remove unused import
...
Whoops D:
2013-01-30 01:15:07 +01:00
bm01
063de93eb8
Do not break 1.4.6 compatibility yet
2013-01-30 01:13:29 +01:00
bm01
ec997bd2b6
Fixed Shake Mob not dropping the correct Wool
...
Bug introduced by my previous commit
2013-01-30 01:02:03 +01:00
bm01
20aa312173
Removed permanent storage of config value in Woodcutting
2013-01-30 01:02:03 +01:00
bm01
48b0050451
Fishing refactoring, fixed bad enchant distribution
2013-01-30 01:02:02 +01:00
GJ
c04b14c751
Add anvil sounds to Salvage.
2013-01-29 19:00:47 -05:00
GJ
ac7ed67d91
We're now using Bukkit sounds instead of Spout sounds - only
...
current exception is the custom level-up sound.
2013-01-29 18:36:16 -05:00
GJ
20f6a55df2
Remove duplicate checks.
2013-01-29 12:02:32 -05:00
GJ
60041a1253
Added ability to config Hylian Luck drops through treasures.yml
2013-01-29 11:24:41 -05:00
gmcferrin
1e7b54ef0d
Tweak archery distance XP function to reward better.
2013-01-29 10:55:06 -05:00
gmcferrin
d2cb88d93b
No need to check if this is wheat...
2013-01-29 10:07:32 -05:00
GJ
5b862a4cee
Added XP bonus for Archery based on distance from shooter to target. The
...
farther you are from your target, the more bonus XP you'll earn.
2013-01-29 01:58:03 -05:00
GJ
2aec202e6d
Attempting to make Herbalism cleaner...
2013-01-28 16:56:18 -05:00
GJ
6db78d3cda
This might be a bit slower, but it's WAY cleaner. Also prevents us from
...
having to update this function every time Minecraft adds a new
transparent block.
2013-01-28 12:51:20 -05:00
GJ
088d4ac14a
Removed useless function variable.
2013-01-28 08:36:55 -05:00
GJ
1549f66fd7
Removed unused imports.
2013-01-28 08:16:09 -05:00
TfT_02
e061acb44a
Fixing a bug where deflect and disarm would have wrong values.
...
Adresses issue #593
2013-01-27 22:49:10 +01:00
GJ
cc6850b37d
Fixed bug where Green Terra could possibly activate on crops that
...
weren't fully grown. Also fixed crop growth rates being checked twice.
2013-01-27 16:34:47 -05:00
GJ
a3c92b07cb
Jack O' Lanterns are ALWAYS placed blocks.
2013-01-27 16:24:30 -05:00
GJ
43dbb94a7f
Changed Excavation to have individual XP values for each block type,
...
rather than a base XP value
2013-01-27 01:09:20 -05:00
bm01
d43e61a49c
Reimplemented TreeFeller on Jungle Trees experience nerf
2013-01-27 04:20:07 +01:00
bm01
2356fda67a
Minor cleanup
2013-01-27 00:02:01 +01:00
bm01
bff7919c21
Major cleanup
2013-01-26 23:01:55 +01:00
GJ
56e16acce4
Fix bug where smelting allowed for XP gain in Mining/Repair even if
...
permissions were not present.
2013-01-26 00:25:14 -05:00
TfT_02
4692a461eb
burnTimeModifier only needs show two decimal places
2013-01-26 02:13:10 +01:00
GJ
3e04bacf73
Tweak a few things with Herbalism.
2013-01-25 19:21:33 -05:00
bm01
a0a52a3433
Added the possibility to not use a max level for Fishing
...
by using a negative number, changed default
treasure.yml file accordingly
2013-01-26 01:04:24 +01:00
bm01
188ad359fe
Changed Fishing to always give a fish on a successful catch
2013-01-26 01:03:42 +01:00
GJ
18a4f5ed40
Fixed bug where Iron Grip was using the attacker's skill values rather
...
than the defender's
2013-01-25 17:57:42 -05:00
GJ
c4ec9a6df9
Fixed issues with combat abilities not checking cooldowns in last few
...
dev builds.
2013-01-25 17:21:18 -05:00
bm01
b61410b6eb
Make this constant
2013-01-25 22:34:35 +01:00
bm01
51d681974c
Re-added unbreaking enchant handling for Tree Feller
2013-01-25 22:32:52 +01:00
GJ
91e8051cee
Fixed abilities activating with the wrong tool in hand
2013-01-25 13:54:32 -05:00
GJ
a7be57241c
Cleanup listeners a bit more. Also fix bug in recent dev builds where
...
placed blocks were not properly tracked.
2013-01-25 12:33:48 -05:00
GJ
a35af4dbe6
This is better & cleaner than just comparing the data.
2013-01-25 10:41:43 -05:00
GJ
3d275a4f53
Hopefully a better fix for the previously mentioned issue.
2013-01-24 23:54:07 -05:00
GJ
06cf0ff2c2
Temporary fix for some of our combat checks not being called properly. A
...
better fix will be coming soon.
2013-01-24 23:03:00 -05:00
GJ
ba7ebe1319
Minor Database refactoring.
2013-01-24 22:53:02 -05:00
GJ
f5179cdcea
Fixing awkward Bukkit bug related to Flame arrows.
2013-01-24 21:55:56 -05:00
GJ
9cdfebda9a
Trying to clean up duplicate checks & whatnot in our listeners.
2013-01-24 20:10:50 -05:00
GJ
7c59621c9e
More cleaning on listeners. Also fixes NPE with itemInHand, because
...
Bukkit is dumb.
2013-01-24 15:46:29 -05:00
GJ
76a987e1e0
PlayerListener cleanup
2013-01-24 14:19:26 -05:00
GJ
ab677e941d
Start cleaning up the mess we've made of our listeners.
2013-01-24 11:50:12 -05:00
bm01
29d796b6af
Partially reverted my previous fix
...
ItemStack constructor actually worked,
the issue was about double drops using
the original data, not about TreeFeller.
2013-01-24 16:15:10 +01:00
GJ
276800f999
Change how we handle players not being able to pick up items while using
...
Berserk.
2013-01-24 09:44:48 -05:00
bm01
8d077ff4f2
Cleanup
2013-01-24 15:37:02 +01:00
bm01
58b01021c1
Definitely fixed sideways logs issues
...
... Apparently
2013-01-24 15:28:18 +01:00
bm01
5a6dc8511f
Actually fixed TreeFeller and sideways logs items
2013-01-24 15:13:56 +01:00
GJ
b7bb3f4487
Don't include child skills in these loops. Fixes #577
2013-01-24 09:08:30 -05:00
GJ
531e92bda3
It's over 5000!
...
Fixes #571
2013-01-23 23:55:51 -05:00
GJ
1337c45f1d
Fixed NPE with startup relating to SmeltingCommand.
2013-01-23 19:10:12 -05:00
bm01
7e91776cfb
Made Tree Feller a little more aggressive
2013-01-24 00:53:08 +01:00
bm01
9689c50603
Javadoc update & fixes
2013-01-24 00:53:08 +01:00
bm01
bb2eb053da
Fixed Tree Feller dropping sideways log items
2013-01-24 00:53:08 +01:00
GJ
64137995c2
Add advanced.yml config options for Smelting.
2013-01-23 17:07:26 -05:00
GJ
6f0e2437e0
Smelting!
2013-01-23 16:34:01 -05:00
GJ
aabbc2f238
Is it a log? There's a function for that...
...
Also fix leaves dropping logs instead of saplings.
2013-01-23 12:44:00 -05:00
TfT_02
fb31cef68b
Fix Gracefull Roll chance being null
2013-01-23 16:14:12 +01:00
bm01
2a89e912f8
Removed debugging code left behind
2013-01-22 23:49:06 +01:00
bm01
ee91ed8708
Fixed sideway logs handling
2013-01-22 23:44:53 +01:00
bm01
69475f92c7
Catch this
2013-01-22 22:24:53 +01:00
bm01
dc2452231d
Abstract Woodcutting
2013-01-22 22:04:05 +01:00
bm01
1bbb245e32
More work on Woodcutting and Tree Feller
2013-01-22 21:51:07 +01:00
GJ
6b0e7a9c61
Major refactoring. This WILL break any mcMMO-related plugin that
...
does not properly hook into the API classes.
This consolidates the skill-related classes into their own individual
packages, and moves several misc skill classes into the main Skill
package as well. This also moves all Party & Spout related files into
their own respective packages as well.
2013-01-22 12:43:25 -05:00
GJ
00d50953ad
Update /repair command
2013-01-22 12:26:35 -05:00
GJ
397dd96383
Update Woodcutting command.
2013-01-22 11:52:06 -05:00
GJ
cac5f15a37
I broke the build...
2013-01-22 11:19:26 -05:00
GJ
74c32c4e59
Cleanup of UnarmedCommand.java
2013-01-22 11:18:12 -05:00
GJ
e048a6d0d0
Cleanup Swords & Taming commands
2013-01-22 10:48:10 -05:00
GJ
65d71db72f
Cleaning up Herbalism & Mining commands.
2013-01-22 02:20:05 -05:00
GJ
b4fffe154d
Shoulda been a double.
2013-01-22 01:57:48 -05:00
GJ
716c4d3783
Fixed Woodcutting accidentally using Mining double drop values.
2013-01-22 01:56:54 -05:00
GJ
5a9ca96a0f
Cleanup of HerbalismCommand, added config options for Hylian Luck
2013-01-22 01:52:34 -05:00
GJ
176ffcc3d1
Cleanup on FishingCommand, split Farmer's Diet & Fisherman's Diet into
...
distinct config values. Fixes #556
2013-01-22 00:47:56 -05:00
GJ
3cc9672ff3
Fixed an inverted check on Impact.
2013-01-21 23:03:14 -05:00
bm01
946d845987
Fixed the merge, I think
2013-01-22 02:43:49 +01:00
bm01
f0f7dee3c2
Optimized Tree Feller
...
And cleaned up WoodCutting a little
2013-01-22 02:39:13 +01:00
GJ
ddbf5a559a
Copy-pasta code is bad.
2013-01-21 20:01:33 -05:00
GJ
67fd45ef25
Avoid a few unnecessary calls.
2013-01-21 19:36:15 -05:00
GJ
0711454e31
General cleanup to satisfy my OCD a little while longer.
2013-01-21 17:22:54 -05:00
GJ
299c7ff804
Because McMMOPlayerUnarmEvent is a silly name.
2013-01-21 12:35:38 -05:00
NuclearW
0276294569
Add McMMOPlayerUnarmEvent
2013-01-21 03:53:25 -05:00
bm01
e7ceef479e
Removed extra durability loss from Leaf Blower
2013-01-19 20:47:15 +01:00
bm01
0545ed434d
Removed unnecessary calls
2013-01-19 20:44:51 +01:00
GJ
b9bf3f96d2
Added new Hylian Luck skill to Herbalism.
2013-01-19 12:33:57 -05:00
GJ
0dfd2fe9ef
ACTUALLY fix issue with fishing enchantments. Also updated the
...
changelog.
2013-01-17 18:25:26 -05:00
GJ
5830bf461d
Fix fishing not handling enchants right.
2013-01-17 15:32:28 -05:00
GJ
857bb00c8a
Because this way is easier.
2013-01-17 15:20:20 -05:00
nossr50
abb0184e49
Fixed a bug where Triple Drops wouldn't happen.
2013-01-17 11:23:52 -08:00
nossr50
b11762da99
Absolutely no reason to do it that way
2013-01-17 10:28:31 -08:00
GJ
0262255bea
Fixed bug where Skull Splitter would be applied twice.
2013-01-17 12:04:56 -05:00
GJ
a9c722de67
Wrapping up the localizations... though I'm sure there are probably
...
still some that got missed.
2013-01-17 11:02:55 -05:00
GJ
faa22002e3
Start of major localization update.
2013-01-16 14:03:31 -05:00
GJ
9204b23d51
Allow configuration of Skull Splitter damage modifier.
2013-01-15 17:00:56 -05:00
GJ
5bdf4b5dcc
Finish Axe restructuring, modify a little bit of Swords stuff as well.
2013-01-15 16:38:44 -05:00
GJ
f40433fc99
Axe restructuring.
2013-01-15 16:16:46 -05:00
GJ
bbbd12d461
Fix issue where Tree Feller affected player-placed blocks. Fixes #507
2013-01-15 13:13:20 -05:00
GJ
ec6a7e79d6
ACTUALLY fix issue with TNT damage - Fixes #510 .
2013-01-15 10:34:13 -05:00
GJ
630b64462e
Fixed a bug with Blast Mining incorrectly handling reduced TNT damage.
2013-01-15 10:01:15 -05:00
GJ
72b8eb85b0
NPEs are bad and I should feel bad.
2013-01-14 17:38:47 -05:00
GJ
83855268d5
To keep me from accidentally deleting this again...
2013-01-14 17:23:39 -05:00
GJ
724aad8504
Allow for a chance at 3x drops from Super Breaker again - Addresses #456
2013-01-14 17:11:35 -05:00
GJ
348887f799
Refactoring, removing useless variables, changing ints to doubles, etc.
2013-01-14 12:41:39 -05:00
GJ
0587741437
More Axe restructuring, changing some config values from int to double,
...
added function to duplicate code.
2013-01-14 11:55:43 -05:00
GJ
00ee75bb29
Remove unused imports.
2013-01-14 00:26:18 -05:00
Glitchfinder
f73d0dbc40
Missed one of the calls.
2013-01-13 18:24:43 -08:00
Glitchfinder
395e243730
Converting calls again.
2013-01-13 18:23:11 -08:00
Glitchfinder
eb2c552316
Bukkit Devs renamed a method and didn't leave a mirror in the old name.
2013-01-13 17:56:05 -08:00
gmcferrin
ea97dcdb55
Fix missing Spout check. Will switch to Bukkit sounds soon.
2013-01-12 19:17:29 -05:00
TfT_02
54ef85e1a3
Fishing in the rain gives you a higher chance of getting magical items!
2013-01-13 00:26:18 +01:00
gmcferrin
2ed5e8e717
Fixes issue #315 - Fishing will now properly respect min/max levels in
...
treasures.yml
2013-01-11 17:55:54 -05:00
gmcferrin
487e67d208
Because NuclearW said I was wrong...
...
"Final is final unless it's not really final."
2013-01-10 23:15:53 -05:00
gmcferrin
a8abfdae5e
Start Axe restructuring.
2013-01-10 22:39:08 -05:00
TfT_02
6cdb27aef0
Moving Fishing and Arcance Forging settings to advanced.yml
2013-01-11 00:21:18 +01:00
TfT_02
085a25306c
Make the MagicHunter Chance configurable
2013-01-10 22:54:57 +01:00
gmcferrin
93180ccd06
Because 50% was too high.
2013-01-10 15:28:02 -05:00
gmcferrin
f43b4ebdc5
Clarify the way fishing enchantments work - need to fix command display
...
still.
2013-01-10 15:22:47 -05:00
gmcferrin
74c3ce0552
Support for auto-replanting cocoa.
2013-01-10 12:55:54 -05:00
gmcferrin
bcfec56300
Because it's not just Citizens that uses NPCs.
2013-01-10 12:18:48 -05:00
gmcferrin
621f739831
Axes restructuring, part 1
2013-01-10 09:26:28 -05:00
gmcferrin
607d2b8bd7
Abstraction is good.
2013-01-10 09:26:01 -05:00
gmcferrin
c1463c3257
Because we don't need that many Random objects.
2013-01-09 23:46:35 -05:00
gmcferrin
e193da2cd7
My OCD made me do it.
2013-01-09 23:03:17 -05:00
gmcferrin
8b9432d1d9
So many useless else statements...
2013-01-09 22:43:21 -05:00
gmcferrin
1055186e86
Finished Mining restructuring.
2013-01-09 21:44:53 -05:00
gmcferrin
1839f6ce8c
Restructuring Blast Mining.
2013-01-09 19:45:34 -05:00
TfT_02
fca095689e
Fixed wrongly named config node
2013-01-09 16:54:01 +01:00
Glitchfinder
46bf22e36b
Merging TfT_02's branch in.
2013-01-08 17:28:09 -08:00
gmcferrin
003c89c3a4
Missed one.
2013-01-08 18:54:22 -05:00
gmcferrin
793bd04afe
Fixing merge issues, again.
2013-01-08 18:52:50 -05:00
gmcferrin
0249ae2724
Handle potions better.
2013-01-08 18:46:26 -05:00
Glitchfinder
e5592c5da8
Resolving minor merge conflict.
2013-01-08 15:27:59 -08:00
Glitchfinder
b0500332bc
Finishing up backwards compatibility for dye colors.
2013-01-08 15:14:12 -08:00
gmcferrin
78b8ac663e
A little more cleanup.
2013-01-08 18:09:13 -05:00
Glitchfinder
e41ab3ac18
Merge pull request #457 from Glitchfinder/master
...
Minor updates.
2013-01-08 14:50:39 -08:00
gmcferrin
36d97bbcaf
Store the scheduler.
2013-01-08 17:45:52 -05:00
gmcferrin
f3c89fe48b
Archery cleanup.
2013-01-08 17:44:05 -05:00
Glitchfinder
9b31520684
Basic error check for backwards compatibility with dye colors.
2013-01-08 14:39:08 -08:00
gmcferrin
b78299bbbd
Metadata does nothing, apparently.
2013-01-08 17:24:09 -05:00
gmcferrin
e0da506d1a
Protected, not public.
2013-01-08 16:10:19 -05:00
gmcferrin
d2f6191615
Starting on cleaning up null checks & type casting
2013-01-08 16:07:29 -05:00
gmcferrin
7c211fa50c
Fix for Super Breaker & Giga Drill Breaker double/triple drops.
2013-01-08 14:56:31 -05:00
gmcferrin
ccfe1181be
More mining restructuring.
2013-01-08 12:52:16 -05:00
gmcferrin
85fb12a4ec
Use new Bukkit DyeColor data.
2013-01-08 11:31:07 -05:00
gmcferrin
84994c2b2f
Remove a few unused imports & variables.
2013-01-08 10:50:37 -05:00
gmcferrin
753652dcf9
More mining updates.
2013-01-08 10:46:19 -05:00
gmcferrin
b99d261084
Remove our workaround for NBT tag issues since Bukkit fixed it.
2013-01-08 10:45:49 -05:00
gmcferrin
aee4bcd65e
More mining restructuring.
2013-01-08 09:42:37 -05:00
gmcferrin
159ec3f04d
Pass location & type as params, rather than calling inside the function.
2013-01-08 09:35:41 -05:00
gmcferrin
3d38892f7e
Only call for an instance of Config once.
2013-01-07 17:40:33 -05:00