Make key items (flower and key staff)
Implement fog door for unlockable doors
This commit is contained in:
@@ -201,4 +201,24 @@ public class RevivePlayerAugment : IAugmentType
|
||||
else
|
||||
_player.AutoRevive = false;
|
||||
}
|
||||
}
|
||||
|
||||
public class KeyStaffAugment : IAugmentType
|
||||
{
|
||||
private readonly IPlayer _player;
|
||||
|
||||
public KeyStaffAugment(IPlayer player)
|
||||
{
|
||||
_player = player;
|
||||
}
|
||||
|
||||
public void Apply()
|
||||
{
|
||||
_player.CanOpenDoors = true;
|
||||
}
|
||||
|
||||
public void Remove()
|
||||
{
|
||||
_player.CanOpenDoors &= false;
|
||||
}
|
||||
}
|
||||
@@ -17,5 +17,6 @@ public enum JewelTags
|
||||
ReviveUserOnce,
|
||||
TelluricElement,
|
||||
IncreaseAtkDefLuck,
|
||||
IncreaseLuck
|
||||
IncreaseLuck,
|
||||
KeyStaff
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user