mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
Kraken Tentacle attacks now obey Warp restrictions
This commit is contained in:
parent
4799f7c5f7
commit
15f90f194e
@ -2977,6 +2977,7 @@ EX namespace kraken {
|
|||||||
for(int i=0; i<isize(dcal); i++) {
|
for(int i=0; i<isize(dcal); i++) {
|
||||||
cell *c = dcal[i];
|
cell *c = dcal[i];
|
||||||
if(c->monst == moKrakenT && !c->stuntime) forCellEx(c2, c) {
|
if(c->monst == moKrakenT && !c->stuntime) forCellEx(c2, c) {
|
||||||
|
if (!logical_adjacent(c2,moKrakenT,c)) continue;
|
||||||
bool dboat = false;
|
bool dboat = false;
|
||||||
if(c2->monst && canAttack(c, moKrakenT, c2, c2->monst, AF_ONLY_FBUG)) {
|
if(c2->monst && canAttack(c, moKrakenT, c2, c2->monst, AF_ONLY_FBUG)) {
|
||||||
attackMonster(c2, AF_NORMAL | AF_MSG, c->monst);
|
attackMonster(c2, AF_NORMAL | AF_MSG, c->monst);
|
||||||
|
Loading…
Reference in New Issue
Block a user