View Full Version : Got a problem with a script, can't sort it out..

06-07-2014, 02:42 PM
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


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

06-07-2014, 04:16 PM
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.

06-07-2014, 04:33 PM
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

06-07-2014, 08:01 PM
Check this out:

Check the comments and change the creature entry.