Page 1 of 1

Option "1" (self cast) in scripts is not working.

PostPosted: Fri Jan 08, 2016 9:43 pm
by Dc PvP
Greetings friends!

I have a problem: any script with option "1" (self cast) ignores this option and casts the spell on targeted player.

Example script: /script CastSpellByName('Blessing of Freedom', 1) (it should cast blessing of freedom on caster even when friendly target is targeted, but it doesn't - it casts the blessing on my target)

I didn't have this problem on retail vanilla or other private vanilla servers.

Thank you for any help or advice :)

Re: Option "1" (self cast) in scripts is not working.

PostPosted: Sat Jan 09, 2016 10:11 am
by LYQ
Dc PvP wrote:Greetings friends!

I have a problem: any script with option "1" (self cast) ignores this option and casts the spell on targeted player.

Example script: /script CastSpellByName('Blessing of Freedom', 1) (it should cast blessing of freedom on caster even when friendly target is targeted, but it doesn't - it casts the blessing on my target)

I didn't have this problem on retail vanilla or other private vanilla servers.

Thank you for any help or advice :)


maybe some other AddOn is causing this issue.

try it by disabling all addons and use the macro once to check

Re: Option "1" (self cast) in scripts is not working.

PostPosted: Sat Jan 09, 2016 12:22 pm
by Colezz
Any self cast macros I just do like

/target (me)
/cast (spell)
/targetlasttarget

Can't remember exactly but works like a charm

Re: Option "1" (self cast) in scripts is not working.

PostPosted: Wed Jan 13, 2016 5:55 am
by Dc PvP
LYQ wrote:
maybe some other AddOn is causing this issue.

try it by disabling all addons and use the macro once to check


Nothing changes even when i disable all of my addons.

Re: Option "1" (self cast) in scripts is not working.

PostPosted: Wed Jan 13, 2016 5:59 am
by Dc PvP
Colezz wrote:Any self cast macros I just do like

/target (me)
/cast (spell)
/targetlasttarget

Can't remember exactly but works like a charm


I am using something similiar as a work-around, but i am still curious why option "1" isn't working. Due to this problem i have to write much longer scripts.