should be able to cast a spell while standing by the stairs etc.
ReturnValue Combat::canDoCombat(Creature* caster, Tile* tile, bool aggressive)
if (tile->hasFlag(TILESTATE_FLOORCHANGE)) {
return RETURNVALUE_NOTENOUGHROOM;
}
ReturnValue Combat::canDoCombat(Creature* caster, Tile* tile, bool aggressive)
if (tile->hasFlag(TILESTATE_FLOORCHANGE)) {
return RETURNVALUE_NOTENOUGHROOM;
}
ReturnValue Game::internalAddItem(Cylinder* toCylinder, Item* item, int32_t index,
uint32_t flags, bool test, uint32_t& remainderCount)
if (!toCylinder || !item) {
return RETURNVALUE_NOTPOSSIBLE;
}
Tile* tile = toCylinder->getTile();
if (tile && tile->hasFlag(TILESTATE_FLOORCHANGE) && item->isMagicField()) {
return RETURNVALUE_NOTPOSSIBLE;
}
ReturnValue RuneSpell::canExecuteAction(const Player* player, const Position& to
Tile* targetTile = g_game.map.getTile(toPos);
if (!targetTile || targetTile->hasFlag(TILESTATE_BLOCKSOLID) || targetTile->hasFlag(TILESTATE_FLOORCHANGE)) {
return RETURNVALUE_NOTENOUGHROOM;
}
Although both changes are required, otherwise you will be able to create fire fields on other floors shooting fire bombs around the stairs.That seems like a better solution all together.
7.7: fields is only created around the floorchange tile, but you can still see the distance effect from shooting the runeWhen I come to think of it, what on earth happens if you shoot a magic wall or a firebomb on a stair? Does the field take the stairs?
would you really be able to throw a fire field/magic wall directly onto the stairs?7.7: fields is only created around the floorchange tile, but you can still see the distance effect from shooting the rune
That's correct, the Magic wall is not created, and the charge of the rune is not removed. You have any Idea How to not remove the charge of the rune?Emil seem to be correct about 7.7, you can shoot AOE (GFB and w/e) on stairs. When using a field rune like magic wall only the shoot effect is visible and the magic wall is not created. This might have changed in newer versions of Tibia but only god knows when.
Just tested in No-Pvp worlds, and in Open PVP worlds, the shoot effect is visible, but a message says: not enough room, and the charge is not removed., when throwing a magic wall.nah the charge gets removed
Just tested in No-Pvp worlds, and in Open PVP worlds, the shoot effect is visible, but a message says: not enough room, and the charge is not removed., when throwing a magic wall.
7.7: fields is only created around the floorchange tile, but you can still see the distance effect from shooting the rune