Happysmiley
New Member
- Reaction score
- 22
Hi, I'm in the process of creating a spell for my map. The ability is basically a targeted smoke cloud. All units within 300 aoe of target point of ability being cast will detonate when a certain spell is cast upon them (during the effect, which lasts 6 seconds).
I based my spell on Flame Strike (All damage nullified) since I didn't know any other way to make the cloud stay those 6 seconds. Problem is, doing this seems to NOT give them the buff I set the spell to give. Therefor, I tried triggering it.
(Inner Fire is the Dragon's Dream buff)
>Don't worry about it not being MUI.<
That didn't do anything either.. So now I'm not quite sure what to do.. Any input?
I based my spell on Flame Strike (All damage nullified) since I didn't know any other way to make the cloud stay those 6 seconds. Problem is, doing this seems to NOT give them the buff I set the spell to give. Therefor, I tried triggering it.
Trigger:
- Dragons Dream
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Dragons' Dream
- Actions
- Unit Group - Pick every unit in (Units within 300.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
- Loop - Actions
- Unit - Create 1 DDUMMY for (Owner of (Casting unit)) at (Position of (Picked unit)) facing Default building facing degrees
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Human Priest - Inner Fire (Picked unit)
- Loop - Actions
- Unit Group - Pick every unit in (Units within 300.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
- Events
(Inner Fire is the Dragon's Dream buff)
Trigger:
- Igni Special Effect
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- And - All (Conditions) are true
- Conditions
- (Ability being cast) Equal to Igni Rune
- ((Target unit of ability being cast) has buff Dragons' Dream ) Equal to True
- Conditions
- And - All (Conditions) are true
- Actions
- Set DD_DMG_DISP = ((75 x (Level of Dragons' Dream for (Casting unit))) + ((((Strength of (Casting unit) (Include bonuses)) + (Agility of (Casting unit) (Include bonuses))) + (Intelligence of (Casting unit) (Include bonuses))) / 4))
- Set DD_CRIT_DISP = (DD_DMG_DISP x 2)
- Set DD_CHANCE = (Random integer number between 1 and 100)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- DD_CHANCE Greater than (10 + (((Hero level of (Casting unit)) x 3) / 4))
- Then - Actions
- Unit Group - Pick every unit in (Units within 300.00 of (Position of (Target unit of ability being cast)) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
- Loop - Actions
- Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\NewGroundEX.mdx
- Unit - Cause (Casting unit) to damage (Picked unit), dealing (Real(DD_DMG_DISP)) damage of attack type Spells and damage type Fire
- Floating Text - Create floating text that reads (String(DD_DMG_DISP)) at (Position of (Picked unit)) with Z offset 100.00, using font size 11.00, color (0.00%, 0.00%, 90.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 160.00 towards (Random real number between 45.00 and 135.00) degrees
- Loop - Actions
- Unit Group - Pick every unit in (Units within 300.00 of (Position of (Target unit of ability being cast)) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- DD_CHANCE Less than or equal to (10 + (((Hero level of (Casting unit)) x 3) / 4))
- Then - Actions
- Unit Group - Pick every unit in (Units within 300.00 of (Position of (Target unit of ability being cast)) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
- Loop - Actions
- Special Effect - Create a special effect at (Position of (Picked unit)) using war3mapImported\NewGroundEX.mdx
- Unit - Cause (Casting unit) to damage (Picked unit), dealing (Real(BS_CRIT_DISP)) damage of attack type Spells and damage type Fire
- Floating Text - Create floating text that reads (String(DD_DMG_DISP)) at (Position of (Picked unit)) with Z offset 100.00, using font size 11.00, color (0.00%, 0.00%, 90.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Floating Text - Set the velocity of (Last created floating text) to 160.00 towards (Random real number between 45.00 and 135.00) degrees
- Loop - Actions
- Unit Group - Pick every unit in (Units within 300.00 of (Position of (Target unit of ability being cast)) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Special Effect - Destroy (Last created special effect)
- Events
>Don't worry about it not being MUI.<
That didn't do anything either.. So now I'm not quite sure what to do.. Any input?