eduardbean
Member
- Joined
- Nov 26, 2010
- Messages
- 129
- Solutions
- 2
- Reaction score
- 15
Hello, I'm trying to make a new spells system by talkactions, but i have one problem.
Look, This is my script
Look, This is my script
Code:
local area = createCombatArea{
{1, 1, 1},
{1, 3, 1}
}
function onSay(player, words, param)
local lvl = player:getLevel()
local dmgMax = ((lvl * 5))
local dmgMin = ((dmgMax*0.90))
return doAreaCombatHealth(player.uid, COMBAT_PHYSICALDAMAGE, player:getPosition(), area, -dmgMin, -dmgMax, CONST_ME_BLOCKHIT)
end
And this is when i try to use this spell:
The script ignores my direction and always goes south
How i can solve this "Bug"
The script ignores my direction and always goes south
How i can solve this "Bug"