v3.0.0: fixed minor errors with some spells and action indicator
This commit is contained in:
+1
@@ -139,6 +139,7 @@ public abstract class ClericSpell {
|
|||||||
spells.add(RecallGlyph.INSTANCE);
|
spells.add(RecallGlyph.INSTANCE);
|
||||||
spells.add(Sunray.INSTANCE);
|
spells.add(Sunray.INSTANCE);
|
||||||
spells.add(DivineSense.INSTANCE);
|
spells.add(DivineSense.INSTANCE);
|
||||||
|
spells.add(BlessSpell.INSTANCE);
|
||||||
spells.add(Cleanse.INSTANCE);
|
spells.add(Cleanse.INSTANCE);
|
||||||
spells.add(Radiance.INSTANCE);
|
spells.add(Radiance.INSTANCE);
|
||||||
spells.add(HolyLance.INSTANCE);
|
spells.add(HolyLance.INSTANCE);
|
||||||
|
|||||||
-5
@@ -28,7 +28,6 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Regeneration;
|
|||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Talent;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Talent;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.spells.ClericSpell;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.spells.ClericSpell;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.spells.DetectCurse;
|
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.spells.TargetedClericSpell;
|
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.spells.TargetedClericSpell;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
|
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
|
||||||
import com.shatteredpixel.shatteredpixeldungeon.items.bags.Bag;
|
import com.shatteredpixel.shatteredpixeldungeon.items.bags.Bag;
|
||||||
@@ -307,12 +306,8 @@ public class HolyTome extends Artifact {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int indicatorColor() {
|
public int indicatorColor() {
|
||||||
if (quickSpell == DetectCurse.INSTANCE){
|
|
||||||
return 0x00A0FF;
|
|
||||||
} else {
|
|
||||||
return 0x002157;
|
return 0x002157;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAction() {
|
public void doAction() {
|
||||||
|
|||||||
Reference in New Issue
Block a user