Closed mr0lo closed 5 years ago
for normal used destroy rune must used this
combat.cpp uncomment
if (tile->hasProperty(CONST_PROP_IMMOVABLEBLOCKSOLID) && tile->hasProperty(CONST_PROP_UNLAY)) { return RETURNVALUE_NOTENOUGHROOM; }
and comment
/*if (tile->hasProperty(CONST_PROP_IMMOVABLEBLOCKPATH) && tile->hasProperty(CONST_PROP_IMMOVABLENOFIELDBLOCKPATH)) { return RETURNVALUE_NOTENOUGHROOM; }*/
spells.cpp comment
//} else if (blockingSolid && tile->hasProperty(CONST_PROP_BLOCKPROJECTILE) && tile->hasProperty(CONST_PROP_IMMOVABLEBLOCKSOLID)) {
uncomment
} else if (blockingSolid && tile->hasFlag(TILESTATE_BLOCKSOLID)) {
this is code from before this update https://github.com/TwistedScorpio/Nostalrius/commit/b7a150f324d1c00b75e5a7d532d3ca7ab672cb2e and this is fix destroy runes (and other runes) to work normal, but used sd on pot gives a message "There is not enough room."
cant use destroy rune if fire is on rope place "There is not enough room."