HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Customed Inferno Spell , doesn't count as kill ??

10-22-2006, 04:03 PM#1
Jazzyfromhell
I was edited Dreadlord 's Inferno into some Meteor Spell , which don't summon any inferno on impact ,but do deal damage and stun all enemy in the area.

Replace Data - Summoned Unit by Invulnable/locust dummy unit.
้has Data - Duration (Which is expiration timer for summoned unit) = 6 seconds.
Change Damage and stun duration for each level.

It 's just a simple spell but I don't know either it's bug or not. But...

When enemy hero get killed by a damage of this Meteor spell .It doesn't count as kill by this trigger. ( It was a trigger to detect if this Hero kill other enemy hero but I have add "ability being cast equal to Meteor" later )

Trigger:
Collapse Events
Unit - A unit Dies
Collapse Conditions
((Dying unit) is A Hero) Equal to True
((Unit-type of (Killing unit)) Equal to <Hero who use Meteor>) or ((Ability being cast) Equal to Meteor )

I have 2 methods to build up this spell.

The first is edited Inferno spell directly.

Now I have think that Inferno spell may has some bug so I try the second...

The second is edited Bloodmage 's Flame Stirke to a dummy AOE spell and have dummy unit to use customed War stomp to stun at target point of abilliy like this....

Trigger:
Try Meteor Fist
Collapse Events
Unit - A unit Begins casting an ability
Collapse Conditions
(Ability being cast) Equal to Meteor // This Meteor is dummy spell.
Collapse Actions
Wait 1.00 seconds // To match with Meteor fall effect on impact.
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Target point of ability being cast) facing Default building facing degrees
Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
Unit - Add Meteor Crash to (Last created unit) // Meteor Crash is Hoof Stomp 's edited.
Unit - Set level of Meteor Crash for (Last created unit) to (Level of Meteor Fist for (Triggering unit))
Custom script: call IssueImmediateOrderById(GetLastCreatedUnit(),852127)
Wait 2.00 seconds

But it's still does't count kill and get more lag suddenly after use it.( Maybe Some Memory Leak ??)

Please give me some advice...
10-22-2006, 04:18 PM#2
blu_da_noob
For the first one, my bet would be that it's the summoned unit doing the damage for Infernal (because of previous results where no damage is done if the summoned unit is instantly removed). What do you need to get the killing hero for?
10-22-2006, 04:34 PM#3
Jazzyfromhell
I detect Hero kill to add some bonus damage if he can kill other hero.

But, really , the problem is why inferno spell doesn't make Hero kill count trigger to work. It's still work when I test this with other damage spell like shockwave or War stomp.
10-22-2006, 11:15 PM#4
Pheonix-IV
Because the damage done by the Inferno spell is dealt by the summoned unit, NOT the caster. The 'infernal' is the source of the damage. Not sure why Blizz programmed it like that, but they did.
10-22-2006, 11:39 PM#5
Jazzyfromhell
Okay...I see.

I have solve this problem by set owner of hero and hero into variable when the player choose specific hero. ( I should have do this earlier. )

and...
Trigger:
Collapse Events
Unit - A unit Dies
Collapse Conditions
((Dying unit) is A Hero) Equal to True
(Owner of (Killing unit)) Equal to <Variable of Player that play hero with Meteor>

And the rest is just replace Killing Unit with variable of Hero.

You 2 help me to figure out. Thx
Rep++

But, Sorry for this non-compicate thread , I have waste an area for this board.
10-24-2006, 02:04 AM#6
[VDM]Amn
in the campaign, there's this map where this spell inferno is cast in a random point inside your base, a tower or something. then this infernals starts attacking everything at range.
but there's no visible caster. maybe the spell was done precisely for this campaign map.