Bom eu qeria saber se eh possivel fze uma magia pra creature cura apenas o seu summoner, se for possivel me mande algum exemplo d script, se n for possivel me avisem logo q eu penso em otra coisa pra fze no meu ot.
t+ abrçss
Bom eu qeria saber se eh possivel fze uma magia pra creature cura apenas o seu summoner, se for possivel me mande algum exemplo d script, se n for possivel me avisem logo q eu penso em otra coisa pra fze no meu ot.
t+ abrçss
Ja fis, porem na hora de cura tem q ta com a target selecionada ao pet, e outra se usar a spells pra cura player tbm vai cura '-
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) setCombatParam(combat, COMBAT_PARAM_TARGETPLAYERSORSUMMONS, true) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 10, 12) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
INPORTANTE TAG*
<instant name="pet real" words="exura pet" lvl="5" mana="80" prem="1" range="3" casterTargetOrDirection="1" blockwalls="1" aggressive="0" exhaustion="2000" groups="2,2000" icon="82" needlearn="0" event="script" value="healing/pet.lua"> <vocation id="1"/> <vocation id="2"/> <vocation id="3"/> <vocation id="4"/> <vocation id="5"/> <vocation id="6"/> <vocation id="7"/> <vocation id="8"/> </instant>
Lenbrando q os nome do arquivo tem que ta na pasta certa e tudo, no caso eu testei em ot 9.10, se kiser colocar ot 8.60 inferior tem q remove a linha groups e icon '-' se der erro reporte
TRABALHOS
Projeto Pokemon Sthorm
Sub Projeto ? Sim \/
n era isso q eu tava pocuranu, + vlw pela tentativa, vc axa q da pra tipo um exura gran mas res, mas se for um oponente na area ele da dano em ves d cura, eu ja tentei por + ele curava o target tb -.-
entaum n sei o q vc que '