HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

% chance for poison spell HELP!

02-21-2004, 11:55 AM#1
volatile
Just what the name says :) Need help creating a poison spell like critical strike. % chance to deal poison dmg. I don't want the poison to be trigger based because I want gold for the kill so the trigger can't kill the target. If you know the solution to this problem, I would be grateful if you would share it with me :)
02-21-2004, 12:15 PM#2
FinalTyrant
Why dont u make a spell in which u can evade spells and base ur poison spell from envenomed weapons? but make the spell evading spell invisible...?
02-21-2004, 12:27 PM#3
volatile
Elaborate please.
02-21-2004, 12:29 PM#4
Anitarf
Here's what you do: find the ability for the item orb of slow and make a custom ability on the basis of it. The orb of slow is EXACTLY what you are looking for: a passive ability that gives a chance to cast a spell on the attack, in the case of the orb the spell is "slow", but you can change it to another custom spell based on shadow strike or unholy frenzy or something like that. You can even set different chances to cast the spell for heroes, units and summons.
02-21-2004, 12:29 PM#5
volatile
Do you mean, use this kind of trigger?

E
unit is attacked
C
attacking unit is poison dealer
A
give attacked unit evade poison?

If I did this, it would give the unit attacked a % chance to avoid all attacks, I just want the avoid to be whether or not poison is given.
02-21-2004, 12:32 PM#6
ABM
Before to say anything i would ask a few questions.

1) is your spell has a % chance to affect a target. that mean when u cast the spell can fail or deal poison damage.

2) is your spell poison the target but when poisonned the damage of poison can occur or not depending on a % chance each time. for ex: cast poison > enemy poisonned > each sec for 30 sec duration > if roll is 10 % deal damage, if roll is more don't deal damage.

3) is your spell a passive ability that deal poison damage on a % chance base like the ability critical strike.

4) is your spell a passive ability that can poison the enemy on a % chance base, and that when poisoned the enemy will take damage for 3 sec, until poisonned again.

Can you tell me wich one is your Spell.?.
02-21-2004, 12:34 PM#7
volatile
ok, made the custom ability, now the only thing I can change is the buff from slow to say... poison? Will that distribute poison dmg? Or do I need a trigger saying "unit has buff" if unit has buff deal dmg every 2 sec of game time etc... etc...?

number 3, I want it to deal attack dmg no matter what, but a passive ability with a % chance to deal stacking poison.
02-21-2004, 01:30 PM#8
Anitarf
Just make a new custom unit ability, base it on, say, unholy frenzy, only without the attack speed increase, with poison buff instead of unholy frenzy buff and with zero mana cost/cooldown and then take your custom ability you made of orb of slow and change the "Data - Effect ability" from slow(item) to your "poison" custom spell. Now, what will happen will be that whe your her learns the ability you made from orb of slow, his attacks will have a chance to "poison" an enemy, the poison being your "unholy frenzy"-based spell (if you want the poison to be undispellable, then just use Shadow Strike for your poison spell). Only one thing, since your poison is a spell made on the basis of other unstackable spells, it will not be stackable...
02-21-2004, 01:36 PM#9
ABM
Number 3 and 4 are not same.

number 3 can be based of critical strike or bash and remove the Xbonus damage (X2 X3 X4) u only need to use the Add damage.
so u will get a % chance to deal whatever damage, then u only need to add the poison buff, it is trigger free.

number 4 is different because u will actually really poison the target and there might be many way to deal with this one. but most would involve trigger.

ex:
integer array= rollpoison
integer = chancepoison
target = unit
tempunit = unit
E:
game elapsed time 1.0sec
C:
A:
set rollpoison(1)=1
set rollpoison(2)=2
set rollpoison(3)=3
set rollpoison(4)=4
set rollpoison(5)=5


E:
a unit is attacked
C:
attacking unit = poisonner hero
A:
set <Target> = attacked unit
set <chancepoison> = <Rollpoison>(random number 1 to 5)
wait 0.1sec
if, then, else
if <chancepoison> = 1
then do add poison aura to target.
wait 3.0sec
remove poison aura from target.
remove poison aura from target.
remove poison aura from target.
else do nothing

this method give a 20% chance to poison a target, the poison aura is an permanent immolation aura that only affect self.

E:
a unit is attacked
C:
attacking unit = poisonner hero
A:
turn off this trigger
set <Target> = attacked unit
set <chancepoison> = <Rollpoison>(random number 1 to 5)
wait 0.1sec
if, then, else
if <chancepoison> = 1
then do create a shaman at position of target
set tempunit= last created unit
order shaman to poison (to attack, to cast, or whatever) target
wait 1.1sec
kill tempunit
turn on this trigger

this method will create a shaman that has a poisonning attack or that cast cast a poison spell, shaman is based of child unit and has a 0.10 scale, it is invulnerable, it has infestation ability(Aloc).the attack of the shaman must be at max 1.0sec and ability if need to cast as fast as possible or increase the wait.


Both methode will work but the first one will not give you gold because the unit will kill itself.

if you are interested in any of these methode i can improve the trigger to work better for your game.
02-21-2004, 02:02 PM#10
volatile
I went ahead and made the spell, but now the icon when researched is grayed out, and it deals poison damage 100% of the time even though I set the % for all things to 15/30/45%. I based the poison off from poison sting.

and what is this attack index? It's set to 2. Should it be changed? The hero I'm giving this to has no 2nd attack, should he? Is this helping with my problem?

More issues with this spell... when it's researched it bypasses the spell and goes right to the effect spell. It stays on level1 no matter how many times I research it AND it doesn't give the % attrib of the slow orb ability at any level. This is irritating.

Since this slow orb ability is bugged beyond ****in repair, does anyone have any other way to create a % chance to give poison on attack?
02-21-2004, 02:09 PM#11
TyRulz
I agree with Anitar's ideea.Besides it looks a whole lot simpler than adding triggers to the spell.
02-21-2004, 02:49 PM#12
volatile
I used parasite instead. Made 3 levels of parasite and added them to the modified orb of slow ability. The icon is still greyed out and it doesn't do what it's supposed to do. Has anyone else had success messing with this orb of slow ability??

here's a question you have said "unholy frenzy" and the slow ability are both instants requiring no missile speed, are these spells the only type that will work with orb of slow? Instant spells?
02-21-2004, 03:08 PM#13
ABM
here is a map with the ability you want if u have trouble ask me i will explain...

it is a poisoning passive ability that has 20 / 40 / 60 % chance to poison an enemy and that deal poison damage 4 per sec for a duration of 15 sec on unit and 5 sec for hero.
02-21-2004, 06:55 PM#14
volatile
Dark Angel, I used your ideas above to create the spell on my own as well. I used a dummy skill and made it so the dummy skill triggers the creation of dummy casters. When the hero attacks, the dummy casters cast parasite with no creature spawn on death on the target. It works good too. Thx for the map :) I'll check it out :)