Jump to content

Spell detect if target is a dragon (Scripting)


Cyntehl

Recommended Posts

I need a spell that will only affect dragons and do nothing for everything else, however, It's been years since I've worked with the CS Scritping language, and dragons weren't a thing with Morrowind, so I just need something like this snippet of psuedocode

SpellOnHitEvent()
{
   if(target.isDragon = true)
   {
      target.kill;
   }
}
Link to comment
Share on other sites

Do you even need a script for that? the way i see it "kill" is the same as dealing an enormous amount of damage, in a magic effect that can use keyword conditions to work only on dragons, see for example dragonbane's effect.

Edited by FrankFamily
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...