• 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!

[support] I need help with this script

Status
Not open for further replies.

godoyxd

Noob
Joined
Mar 6, 2008
Messages
196
Reaction score
39
Location
Brazil
hello I have found this system to searing fire, but it doesn't works
I need some help, I use TSF Mystic Spirit:

druid 1
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--
voc2 = 1   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 3
voc5 = 5 
voc7 = 7 
voc8 = 8 

dano = 300 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc7 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

druid 2
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--
voc2 = 1   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 3 
voc5 = 5 
voc7 = 7 
voc8 = 8 

dano = 666 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc7 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

druid 3
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--
voc2 = 1   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 3 
voc5 = 5 
voc7 = 7 
voc8 = 8 

dano = 2000 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc7 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

druid death
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druida, 3 = paladin, 4 = knight--
voc2 = 1   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 3 
voc5 = 5 
voc7 = 7 
voc8 = 8 

dano = 19999 --quanto ira tirar de vida
danoo = 19999 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
mp = getPlayerMana(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc7 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddMana(cid, -danoo)
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddMana(cid, -mp)
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

knight 1
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 3    --0 = no vocation, 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--
voc2 = 1   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2 
voc5 = 5 
voc7 = 6 
voc8 = 7 

dano = 300 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc6 == pvoc or voc7 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

knight 2
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 3    --0 = no vocation, 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--
voc2 = 1   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2 
voc5 = 5 
voc7 = 6 
voc8 = 7 

dano = 666 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc6 == pvoc or voc7 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

knight 3
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 3    --0 = no vocation, 1 = sorcerer, 2 = druida, 3 = paladin, 4 = knight--
voc2 = 1
voc3 = 2 
voc5 = 5 
voc7 = 6 
voc8 = 7 

dano = 2000 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc6 == pvoc or voc7 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

knight death
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 3    --0 = no vocation, 1 = sorcerer, 2 = druida, 3 = paladin, 4 = knight--
voc2 = 1   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2 
voc5 = 5 
voc7 = 6 
voc8 = 7 

dano = 19999 --quanto ira tirar de vida
danoo = 19999 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
mp = getPlayerMana(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc6 == pvoc or voc7 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddMana(cid, -danoo)
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddMana(cid, -mp)
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

sorc 1
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--
voc2 = 3   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2 
voc5 = 6 
voc7 = 7 
voc8 = 8 

dano = 300 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc6 == pvoc or voc7 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

sorc 2
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--
voc2 = 3   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2 
voc5 = 6 
voc7 = 7 
voc8 = 8 

dano = 666 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc6 == pvoc or voc7 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

sorc 3
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--
voc2 = 3   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2 
voc5 = 6 
voc7 = 7 
voc8 = 8 

dano = 2000 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc6 == pvoc or voc7 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

sorc death
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--
voc2 = 3  --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2 
voc5 = 6 
voc7 = 7 
voc8 = 8 

dano = 19999 --quanto ira tirar de vida
danoo = 19999 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
mp = getPlayerMana(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc7 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc6 == pvoc or voc7 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddMana(cid, -danoo)
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddMana(cid, -mp)
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

paladin 1
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druida, 3 = paladin, 4 = knight--
voc2 = 1   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2 
voc5 = 5 
voc7 = 6 
voc8 = 8 

dano = 300 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc6 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

paladin 2
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druida, 3 = paladin, 4 = knight--
voc2 = 1   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2 
voc5 = 5 
voc7 = 6 
voc8 = 8

dano = 666 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc6 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

paladin 3
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druida, 3 = paladin, 4 = knight--
voc2 = 1   --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2 
voc5 = 5 
voc7 = 6 
voc8 = 8 

dano = 2000 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc6 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end

paladin death
PHP:
function onStepIn(cid, item, pos)
---Action by Jovial---

--Config--
voc = 4    --0 = no vocation, 1 = sorcerer, 2 = druid, 3 = paladin, 4 = knight--
voc2 = 1  --5 = master sorcerer, 6 = elder druid, 7 = royal paladin, 8 = elite knight--
voc3 = 2
voc5 = 5 
voc7 = 6 
voc8 = 8 

dano = 19999 --quanto ira tirar de vida
danoo = 19999 --quanto ira tirar de vida
cor = 180 --cor da letra do hit 5=azul, 180=red, etc
efeito = 3  --numero do efeito desejado
--End Config--

hp = getPlayerHealth(cid)
mp = getPlayerMana(cid)
topos = getPlayerPosition(cid)
pvoc = getPlayerVocation(cid)
pvoc3 = getPlayerVocation(cid)
pvoc2 = getPlayerVocation(cid)
pvoc5 = getPlayerVocation(cid)
pvoc6 = getPlayerVocation(cid)
pvoc8 = getPlayerVocation(cid)

if voc == pvoc or voc2 == pvoc or voc3 == pvoc or voc5 == pvoc or voc6 == pvoc or voc8 == pvoc then
if getPlayerHealth(cid) >= dano then
doPlayerAddMana(cid, -danoo)
doPlayerAddHealth(cid, -dano)
doSendAnimatedText(topos, dano, cor)
  doSendMagicEffect(topos, efeito)
else
doPlayerAddMana(cid, -mp)
doPlayerAddHealth(cid, -hp)
doSendAnimatedText(topos, hp, cor)
  doSendMagicEffect(topos, efeito)
end
end
return 1
end



I got this error:

[07/03/2009 21:31:30] Lua Script Error: [MoveEvents Interface]
[07/03/2009 21:31:30] data/movements/scripts/poi/FireDruidNorthEast1.luanStepIn

[07/03/2009 21:31:30] data/movements/scripts/poi/FireDruidNorthEast1.lua:17: attempt to call global 'getPlayerHealth' (a nil value)
[07/03/2009 21:31:30] stack traceback:
[07/03/2009 21:31:30] data/movements/scripts/poi/FireDruidNorthEast1.lua:17: in function <data/movements/scripts/poi/FireDruidNorthEast1.lua:1>
 
In all scripts change these functions:

Code:
[COLOR="Blue"]getPlayerHealth[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR] [COLOR="DarkGreen"]to[/COLOR] getCreatureHealth[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR][/COLOR]

Code:
[COLOR="Blue"]getPlayerMana[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR] [COLOR="DarkGreen"]to[/COLOR] getCreatureMana[COLOR="Green"]([/COLOR]cid[COLOR="Green"])[/COLOR][/COLOR]

Code:
[COLOR="Blue"]getPlayerPosition[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR] [COLOR="DarkGreen"]to[/COLOR] getCreaturePosition[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR][/COLOR]

Code:
[COLOR="Blue"]doPlayerAddMana[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR] [COLOR="DarkGreen"]to[/COLOR] doCreatureAddMana[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR][/COLOR]

Code:
[COLOR="Blue"]doPlayerAddHealth[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR] [COLOR="DarkGreen"]to[/COLOR] doCreatureAddHealth[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR][/COLOR]
 
In all scripts change these functions:

Code:
[COLOR="Blue"]getPlayerHealth[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR] [COLOR="DarkGreen"]to[/COLOR] getCreatureHealth[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR][/COLOR]

Code:
[COLOR="Blue"]getPlayerMana[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR] [COLOR="DarkGreen"]to[/COLOR] getCreatureMana[COLOR="Green"]([/COLOR]cid[COLOR="Green"])[/COLOR][/COLOR]

Code:
[COLOR="Blue"]getPlayerPosition[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR] [COLOR="DarkGreen"]to[/COLOR] getCreaturePosition[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR][/COLOR]

Code:
[COLOR="Blue"]doPlayerAddMana[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR] [COLOR="DarkGreen"]to[/COLOR] doCreatureAddMana[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR][/COLOR]

Code:
[COLOR="Blue"]doPlayerAddHealth[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR] [COLOR="DarkGreen"]to[/COLOR] doCreatureAddHealth[COLOR="DarkGreen"]([/COLOR]cid[COLOR="DarkGreen"])[/COLOR][/COLOR]
thx man now it works
repp
 
Status
Not open for further replies.
Back
Top