Welcome to AC Web.
Results 1 to 3 of 3
  1. #1

    Smart_scripts - how to make creature cast spell on death

    Registered members see less ads
    and also gain access to other great features.
    Hello everyone

    I've been trying to make a custom boss, and i want the boss to cast a spell when he dies. Kinda like stone keeper in Uldaman does.

    I'm having abit of a problem tho. Whenever i try to make the script cast on death, nothing happends when i kill the boss. If i change it to cast the spell between 0-2%, it works, however, when he casts it at 2%, its not really on death

    Lets use stone keeper as an example to make it simple.

    npc id: 4857
    spell id to cast on death: 9874

    If anyone could give me some pointers, or quickly make the script then i will be able to figure out where i went wrong.

    Appreciate any help

    - - - Updated - - -

    Ill pay if someone can help Ive been playing around with different methods all day but cant seem to find a way to do it.

  2. #2
    http://prntscr.com/iffjlz <----- Event_type entry number is 6
    http://prntscr.com/iffjxm <----- action_type entry number is 11, spellid, castflags i use 4 but here are more http://prntscr.com/iffk80 triggeredflags leave it set to 0
    Target_type = http://prntscr.com/iffkuw

    This is how i do it for Smart Scripts it works for me everytime

    and for it to be cast on death mainly try to use instant cast spells as channeled or casting spells sometimes do not work as intended
    Last edited by Felnious; 02-16-2018 at 05:36 AM.

  3. #3

    Registered members see less ads
    and also gain access to other great features.
    Hello, if you still need help about your boss, send me the query you are using via PMs and I ll adapt it for you (I m on phone so cba write the query rn)

    Kind regards,




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts