mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-17 22:25:12 +00:00
added flags for Dice
This commit is contained in:
@@ -384,4 +384,12 @@ EX bool is_paired(eMonster m) {
|
|||||||
return among(m, moPair, moNorthPole, moSouthPole);
|
return among(m, moPair, moNorthPole, moSouthPole);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EX bool isDie(eMonster m) {
|
||||||
|
return among(m, moAnimatedDie, moAngryDie);
|
||||||
|
}
|
||||||
|
|
||||||
|
EX bool isDie(eWall w) {
|
||||||
|
return among(w, waRichDie, waHappyDie);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user