mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 09:57:41 +00:00
Automatic evoking of Beauty/Freedom/Sword/SwordII on Inventory
This commit is contained in:
6
game.cpp
6
game.cpp
@@ -4415,10 +4415,14 @@ bool swordAttack(cell *mt, eMonster who, cell *c, int bb) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void swordAttackStatic(int bb) {
|
||||
swordAttack(cwt.c, moPlayer, sword::pos(multi::cpid, bb), bb);
|
||||
}
|
||||
|
||||
void swordAttackStatic() {
|
||||
for(int bb = 0; bb < 2; bb++)
|
||||
if(sword::orbcount(bb))
|
||||
swordAttack(cwt.c, moPlayer, sword::pos(multi::cpid, bb), bb);
|
||||
swordAttackStatic(bb);
|
||||
}
|
||||
|
||||
void stabbingAttack(cell *mf, cell *mt, eMonster who, int bonuskill) {
|
||||
|
Reference in New Issue
Block a user