Jump to content

luanluciano93

Hero
  • Content Count

    5673
  • Joined

  • Last visited

  • Days Won

    67

luanluciano93 last won the day on July 25

luanluciano93 had the most liked content!

About luanluciano93

  • Rank
    Celestial
  • Birthday 01/14/1993

Profile Information

  • I am
    Tibiano

Recent Profile Visitors

14968 profile views
  1. O que é square? Poderia explicar melhor o que faz e colocar uma imagem também.
  2. fiz esse para tfs 1.x: https://github.com/luanluciano93/alunia/blob/master/data/movements/scripts/custom/trainer_enter.lua https://github.com/luanluciano93/alunia/blob/master/data/movements/scripts/custom/trainer_leave.lua
  3. tenta mudar o return true do final do script para return false
  4. @yuriowns você deve colocar o ACTION ID de entrada no TELEPORT de entrada e o ACTION ID de saída no TEPORT DE SAÍDA.
  5. CREATE TABLE IF NOT EXISTS `z_ots_comunication` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `type` varchar(255) NOT NULL, `action` varchar(255) NOT NULL, `param1` varchar(255) NOT NULL, `param2` varchar(255) NOT NULL, `param3` varchar(255) NOT NULL, `param4` varchar(255) NOT NULL, `param5` varchar(255) NOT NULL, `param6` varchar(255) NOT NULL, `param7` varchar(255) NOT NULL, `delete_it` int(2) NOT NULL DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=230 ;
  6. Eu uso desta forma ... em events/scripts/creature.lua: Add a função: -- Regen Stamina in Trainer local staminaBonus = { period = 180000, -- Period in milliseconds bonus = 1, -- gain stamina events = {} } local function addStamina(name) local player = Player(name) if not player then staminaBonus.events[name] = nil else local target = player:getTarget() if not target or target:getName() ~= "Trainer" then staminaBonus.events[name] = nil else player:setStamina(player:getStamina() + staminaBonus.bonus)
  7. Você tem que coloca-lo na pasta script pq é um revscript.
  8. local addOutfit = Action() function addOutfit.onUse(player, item, fromPosition, target, toPosition, isHotkey) player:addOutfitAddon(430, 1) player:addOutfitAddon(431, 2) player:say("You gained a mont x.", TALKTYPE_MONSTER_SAY, false, player) item:remove(1) return true end addOutfit:id(9999) addOutfit:register()
×
×
  • Create New...

Important Information

Confirmação de Termo