mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-25 20:23:12 +00:00
Merge pull request #197 from jruderman/f5
Kraken Tentacle attacks now obey Warp restrictions
This commit is contained in:
commit
d7474b23a1
@ -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…
x
Reference in New Issue
Block a user