mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-05 18:02:24 +00:00
fixed Halloween
This commit is contained in:
@@ -3727,6 +3727,10 @@ EX namespace halloween {
|
||||
EX void getTreat(cell *where) {
|
||||
if(!items[itTreat]) reset();
|
||||
gainItem(itTreat);
|
||||
changes.at_commit(after_treat);
|
||||
}
|
||||
|
||||
EX void after_treat() {
|
||||
farempty()->item = itTreat;
|
||||
int itr = items[itTreat];
|
||||
items[itOrbTime] += 30;
|
||||
|
Reference in New Issue
Block a user