Histórico de Curtidas
- 		
			
				 Ryodragon recebeu reputação de gerson em [Resolvido] [Pedido] Uh e Potions por level, Aparecer Efeitoentao nesse codigo que eu peguei seu ele nao tava funcionando... nao usava a uh Ryodragon recebeu reputação de gerson em [Resolvido] [Pedido] Uh e Potions por level, Aparecer Efeitoentao nesse codigo que eu peguei seu ele nao tava funcionando... nao usava a uh
 ai eu peguei e pus o lvlmagic como queria
 bom sei la o que eu fiz
 mais ele ta healando = level 100k de lvl cura 100k de hp
 queria saber como coloco pra healar em dobro
 100k de level = cura 200k de hp
 essa e a formula que eu editei sua
 
 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_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 1, 1, 1, 2.6) function onCastSpell(cid, var) local config = { min = 50, max = 100, health = {2.60, 2.6}, } local x = getPlayerLevel(cid) local min_, max_ = config.min, config.max local health = config.health if health then local hp = math.ceil(math.random(health[1] * x, health[2] * x)) if hp < min_ then hp = math.random(min_, max_) elseif hp > max_ then hp = math.random(max_, max_ + 100) end doCreatureAddHealth(cid, hp) end return doCombat(cid, combat, var) end
 
- 		
			
				 Ryodragon recebeu reputação de gerson em [Resolvido] [Pedido] Uh e Potions por level, Aparecer EfeitoKimos obrigado novamente Ryodragon recebeu reputação de gerson em [Resolvido] [Pedido] Uh e Potions por level, Aparecer EfeitoKimos obrigado novamente
 eu consegui atravez dessa
 eu tava vendo outros topicos e apliquei essa logica
 Bom so sei que funciono como eu quero
 novamente eu agradeço atençao
 
 local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) function getCombatFormulas(cid, lv, maglv) local formula_min = (lv*2.00) local formula_max = (lv*2.00) if(formula_max < formula_min) then local tmp = formula_max formula_max = formula_min formula_min = tmp end return formula_min, formula_max end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas") function onCastSpell(cid, var) return doCombat(cid, combat, var) end
 
- 		
			
				 Ryodragon recebeu reputação de TathiiCarvalho em [Spells] Uh Conforme o LevelBom após horas procurando um jeito de fazer com que isso funcionasse eu consegui Ryodragon recebeu reputação de TathiiCarvalho em [Spells] Uh Conforme o LevelBom após horas procurando um jeito de fazer com que isso funcionasse eu consegui
 
 Grassas ao kimoszin que me deu algumas dicas
 
 Pode ser que muitos já saibam fazer isso mais ainda sim irei postar
 
 Pois sempre ah alguém com dúvidas
 
 
 
 
 vá em
 data\spells\scripts\healing\ultimate healing rune.lua
 
 Abra e substitua por isso
 
 
 local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) function getCombatFormulas(cid, lv, maglv) local formula_min = (lv*2.00) local formula_max = (lv*2.00) if(formula_max < formula_min) then local tmp = formula_max formula_max = formula_min formula_min = tmp end return formula_min, formula_max end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas") function onCastSpell(cid, var) return doCombat(cid, combat, var) end Onde está local formula_min = (lv*2.00) local formula_max = (lv*2.00)
 
 É onde você editará a cura
 
 Ele multiplica pelo level atual no momento está (lv*2.00) então ele multiplicara seu level por 2
 
 Sendo assim se você estiver lvl 10 ele irar curar 20 etc...
 
- 		
			
				 Ryodragon deu reputação a Kimoszin em [Resolvido] [Pedido] Uh e Potions por level, Aparecer EfeitoNao testei, fiz na logica Ryodragon deu reputação a Kimoszin em [Resolvido] [Pedido] Uh e Potions por level, Aparecer EfeitoNao testei, fiz na logica
 
 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_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 10, 12) function onCastSpell(cid, var) local config = { min = 50, max = 100, health = {2.60, 2.6}, } local x = getPlayerLevel(cid) local min_, max_ = config.min, config.max local health = config.health if health then local hp = math.ceil(math.random(health[1] * x, health[2] * x)) if hp < min_ then hp = math.random(min_, max_) elseif hp > max_ then hp = math.random(max_, max_ + 100) end doCreatureAddHealth(cid, hp) end return doCombat(cid, combat, var) end
 
- 		
			
				 Ryodragon deu reputação a Skydangerous em [Resolvido] [pedido] soft com hp e manavocê precisa adicionar isso no movements.xml Ryodragon deu reputação a Skydangerous em [Resolvido] [pedido] soft com hp e manavocê precisa adicionar isso no movements.xml
 
 
 <movevent type="Equip" itemid="2358" slot="feet" event="function" value="onEquipItem"/>
 <movevent type="DeEquip" itemid="2358" slot="feet" event="function" value="onDeEquipItem"/>
 
- 		
			
				 Ryodragon deu reputação a Marcio Silva em Vizalain ServerAmigos venho partilhar com voces mais um novo server, acho que ainda nao existia aqui no forum, nao eskeçam, gostaram rep+!!! Ryodragon deu reputação a Marcio Silva em Vizalain ServerAmigos venho partilhar com voces mais um novo server, acho que ainda nao existia aqui no forum, nao eskeçam, gostaram rep+!!!
 
 
 
 
 Protocolo: 8.60
 Nome: Vizalain Server
 
 
 Conteudo:
 - 20 TP free
 - 12 TP VIP
 
 Quests:
 - Anihilator
 - Demon Oak
 - DH
 - Vizalain Weapons
 - Vizalain Ring
 - Muitas mais!
 
 Novos itens 8.6
 
 Fotos:
 
 
 
 
 
 
 
 
 ACC GOD : god/portari4
 
 
 Download:
 Vizalain Server 8.6.rar 2shared - download
 
 Scan:
 Vizalain Server 8.6.rar - Skaner malware'u Jotti
 
 
 
     
     
     
     
			
				 
				 
	 
	