Skip to content

Instantly share code, notes, and snippets.

@robxu9
Created May 1, 2012 05:02
Show Gist options
  • Save robxu9/2565217 to your computer and use it in GitHub Desktop.
Save robxu9/2565217 to your computer and use it in GitHub Desktop.
MineQuest - Defender Class File
#Mon Apr 30 18:16:01 EDT 2012
# basic properties
# User Friendly Name (ID is the filename w/o the .cspec)
displayname=Defender
# Differ from base health by...? (base health == 100)
healthdiff=-5
# Differ from power health by...? (base power == 100)
powerdiff=5
# Differ from exp health by...? (base exp == 100)
expdiff=-2
# List of abilities this class has
abilities=volley,rangedheal,lightningstrike
# Straight from the Javadoc:
#/**
# * Return the amount of damage that this cause would
# * do to a person of this class from their base damage.
# * Will vary damage between 0.5*value and 1*value.
# * @see org.bukkit.event.entity.EntityDamageEvent.DamageCause
# * @param d Damage Cause
# * @return Amount of Damage, out of base damage value.
# */
# You can see here for the damage types:
# http://jd.bukkit.org/apidocs/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
DMG_BLOCK_EXPLOSION=15.0
DMG_CONTACT=19.0
DMG_CUSTOM=12.0
DMG_DROWNING=28.0
DMG_ENTITY_ATTACK=40.0
DMG_ENTITY_EXPLOSION=30.0
DMG_FALL=35.0
DMG_FIRE=20.0
DMG_FIRE_TICK=28.0
DMG_LAVA=75.0
DMG_LIGHTNING=5.0
DMG_MAGIC=18.0
DMG_MELTING=0.0
DMG_POISON=45.0
DMG_PROJECTILE=15.0
DMG_STARVATION=20.0
DMG_SUFFOCATION=50.0
DMG_SUICIDE=999999999999.0
DMG_VOID=50.0
# Again, from the JavaDoc
#/**
# * Return the amount of experience that this
# * entity type would drop upon death by a player
# * of this class from their base experience.
# * Will vary experience between 0.5*value and 1*value.
# * @param e Entity Type
# * @see org.bukkit.entity.EntityType
# * @return Amount of EXP, out of base experience value.
# */
# Entity Types listed here:
# http://jd.bukkit.org/apidocs/org/bukkit/entity/EntityType.html
EXP_drop_LavaSlime=14
EXP_drop_ThrownExpBottle=50
EXP_drop_EyeOfEnderSignal=24
EXP_drop_Sheep=3
EXP_drop_Blaze=45
EXP_drop_Chicken=3
EXP_drop_Ozelot=1
EXP_drop_SmallFireball=3
EXP_drop_Ghast=20
EXP_drop_Cow=2
EXP_drop_Giant=25
EXP_drop_null=0
EXP_drop_MushroomCow=2
EXP_drop_Arrow=15
EXP_drop_Minecart=0
EXP_drop_XPOrb=0
EXP_drop_EnderCrystal=40
EXP_drop_VillagerGolem=20
EXP_drop_Boat=0
EXP_drop_Silverfish=15
EXP_drop_FallingSand=0
EXP_drop_Zombie=12
EXP_drop_Item=0
EXP_drop_Fireball=0
EXP_drop_PigZombie=25
EXP_drop_Wolf=2
EXP_drop_Creeper=10
EXP_drop_SnowMan=0
EXP_drop_EnderDragon=32765
EXP_drop_Squid=2
EXP_drop_Slime=10
EXP_drop_Villager=2
EXP_drop_Spider=10
EXP_drop_Pig=3
EXP_drop_ThrownEnderpearl=0
EXP_drop_Skeleton=15
EXP_drop_Enderman=20
EXP_drop_CaveSpider=18
EXP_drop_PrimedTnt=0
EXP_drop_Painting=0
EXP_drop_Snowball=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment