v0.3.0: tweaked sungrass & earthroot, effects now only work on the hero
This commit is contained in:
parent
39f140a4f5
commit
64f8761b07
|
@ -44,7 +44,7 @@ public class Earthroot extends Plant {
|
|||
public void activate( Char ch ) {
|
||||
super.activate( ch );
|
||||
|
||||
if (ch != null) {
|
||||
if (ch == Dungeon.hero) {
|
||||
Buff.affect( ch, Armor.class ).level = ch.HT;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ public class Sungrass extends Plant {
|
|||
public void activate( Char ch ) {
|
||||
super.activate( ch );
|
||||
|
||||
if (ch != null) {
|
||||
if (ch == Dungeon.hero) {
|
||||
Buff.affect( ch, Health.class ).level = ch.HT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user