mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-12-18 23:47:11 +01:00
Important updates
You're now able to use runes and spells on blocking items that are movable #30 Spell effects no longer appear on stairs like RealOTS.
This commit is contained in:
@@ -175,7 +175,11 @@ ReturnValue Combat::canDoCombat(Creature* caster, Tile* tile, bool aggressive)
|
||||
return RETURNVALUE_NOTENOUGHROOM;
|
||||
}
|
||||
|
||||
if (tile->hasProperty(CONST_PROP_IMMOVABLEBLOCKSOLID) && tile->hasProperty(CONST_PROP_UNLAY)) {
|
||||
/*if (tile->hasProperty(CONST_PROP_IMMOVABLEBLOCKSOLID) && tile->hasProperty(CONST_PROP_UNLAY)) {
|
||||
return RETURNVALUE_NOTENOUGHROOM;
|
||||
}*/
|
||||
|
||||
if (tile->hasProperty(CONST_PROP_IMMOVABLEBLOCKPATH)) {
|
||||
return RETURNVALUE_NOTENOUGHROOM;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user