v0.3.0c: the mage now partially IDs wands after using them
This commit is contained in:
parent
249c9acd96
commit
266ac5752b
|
@ -58,7 +58,8 @@ public enum HeroClass {
|
|||
|
||||
public static final String[] MAG_PERKS = {
|
||||
"Mages start with a unique Staff, which can be imbued with the properties of a wand.",
|
||||
"The Mage's staff can be used as a melee weapon or a wand, and charges faster than a wand.",
|
||||
"The Mage's staff can be used as a melee weapon or a more powerful wand.",
|
||||
"Mages partially identify wands after using them.",
|
||||
"When eaten, any piece of food restores 1 charge for all wands in the inventory.",
|
||||
"Scrolls of Upgrade are identified from the beginning."
|
||||
};
|
||||
|
|
|
@ -19,6 +19,7 @@ package com.shatteredpixel.shatteredpixeldungeon.items.wands;
|
|||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.ScrollOfRecharging;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.melee.MagesStaff;
|
||||
import com.watabou.noosa.audio.Sample;
|
||||
|
@ -239,6 +240,7 @@ public abstract class Wand extends Item {
|
|||
identify();
|
||||
GLog.w( TXT_IDENTIFY, name() );
|
||||
} else {
|
||||
if (curUser.heroClass == HeroClass.MAGE) levelKnown = true;
|
||||
updateQuickslot();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user