Ir para conteúdo

pergher

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    pergher deu reputação a Sh0z em Regeneração de Mana nos Trainers   
    tenta assim
     
    <attack name="manadrain" interval="1000" chance="7" range="7" min="900" max="10000">
        <attribute key="shootEffect" value="energy" />
        <attribute key="areaEffect" value="poff" />
    </attack>
               
     
  2. Gostei
    pergher deu reputação a Sh0z em Regeneração de Mana nos Trainers   
    Abre o rme e vê a posição de cada piso que os players vai ficar, assim tu configura como desejar
  3. Gostei
    pergher deu reputação a L3K0T em Regeneração de Mana nos Trainers   
    Este tópico foi movido para a seção de Suporte Otserv.
  4. Gostei
    @pergher  testa esse script do changegold pra tfs 1.2
     
    actions.xml
    <action itemid="2148" script="other/changegold.lua" /> <action itemid="2152" script="other/changegold.lua" /> <action itemid="2160" script="other/changegold.lua" />  
    changegold.lua
    local config = { [ITEM_GOLD_COIN] = {changeTo = ITEM_PLATINUM_COIN}, [ITEM_PLATINUM_COIN] = {changeBack = ITEM_GOLD_COIN, changeTo = ITEM_CRYSTAL_COIN}, [ITEM_CRYSTAL_COIN] = {changeBack = ITEM_PLATINUM_COIN} } function onUse(player, item, fromPosition, target, toPosition, isHotkey) local coin = config[item:getId()] if coin.changeTo and item.type == 100 then item:remove() player:addItem(coin.changeTo, 1) elseif coin.changeBack then item:remove(1) player:addItem(coin.changeBack, 100) else return false end return true end  
  5. Gostei
    Executar isso na database que vc criou em SQL e colocar um por um.
  6. Gostei
    Adicionar isso no base de dado lembrando tem que adiciionar um por um se copiar todo e colar lá não vai funcionar.
    ALTER TABLE `players` ADD COLUMN `skill_critical_hit_chance` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_critical_hit_chance_tries` bigint(20) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_critical_hit_damage` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_critical_hit_damage_tries` bigint(20) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_life_leech_chance` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_life_leech_chance_tries` bigint(20) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_life_leech_amount` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_life_leech_amount_tries` bigint(20) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_mana_leech_chance` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_mana_leech_chance_tries` bigint(20) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_mana_leech_amount` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_mana_leech_amount_tries` bigint(20) unsigned NOT NULL DEFAULT 0 Ajudei? deixa +REP !

Informação Importante

Confirmação de Termo