From eab87af82c6303622be8edd26129245724e18502 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 3 Sep 2014 17:18:30 -0400 Subject: [PATCH] V0.2.0: Created Master Thieves' Armband & tied into drop logic. --- .../actors/mobs/Thief.java | 4 ++-- .../items/artifacts/MasterThievesArmband.java | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/MasterThievesArmband.java diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java index 85dde9a14..95ca71dab 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Thief.java @@ -23,7 +23,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Terror; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; import com.shatteredpixel.shatteredpixeldungeon.items.Gold; import com.shatteredpixel.shatteredpixeldungeon.items.Item; -import com.shatteredpixel.shatteredpixeldungeon.items.rings.RingOfHaggler; +import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.MasterThievesArmband; import com.shatteredpixel.shatteredpixeldungeon.sprites.CharSprite; import com.shatteredpixel.shatteredpixeldungeon.sprites.ThiefSprite; import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; @@ -48,7 +48,7 @@ public class Thief extends Mob { EXP = 5; maxLvl = 10; - loot = RingOfHaggler.class; + loot = MasterThievesArmband.class; lootChance = 0.01f; } diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/MasterThievesArmband.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/MasterThievesArmband.java new file mode 100644 index 000000000..37a3e9d68 --- /dev/null +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/MasterThievesArmband.java @@ -0,0 +1,24 @@ +package com.shatteredpixel.shatteredpixeldungeon.items.artifacts; + +import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet; + +/** + * Created by debenhame on 03/09/2014. + */ +public class MasterThievesArmband extends Artifact { + + { + name = "Master Thieves' Armband"; + image = ItemSpriteSheet.ARTIFACT_ARMBAND; + level = 0; + levelCap = 10; + charge = 0; + chargeCap = 100; + //partialcharge is unused + } + + + public class Thievery extends ArtifactBuff{ + + } +}