BlackTibia

No estás conectado. Conéctate o registrate

 » Open Tibia » Pedido de Scripts » 

(pedido script) transform 8.6

(pedido script) transform 8.6

#1 (pedido script) transform 8.6 el Sáb Jun 13, 2015 8:57 pm

aldaircruzz


Miembro
hola amigos de blacktibia, quiero saber si alguien podría hacerme un script de transformaciones para knight,druid,paladins y sorcerers.

el script consiste en transformarse en un monstruo a cierto nivel (lv l500) les dare el looktype, y que te suba skills por ejemplo:

el knight se transforma en (looktype : 255) y le sube skills de sword ,axe y shield. yo quiero que les suba 10 de skills
druid se transforma en (looktype : 10) y le sube skills de magic y shield.
mago se transforma en (looktype : 108) y le sube skills de magic y shield.
paladin se transforma en (looktype : 73) y le sube skills de distance y shield

bueno la verdad no se si exista este script. pero quiero que las transformaciones te duren para siempre y si es posible que exista reverts. ejemplo:

knight transform, y cuando ya no quieras usar esta transformacion dices: revert.

no se si mi explico y pues si no existe este script, pueden tirar este post a la basura :p

doy !rep!!

#2 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 6:42 pm

magebbe


Aprendiz
Boom!!!

#3 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 7:23 pm

Dantarrix


Miembro
[Tienes que estar registrado y conectado para ver este vínculo] escribió:hola amigos de blacktibia, quiero saber si alguien podría hacerme un script de transformaciones para knight,druid,paladins y sorcerers.

el script consiste en transformarse en un monstruo a cierto nivel (lv l500) les dare el looktype, y que te suba skills por ejemplo:

el knight se transforma en (looktype : 255) y le sube skills de sword ,axe y shield. yo quiero que les suba 10 de skills
druid se transforma en (looktype : 10) y le sube skills de magic y shield.
mago se transforma en (looktype : 108) y le sube skills de magic y shield.
paladin se transforma en (looktype : 73) y le sube skills de distance y shield

bueno la verdad no se si exista este script. pero quiero que las transformaciones te duren para siempre y si es posible que exista reverts. ejemplo:

knight transform, y cuando ya no quieras usar esta transformacion dices: revert.

no se si mi explico y pues si no existe este script, pueden tirar este post a la basura :p

doy !rep!!

Que yo sepa no existe el script, pero se puede crear jajajaj
De todas formas, para qué quieres que haya revert? Nadie lo usará si la transformación es la que tiene bonus...

#4 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 7:53 pm

[VIP] rafael


Miembro
[Tienes que estar registrado y conectado para ver este vínculo] escribió:
[Tienes que estar registrado y conectado para ver este vínculo] escribió:hola amigos de blacktibia, quiero saber si alguien podría hacerme un script de transformaciones  para knight,druid,paladins y sorcerers.

el script consiste en transformarse en un monstruo  a cierto nivel (lv l500) les dare el looktype, y que te suba skills por ejemplo:

el knight se transforma en (looktype : 255)  y le sube skills de sword ,axe y shield. yo quiero que les suba 10 de skills
druid se transforma en (looktype : 10) y le sube skills de magic y shield.
mago se transforma en (looktype : 108) y le sube skills de magic y shield.  
paladin se transforma en (looktype : 73)  y le sube skills de distance y shield

bueno la verdad no se si exista este script.  pero quiero que las transformaciones te duren para siempre y si es posible que exista reverts. ejemplo:

knight transform, y  cuando ya no quieras usar esta transformacion dices: revert.

no se si mi explico y pues si no existe este script, pueden tirar este post a la basura :p

doy !rep!!

Que yo sepa no existe el script, pero se puede crear jajajaj
De todas formas, para qué quieres que haya revert? Nadie lo usará si la transformación es la que tiene bonus...

En realidad si existe pero tendria que buscar unos maps biejos y creo que esta bug vere si logro acomodarlos y subirlos
tendre que bajar un map para ver que le ago D:
un server llamado centera

#5 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 8:55 pm

tikoloko


Aprendiz
busca en un ot naruto puedes guiarte y crear tu script saludos:)

#6 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 9:04 pm

[VIP] rafael


Miembro
[Tienes que estar registrado y conectado para ver este vínculo] escribió:busca en un ot naruto puedes guiarte y crear tu script saludos:)

en realidad ya aki tengo el scrip solo le ando acomodando lo de los skills y el oufit
pero gracias por la ayuda D:

#7 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 9:34 pm

[VIP] rafael


Miembro
Ot\data\spells.xml

Knight
Código:

 <instant name="Barbarian Bloodwalker Transform"  words="utito transform barbarian" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Barbarian bloodwalker.lua">
 <vocation id="4"/>
 <vocation id="8"/>
Scrip del Knight
Código:
 --[[
        Spell by [vip] Rafael By Blacktibia.org
        Knight transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addSword = 10        -- how much Sword should be added
local addAxe = 10        -- how much Axe should be added
local addClub = 10        -- how much Club should be added


local elf_scout = {lookType = 255, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, addSword)
setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, addAxe)
setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, addClub)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Paladin
Código:
<instant name="Hero Transform"  words="utito transform Hero" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Hero.lua">
 <vocation id="3"/>
 <vocation id="7"/>
Scrip del Paladin
Código:
 --[[
        Spell by [vip] Rafael By Blacktibia.org
        Paladin transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addDist = 10        -- how much Dist should be added


local elf_scout = {lookType = 73, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, addDist)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Pd: aun ando sacando el del Sorcerer y Druid esk no me agara la funcion de ml :C
Mientras te deje estos
tambien trae una funcion de speed al usar el spell si no lo quieres solo es quitarselo D:


Zona a editar

local time = 120 * 1000 -- 120 * 1000 = tiempo que tardara el spell para quitarse
local addShielding = 10 -- cantidad de shield que agregara al usar el spell
local addDist = 10 -- cantidad de skill distance que agregara al usar el spell

Tipos de atributos para los spells etc

Código:

local addDist = 10 aumenta distance
local addSword = 10 aumenta sword
local addAxe = 10 aumenta axe
local addClub = 10 aumenta mace
local addShielding = 10 aumenta escudo
local addmana = 10 te agrega mas mana al usarlo
local addhealth = 10 te agrega mas hp al usarlo

esta es la zone de abajo que deves agregar si no la pones no dara los skills que deceas el spell
Código:

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, addDist)
setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, addSword)
setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, addAxe)
setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, addClub)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_MANA, addMana)
setConditionParam(condition, CONDITION_PARAM_SKILL_MAGIC, addHealth)



Última edición por [VIP] rafael el Mar Ago 04, 2015 9:51 pm, editado 1 vez

#8 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 9:48 pm

Dantarrix


Miembro
[Tienes que estar registrado y conectado para ver este vínculo] escribió:Ot\data\spells.xml

Knight
Código:

   <instant name="Barbarian Bloodwalker Transform"  words="utito transform barbarian" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Barbarian bloodwalker.lua">
      <vocation id="4"/>
      <vocation id="8"/>
Scrip del Knight
Código:
  --[[
        Spell by [vip] Rafael By Blacktibia.org
        Knight transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addSword = 10        -- how much Sword should be added
local addAxe = 10        -- how much Axe should be added
local addClub = 10        -- how much Club should be added


local elf_scout = {lookType = 255, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, addSword)
setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, addAxe)
setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, addClub)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Paladin
Código:
   <instant name="Hero Transform"  words="utito transform Hero" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Hero.lua">
      <vocation id="3"/>
      <vocation id="7"/>
Scrip del Paladin
Código:
  --[[
        Spell by [vip] Rafael By Blacktibia.org
        Paladin transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addDist = 10        -- how much Dist should be added


local elf_scout = {lookType = 73, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, addDist)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Pd: aun ando sacando el del Sorcerer y Druid esk no me agara la funcion de ml :C
Mientras te deje estos

Viste que no existe? Esto que tu muestras NO es lo que él pidió...

PD: Por favor, cuando intenten corregirme en general, asegúrense de corregirme bien... Como @Belerogay lo hace.. Gracias

#9 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 9:57 pm

[VIP] rafael


Miembro
[Tienes que estar registrado y conectado para ver este vínculo] escribió:
[Tienes que estar registrado y conectado para ver este vínculo] escribió:Ot\data\spells.xml

Knight
Código:

   <instant name="Barbarian Bloodwalker Transform"  words="utito transform barbarian" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Barbarian bloodwalker.lua">
      <vocation id="4"/>
      <vocation id="8"/>
Scrip del Knight
Código:
  --[[
        Spell by [vip] Rafael By Blacktibia.org
        Knight transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addSword = 10        -- how much Sword should be added
local addAxe = 10        -- how much Axe should be added
local addClub = 10        -- how much Club should be added


local elf_scout = {lookType = 255, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, addSword)
setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, addAxe)
setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, addClub)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Paladin
Código:
   <instant name="Hero Transform"  words="utito transform Hero" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Hero.lua">
      <vocation id="3"/>
      <vocation id="7"/>
Scrip del Paladin
Código:
  --[[
        Spell by [vip] Rafael By Blacktibia.org
        Paladin transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addDist = 10        -- how much Dist should be added


local elf_scout = {lookType = 73, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, addDist)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Pd: aun ando sacando el del Sorcerer y Druid esk no me agara la funcion de ml :C
Mientras te deje estos

Viste que no existe? Esto que tu muestras NO es lo que él pidió...

PD: Por favor, cuando intenten corregirme en general, asegúrense de corregirme bien... Como @Belerogay lo hace.. Gracias

ok Dantarrix perdona pense que queria un spell y es un actions no ?

bueno si responde aldaircruzz le pregunto si lo quiere asi como lo ando testiando o como lo quiera D:

#10 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 10:16 pm

tikoloko


Aprendiz
vip rafael visita mi post porfa [Tienes que estar registrado y conectado para ver este vínculo]

#11 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 10:20 pm

[VIP] rafael


Miembro
[Tienes que estar registrado y conectado para ver este vínculo] escribió:vip rafael visita mi post porfa [Tienes que estar registrado y conectado para ver este vínculo]

Beo si te ayudo mañana que ya aca esta tarde y se fue la luz :/

#12 Re: (pedido script) transform 8.6 el Mar Ago 04, 2015 11:17 pm

Dantarrix


Miembro
[Tienes que estar registrado y conectado para ver este vínculo] escribió:
[Tienes que estar registrado y conectado para ver este vínculo] escribió:
[Tienes que estar registrado y conectado para ver este vínculo] escribió:Ot\data\spells.xml

Knight
Código:

   <instant name="Barbarian Bloodwalker Transform"  words="utito transform barbarian" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Barbarian bloodwalker.lua">
      <vocation id="4"/>
      <vocation id="8"/>
Scrip del Knight
Código:
  --[[
        Spell by [vip] Rafael By Blacktibia.org
        Knight transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addSword = 10        -- how much Sword should be added
local addAxe = 10        -- how much Axe should be added
local addClub = 10        -- how much Club should be added


local elf_scout = {lookType = 255, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, addSword)
setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, addAxe)
setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, addClub)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Paladin
Código:
   <instant name="Hero Transform"  words="utito transform Hero" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Hero.lua">
      <vocation id="3"/>
      <vocation id="7"/>
Scrip del Paladin
Código:
  --[[
        Spell by [vip] Rafael By Blacktibia.org
        Paladin transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addDist = 10        -- how much Dist should be added


local elf_scout = {lookType = 73, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, addDist)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Pd: aun ando sacando el del Sorcerer y Druid esk no me agara la funcion de ml :C
Mientras te deje estos

Viste que no existe? Esto que tu muestras NO es lo que él pidió...

PD: Por favor, cuando intenten corregirme en general, asegúrense de corregirme bien... Como @Belerogay lo hace.. Gracias

ok Dantarrix perdona pense que queria un spell y es un actions no ?

bueno si responde aldaircruzz le pregunto si lo quiere asi como lo ando testiando o como lo quiera D:

No, no especifica el tipo de script así que podría ser cualquier cosa en verdad.. Por lo que dice el revert debería ser spell o talkaction...
Pero a lo que me refiero es que él pide que sea para siempre...

#13 Re: (pedido script) transform 8.6 el Miér Ago 05, 2015 9:07 am

[VIP] rafael


Miembro
hmmm si Dantarrix vere si logro dejarlo que cuando te lo pongas sea infinito de tiempo yaque es como un utito tempo la verdad
y cuando te ases login sete quita
Ot\data\spells.xml

Knight
Código:

 <instant name="Barbarian Bloodwalker Transform"  words="utito transform barbarian" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Barbarian bloodwalker.lua">
 <vocation id="4"/>
 <vocation id="8"/>
Scrip del Knight
Código:
 --[[
        Spell by [vip] Rafael By Blacktibia.org
        Knight transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addSword = 10        -- how much Sword should be added
local addAxe = 10        -- how much Axe should be added
local addClub = 10        -- how much Club should be added


local elf_scout = {lookType = 255, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, addSword)
setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, addAxe)
setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, addClub)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Paladin
Código:
<instant name="Hero Transform"  words="utito transform hero" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Hero.lua">
 <vocation id="3"/>
 <vocation id="7"/>
Scrip del Paladin
Código:
 --[[
        Spell by [vip] Rafael By Blacktibia.org
        Paladin transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addDist = 10        -- how much Dist should be added


local elf_scout = {lookType = 73, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, addDist)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Druid
Código:
<instant name="Yellow Butterfly Transform"  words="utito transform butterfly" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Yellow Butterfly.lua">
 <vocation id="2"/>
 <vocation id="6"/>

Scrip del Druid
Código:
  --[[
        Spell by [vip] Rafael By Blacktibia.org
        Druid transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addMagicLevel = 10        -- how much magic should be added


local elf_scout = {lookType = 10, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, addMagicLevel)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Sorcerer (mago)
Código:
<instant name="Elder Beholder Transform"  words="utito transform beholder" lvl="1500" mana="800" prem="1"  aggressive="0" selftarget="1"  exhaustion="5000" needlearn="0" script="Elder Beholder.lua">
 <vocation id="1"/>
 <vocation id="5"/>

Scrip del Sorcerer
Código:
  --[[
        Spell by [vip] Rafael By Blacktibia.org
        Sorcerer transform
]]--

local time = 120 * 1000        -- 120 * 1000 = 2 min
local addShielding = 10        -- how much shielding should be added
local addMagicLevel = 10        -- how much magic should be added


local elf_scout = {lookType = 108, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, CONDITION_PARAM_TICKS, time)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, addMagicLevel)
setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)
setCombatCondition(combat, condition)

local speed = createConditionObject(CONDITION_HASTE)
setConditionParam(speed, CONDITION_PARAM_TICKS, time)
setConditionFormula(speed, 1.2, -68, 1.2, -68)
setCombatCondition(combat, speed)

local outfit = createConditionObject(CONDITION_OUTFIT)
setConditionParam(outfit, CONDITION_PARAM_TICKS, time)
addOutfitCondition(outfit, elf_scout)
setCombatCondition(combat, outfit)

local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_SUBID, 0)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, time)
setCombatCondition(combat, exhaust)

function onCastSpell(cid, var)
        return doCombat(cid, combat, var)
end

Zona a editar

local time = 120 * 1000 -- 120 * 1000 = 2 minutos. tiempo que tardara el spell para quitarse
local addShielding = 10 -- cantidad de shield que agregara al usar el spell
local addDist = 10 -- cantidad de skill distance que agregara al usar el spell


Tipos de atributos

Código:

local addMagicLevel = 10 aumenta magic level
local addDist = 10 aumenta distance
local addSword = 10 aumenta sword
local addAxe = 10 aumenta axe
local addClub = 10 aumenta mace
local addShielding = 10 aumenta escudo
local addmana = 10 te agrega mas mana al usarlo
local addhealth = 10 te agrega mas hp al usarlo

esta es la zone de abajo que deves agregar si no la pones no dara los skills que deceas el spell
Código:

setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, addMagicLevel)
setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, addDist)
setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, addSword)
setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, addAxe)
setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, addClub)
setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, addShielding)
setConditionParam(condition, CONDITION_PARAM_SKILL_MANA, addMana)
setConditionParam(condition, CONDITION_PARAM_SKILL_MAGIC, addHealth)

local elf_scout = {lookType = 10, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0} esto sirve por si le pondras color algun oufit al usar el spell si quieres que de un traje asi como un addon full solo es ponerle lookAddons = 3}

#14 Re: (pedido script) transform 8.6 Hoy a las 8:18 pm

Contenido patrocinado


Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje [Página 1 de 1.]

Permisos de este foro:
No puedes responder a temas en este foro.

 

¿Quién está en línea?

En total hay 0 usuarios en línea: 0 Registrados, 0 Ocultos y 0 Invitado

Usuarios navegando en este foro: Ninguno

Forum Statistics

Nuestros miembros han públicado un total de posts en temas.
Actualmente hay miembros registrados.
Démosle la bienvenida al miembro más reciente,
La mayor cantidad de usuarios en línea ha sido de .