• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Kablastum spell help

Status
Not open for further replies.
Level 1
Joined
Jul 4, 2009
Messages
3
Well i have been trying to make a spell called "Kablastum" and i have, it worked perfectly and did the correct amount of damage to units within 350 of the casting unit. The only problem is that it also damages allied units and the casting unit. Does anyone know how to correct this problem?

  • Events
  • Unit - A unit Starts the effect of an ability
  • Conditions
  • (Ability being cast)Equal to Kablastum
  • Actions
  • Unit Group - Pick every unit in (Units within 350.00 of (Position of(Casting unit))) and do (Actions)
  • Loop - Actions
  • Unit - Cause (Triggering unit) to damage (picked unit), dealing (50.00 x (Real((Level of Kablastum for (Triggering unit))))) damage of attack type Spells and damage type fire
  • Special Effect - Create a special effect attached to the chest of (Picked unit) using Objects\Spawnmodels\human\FragmentationShards|FragBoomSpawn.mdl
 
Level 9
Joined
Aug 2, 2008
Messages
219
Replace :
  • Unit Group - Pick every unit in (Units within 350.00 of (Position of(Casting unit))) and do (Actions)
with:

  • Unit Group - Pick every unit in (Units within 350 of (Position of(Casting unit)))) matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) equal (==) True) and
  • ((((Matching unit) is Magic Immune) equal (==) False) and ((((Matching unit) is a Building) equal (==) and (Unit Life (MatchingUnit) greater (>) 0) ( do (Actions)
(These 2 lines were originally 1 line...i split them up for readability)
Go to the Unit Group - Pick every.... thing and choose Units in Range of X matching conditions.....

Btw your spell leaks and don´t to spammy double posting
 
Status
Not open for further replies.
Top