williamsz
Membro
-
Registro em
-
Última visita
Histórico de Curtidas
-
williamsz deu reputação a Reds em (Resolvido)[PEDIDO] Spell Shunkanido Somente Em Playerlocal combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 10)
function onCastSpell(cid, var)
alvo = getCreatureTarget(cid)
if not isPlayer(alvo) then
local target = getCreatureTarget(cid)
local enemypos = getCreaturePosition(target)
if target == isMonster or isCreature then
doTeleportThing(cid, enemypos)
end
return doCombat(cid, combat, var)
end
else
return false
end
-
williamsz deu reputação a Reds em (Resolvido)[PEDIDO] Spell Shunkanido Somente Em Playerlocal combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 10)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -350.0, 0, -365.0, 0)
function onCastSpell(cid, var)
alvo = getCreatureTarget(cid)
if not isPlayer(alvo) then
local position1 = {x=getThingPosition(getCreatureTarget(cid)).x+1, y=getThingPosition(getCreatureTarget(cid)).y+1, z=getThingPosition(getCreatureTarget(cid)).z}
local target = getCreatureTarget(cid)
local enemypos = getCreaturePosition(target)
if target == isMonster or isCreature then
doTeleportThing(cid, enemypos)
doSendMagicEffect(position1, 54)
end
return doCombat(cid, combat, var)
end
else
return false
end
-
williamsz deu reputação a KotZletY em [PEDIDO] Npc Que Troca Item Por Vocaçaodata/npc/scripts e crie um arquivo chamado ultragod.lua e adicione essa essa script dentro:
Agora vá em data/npc e crie um arquivo com o Ultra God. E adicione isso dentro:
Depois só adicionar o NPC no mapa pelo RME e seja feliz! xD