Need guidance!

Status
Not open for further replies.

D

D

D

Hi all. I'm not exactly a really good mapper, but since mapping has always been my passion i would like to ask a few questions.

Ever since i added in my own spells to my own map, i've realize that for certain spells, the spells do not take effect and instead kill the unit that i casted the spell upon. In exchange for this, my hero (with the ability) is reseted to full health.

For example:

Hero: uses hex on a unit creep.
Creep: (affected by hex) dies.
Hero: Has hp reseted to full.

I've got no clue why this happens.

Furthermore, certain items that i have place in my maps kill heroes that use them instead of healing them.

For example:

Hero: uses healing potion
Hero: dies immediately after potion is consumed.

I'm mystified about this.


No forgetting to mention, certain spells like searing arrow do fine on my map whilst auto-casting is on but when manually casted, kills the enemy unit in 1 hit. Affects most units.

For example:

Hero: uses searing arrows
Creep: (afflicted by searing arrows: manually casted)dies in 1 hit
Hero: resets to full health?


Would like as much help as i can get. Thanks =)
 
Hi all. I've checked, there ain't such a trigger under my trigger editor. But for certain spells they work okay.

For example:

Hero: (Casts Chain Lightning)
Creeps in line:( first creep affected by chain lightning) dies
2nd creep:takes normal damage
3rd creep:lesser damage.
4th creep:etc
Etc

So far its okay for certain spells. And likewise for the potions. I still can't fix the problem. Will appreciate all help i can get. Thanks.
 
Yes, this is an other evidance that there IS a trigger like that I wrote. Let me guess: all unit-targetted spells are bugged while they kill the target unit. Others (like potions) that are instant spells (thay do not have a target) are fine.
Look up all triggers that have the event
Unit starts the effect of an ability, or
Unit begins casting an ability, or
Unit finishes casting an ability, and search for the action
Kill (Target Unit of Ability Being Cast), and delete it!!

I'm sure there is one!
 
im with paskovich here...im guessing u made a triggered spell but forgot to put the condition (ability being cast is equal to...) dat's why it affects all spells being cast. Either it kills the unit or deals tons of damage. So aside from kill unit trigger action check for your damaging triggered spells and look at how much damage they deal...u must have added an extra 0 or two.
 
Thanks guys for the help. But i still have this other problem. For example, certain units cannot perform certain spells without killing themselves.

Example:
Give an archmage a war stomp and when he casts the spell. He kills himself instead of casting the spell. What is up with this?

I still haven't found the trigger causing all these problems. Will anyone want to take a look for me under the triggers section?

Thanks
 
First, is the warstomp attached to any triggers? If so, check those incase they might be killing [Casting Unit] or [Triggering Unit]

If that fails,

Find any triggers that have to do with a caster/target/etc dying, and disable those.

If that fails,

Look through the Targets Allowed and Damage of your warstomp and see if the arcmage could be damaging himself

Then, slowly un-disable the triggers until you find your problem [if it wasnt the targets allowed + damage] (we did this step anyways since you could be having problems on multiple accounts)

If those dont work, then its probably just some weird wc3 bug, and try remaking the obj. data from scratch

Edit: and if that STILL doesnt work, base the unit off a Tauren Chieftain and give him a ranged attack :P
 
Last edited:
Status
Not open for further replies.
Back
Top