• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Spell Shadowmeld [Strong Haste + Mana Shield + Invis]

supomglol

Member
Joined
Jan 29, 2012
Messages
195
Reaction score
10
As the title says ; this is tested and working on 0.3.6 TFS Edit it anyway you want! and msg me if you need help!

Made it all myself :) +repp if you like it plx <3


Go to Data:Spells:scripts:Support
Create : Shadowmeld.lua

PHP:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
setCombatParam(combat1, COMBAT_PARAM_AGGRESSIVE, false)

local condition = createConditionObject(CONDITION_INVISIBLE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 200000)
setCombatCondition(combat1, condition)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat2, COMBAT_PARAM_AGGRESSIVE, false)

local condition = createConditionObject(CONDITION_HASTE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 200000)
setConditionFormula(condition, 0.7, -56, 0.7, -56)
setCombatCondition(combat2, condition)

local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat3, COMBAT_PARAM_AGGRESSIVE, false)

local condition = createConditionObject(CONDITION_MANASHIELD)
setConditionParam(condition, CONDITION_PARAM_TICKS, 200000)
setCombatCondition(combat3, condition)



function onCastSpell1(parameters) 
    doCombat(parameters.cid, combat1, parameters.var)
end

function onCastSpell2(parameters) 
    doCombat(parameters.cid, combat2, parameters.var)
end

function onCastSpell3(parameters) 
    doCombat(parameters.cid, combat3, parameters.var)
end



function onCastSpell(cid, var) 
local parameters = { cid = cid, var = var} 
addEvent(onCastSpell1, 0, parameters) 
addEvent(onCastSpell2, 0, parameters)
addEvent(onCastSpell3, 0, parameters)
return TRUE
end



Go to Data:Spells
Open up Spells.xml

add this :

PHP:
		<instant name="Shadowmeld" words="utamo vid" lvl="200" mana="900" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/Shadowmeld.lua">
		<vocation id="1"/>
		<vocation id="2"/>
		<vocation id="3"/>
		<vocation id="5"/>
		<vocation id="6"/>
		<vocation id="7"/>
		<vocation id="9"/>
		<vocation id="10"/>
		<vocation id="11"/>
	</instant>




*note I use Second Promotions for each class, so change it as you need!


Post here if you need any help
 
Thank you! I appreciate it! I was just tired of alway having to cast all 3, took up a lot of space on my hotkeys.
 
i did it for tibia 8.1 ^^ :D but i want the help i its say on the Config page No Such File Or Directory What SHould I Do ^^ Hope Find The Help And If U Have A Nice Full Map 8.1 Please Give ME :) MY MAil [email protected] Hope You CAn HelP Me Good Luck Brother
 
Is it possible to make full invisible spell, for x seconds? Full means without this stupid effect "blue stars", nick and life rectangle?
 
Back
Top