5e83632004
Changed AbilityTypes from enum to constants
2014-08-24 10:41:55 -07:00
ebd02dc30e
Turned skilltypes into constants instead of enum
2014-08-23 14:14:36 -07:00
f10a1d0ffb
Added McMMOPlayerPreDeathPenaltyEvent and McMMOPlayerStatLossEvent
...
McMMOPlayerPreDeathPenaltyEvent is fired before hardcore calculations
take place, use this if you want to cancel hardcore penalties.
Use McMMOPlayerVampirismEvent and McMMOPlayerStatLossEvent when you
want to know how many levels or experience the player lost or if you
want to modify this.
2014-08-16 21:13:46 -06:00
809779e508
Added McMMOPlayerVampirismEvent
...
Expands API possibilities regarding death penalty features.
2014-08-16 21:13:39 -06:00
e7e62b8d40
SecondaryAbilityEvent now implements Cancellable
...
Fire SecondaryAbilityEvent for abilities with static chances
Also cleanup some of the event handling for Armor Impact, Greater
Impact and Fast Food
2014-07-02 11:25:13 +02:00
906609696b
Workaround a CB bug by tracking piston events
...
There is a bug in Craftbukkit that causes piston events to fire
multiple times. We need to keep track of the extend and retract events
to see which piston events should be processed.
2014-06-15 14:26:02 +02:00
93d63dbca5
Minor cleanup of imports
2014-05-18 17:06:50 +02:00
9f53426511
Added API to XP events to get XP gain reason
2014-04-18 22:32:32 +02:00
818962e668
Added party levels
...
Parties now have XP and Levels. Party features such as party teleport and party chat have to be unlocked before they can be used by the party members
2014-01-17 18:56:27 +01:00
97b9214d6e
Wrap these inside McMMOPlayer for easier access.
2013-10-29 11:02:57 -04:00
3be443c63c
Cleanup some XP functions, remove unused scoreboard values, minor refactoring.
2013-10-29 09:49:41 -04:00
60d69e3cc4
Create wrapper to handle all PTP data.
2013-10-28 15:49:48 -04:00
810c74dc2a
Fixed bug which prevented players from leveling up
...
Any affected players will get their levels back when they gain some
more XP in that particular skill.
2013-10-19 14:08:04 +02:00
e8e2dcff46
-levelsChanged instead of - levelsChanged
2013-10-18 15:26:15 +02:00
b8c1f868f5
Event updates
2013-10-18 08:54:06 -04:00
468fbdab56
SkillUtils cleanup, EventUtils creation
...
Move some functions in SkillUtils to more relevant locations.
Begin work on utility class to handle all event calls.
2013-10-15 13:03:33 -04:00