1
0
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:
Zeno Rogue
2017-08-14 21:32:02 +02:00
parent 02af85a871
commit b8f7675878
4 changed files with 55 additions and 6 deletions

View File

@@ -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) {