• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Got a problem with a script, can't sort it out..

Status
Not open for further replies.

EmuNoob

Exalted Member
Ight so I've been working on a LUA script, basically it's a boss fight. I've been more to Arcemu LUA before now learning Lua in need of core change. The problem is that the creature does everything but not cast the spells. It yells as it should etc etc, but when it comes to the spells... Nothing happens

http://pastebin.com/RJxzJPhw


Requesting some help as I can't find out what's the problem..
 

Rochet2

Moderator / Eluna Dev
CastSpell requires a target.
caster:CastSpell(target, spellid, triggered)
caster and target can be the same.
On arcemu caster:CastSpell(spellid) was the same as caster and target being the same.
 

EmuNoob

Exalted Member
But even with
v:CastSpell(v, 48104,true)

The spells are not casted after creature's dead, also the he's not casting spells on him self. No matter what, he reacts to the enviroment as he should with talking but it doesn't go that well with spells
 
Status
Not open for further replies.
Top