HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Snipe Shot

07-14-2004, 03:29 PM#1
dragnstitch
ok im trying to make a Assassination Via Bow going to need one for melee to but thats next..

i am right now using Storm bolt with 1 dmg then running this trigger
Code:
Snipe
    Events
        Unit - A unit Finishes casting an ability
    Conditions
        (Ability being cast) Equal to Snipe 
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Random integer number between 1 and 20) Equal to 5
            Then - Actions
                Unit - Kill (Target unit of ability being cast)
            Else - Actions
                Unit - Set life of (Target unit of ability being cast) to (Random percentage)%

it doesnt work at all.. please help..

Snipe
Lvl 1
5% Chance to Instant Kill
95% Chance to do Several Damage

Level 2
10% Chance to Instant Kill
90% Chance to Several Damage

Level 3
15% Chance to Instant Kill
85% Chance to Serveral Damage
07-14-2004, 03:31 PM#2
th15
If you use the "finishes casting an ability event" you cannot use the "target unit of ability being cast" event response. By the time your event goes off, the game has already 'forgotten' the target unit. You could assign the target unit to a variable when the unit begins casting then use that unit variable for the actual effect.
07-14-2004, 03:48 PM#3
dragnstitch
ahh ok.. thanks. that was my biggest problem i had with that one..

BTW TH15 is there anywhere i cna learn or you cna help me with that tank thing? where you can manually aim the tank shot? i might use something like that with archers
07-14-2004, 03:51 PM#4
Anitarf
Either what th15 said, or use the event "starts the effect of an ability".

On a side note, I think that setting the life to a random percentage doesn't necessarily damage the unit, if the unit is already damaged and the random percent is higher than the unit's health, this assasin can actually heal it. :)
07-14-2004, 03:54 PM#5
th15
Someone's already asked me that. Take a look at my website (link below).
07-14-2004, 03:58 PM#6
dragnstitch
yea i just ran into that problem lol.. im going to have to edit that later.. take HP of Unit, - % so it gives it a chance to killem anyway but normal method to a full health unit would do damage.

yea the assassin is that bad lol

TY TH15