Search results

  1. C

    TFS 1.X+ Help new inventory slot TFS 1.3 and OTClient

    Ring2Slot < InventoryItem id: slot12 image-source: /images/game/slots/ring2 &position: {x=65535, y=12, z=0} $on: image-source: /images/game/slots/ring2-blessed WingSlot < InventoryItem id: slot13 image-source: /images/game/slots/wing &position: {x=65535, y=13, z=0} $on...
  2. C

    tp spell

    function onCastSpell(cid, var) local target = var.number if isPlayer(target) then doTeleportThing(target, {x=620, y=936, z=7}, false) return true end return false end add needtarget="1" on spell xml
  3. C

    tp spell

    Editted do not forget the target from xml of monster <attacks> <attack name="kickers" interval="1000" chance="100" range="7" radius="3" target="1"/> </attacks>
  4. C

    tp spell

    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HITAREA) setCombatParam(combat, COMBAT_PARAM_USECHARGES, true) local area = createCombatArea(AREA_SQUARE1X1) setCombatArea(combat, area)...