v1.4.0: added more text to the annoying curse
This commit is contained in:
@@ -1360,6 +1360,14 @@ items.weapon.curses.annoying.msg_2=YEAH, GET THEM!
|
||||
items.weapon.curses.annoying.msg_3=HEY, LISTEN!
|
||||
items.weapon.curses.annoying.msg_4=ARE WE AT THE BOSS YET!?
|
||||
items.weapon.curses.annoying.msg_5=OUCH, DON'T SWING ME SO HARD!
|
||||
items.weapon.curses.annoying.msg_6=DIE, INSECT!
|
||||
items.weapon.curses.annoying.msg_7=WHEEEEEEEEEEEEEEE!
|
||||
items.weapon.curses.annoying.msg_8=CAN WE TAKE A BREAK!?
|
||||
items.weapon.curses.annoying.msg_9=I'M A FORCE-A-NATURE!
|
||||
items.weapon.curses.annoying.msg_10=WELL STRUCK!
|
||||
items.weapon.curses.annoying.msg_11=I didn't want to be a weapon, I wanted to be a lumberjack's axe.
|
||||
items.weapon.curses.annoying.msg_12=Remember, overconfidence is a slow and insidious killer.
|
||||
items.weapon.curses.annoying.msg_13=ALL YOUR BASE ARE BELONG TO US!
|
||||
items.weapon.curses.annoying.desc=Annoying weapons are capable of speech, but they're a bit too energetic. They will often draw attention to you without meaning to.
|
||||
|
||||
items.weapon.curses.dazzling.name=dazzling %s
|
||||
|
||||
@@ -49,7 +49,12 @@ public class Annoying extends Weapon.Enchantment {
|
||||
attacker.sprite.centerEmitter().start(Speck.factory(Speck.SCREAM), 0.3f, 3);
|
||||
Sample.INSTANCE.play(Assets.Sounds.MIMIC);
|
||||
Invisibility.dispel();
|
||||
GLog.n(Messages.get(this, "msg_" + (Random.Int(5)+1)));
|
||||
//~1/100 for each rare line, ~1/10 for each common line
|
||||
if (Random.Int(33) != 0) {
|
||||
GLog.n(Messages.get(this, "msg_" + Random.IntRange(1, 10)));
|
||||
} else {
|
||||
GLog.n(Messages.get(this, "msg_" + Random.IntRange(11, 13)));
|
||||
}
|
||||
}
|
||||
|
||||
return damage;
|
||||
|
||||
Reference in New Issue
Block a user