Drazzio
New Member
- Joined
- May 10, 2011
- Messages
- 5
- Reaction score
- 0
Hello. I have one problem with my spell.
Effect of spell must start a one sqm right from player. Something like this.
Sorry, but i don't really gut speak english
Effect of spell must start a one sqm right from player. Something like this.
But this don't work and i have error.position = {x=pos.x -1,y=pos.y,z=pos.z}
doSendMagicEffect(position, 181)
When i use spell effect has gone.[11/11/2011 21:25:04] [Error - Spell Interface]
[11/11/2011 21:25:04] In a timer event called from:
[11/11/2011 21:25:04] data/spells/scripts/support/charge.luanCastSpell
[11/11/2011 21:25:04] Description:
[11/11/2011 21:25:04] data/spells/scripts/support/charge.lua:10: attempt to index global 'pos' (a nil value)
[11/11/2011 21:25:04] stack traceback:
[11/11/2011 21:25:04] data/spells/scripts/support/charge.lua:10: in function <data/spells/scripts/support/charge.lua:6>
Sorry, but i don't really gut speak english