Ezzz-dev / Nostalrius

Nostalrius is a 7.7 Tibia Clone Project based on The Forgotten Server 1.2 and CipSoft files.
99 stars 67 forks source link

fire on rope place #49

Closed mr0lo closed 5 years ago

mr0lo commented 5 years ago

cant use destroy rune if fire is on rope place "There is not enough room."

mr0lo commented 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."