Skip to content

Angles' Magic Wall Rune #709

Description

@dfsuno
Image

Doing more tests, besides the fact that I can't place the magic wall in the square where I put the red x's, it also doesn't attack the player if they have a wand or something from a distance. The wall detects that there is an item next to the magic wall that prevents the magic wall from being placed and basic attacks from passing through.

On the other hand, the blue circles can be used to launch the magic wall, and players or monsters will take damage if attacked; the circles and crosses are only used for reference.

I'm new to this, but I think the problem comes from here; it's not just the magic wall, it's any wall or solid item in front of me that doesn't give any angle at all.

map.cpp

if (tile && tile->hasProperty(CONST_PROP_BLOCKPROJECTILE)) {
return false;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions