HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Orbs

03-20-2005, 06:57 AM#1
Guest
I'm trying to make an Orb of Polymorph, but I can't seem to get it to work. I basically copied the Orb of Slow and tried to modify it, but I have no idea what I'm doing? Could anyone point me in the right direction? What part of the ability causes the buff? How is the item linked to the buff? It's rather confusing to me.
03-20-2005, 07:13 AM#2
divine_peon
uhh. you will need a dummy unit for that.

get this...
Code:
Event:
A unit acquires an item

Conditions:
Item being manipulated equal to Orb of Poly...

Actions:
set orb_of_poly_unit = hero manipulating item

then another trigg
Code:
Event:
A unit is attacked

Conditions:
attacked unit is in units owned by [i]whatever player[/i]
attacking unit is orb_of_poly_unit

Actions:
set randomizer = random number between 1 to 10
if
   randomizer equal to 5
then
   create dummy at position of attacking unit
   order dummy to sorceress-polymorph attacked unit
   remove dummy
else
   do nothing

and when the hero loses the item
Code:
Event:
A unit loses an item

Conditions:
Item being manipulated equal to Orb of Poly...

Actions:
set orb_of_poly_unit = no unit
03-20-2005, 07:16 AM#3
Guest
That kind of sucks. Why can you have an orb of slow that uses the "slow" buff and the orb of lightning that has the "purge" buff, but not one that has a "polymorph" buff? I'm not trying to argue with you or attack you, I'm just confused.
03-20-2005, 07:19 AM#4
divine_peon
because i'm not fond of abilities. so sorry.
03-20-2005, 07:40 AM#5
Guest
Does that mean there is another way?
03-20-2005, 07:47 AM#6
divine_peon
i'm not so sure... i hope there is. :D
03-20-2005, 10:02 AM#7
logik
yes there is, try basing it off of orb of lightning (new)

and then set the chance to 100% and then set the spell to polymorph.

then give the item with that ability to a hero and give it a test run.
03-20-2005, 11:55 AM#8
Panto
Any ability that can have a single unit target can work with the Orb of Slow or Orb of Lightning abilities. However, the ability that's used shouldn't cost mana, should have 0.00 cooldown, and should have targets set to whatever you need.
03-20-2005, 02:34 PM#9
Guest
Thanks, I'll try that and report back to here. Also, I forgot about the mana usage requirements and cooldown. Thanks for reminding me! :)
03-20-2005, 07:30 PM#10
Guest
Well, crap. I must be doing something wrong. I have one item, and two abilities. One is an orb ability, and the other is the modified Polymorph. I think I've got everything linked together, but it doesn't work. No polymorphing. The orb part is working, with the graphics, and the sounds and all that, but I can't get anything polymorphed from it. What the crap am I doing wrong? Is there any way I can paste the data here?
03-20-2005, 07:52 PM#11
map-maker
cant you just make it like a triggered spell. like can u do something say:
event: a unit is attacked (something like this i dont have the WE open so i cant say for certain)
condition: can u do nething with items?(like i said no WE open) if u can and they have it do something like the attacking unit has the orb of poly in possesion or something of the sort if u can
action: cast polymorph targetting attacked unit
i dont know if thats possible just through it together in my head im not sure if it is though. well best of luck to ya
03-20-2005, 08:33 PM#12
Anitarf
Perhaps you forgot to remove the techtree requirements from polymorph? Polymorph by default requires sorceress master training.
03-20-2005, 10:45 PM#13
Panto
Well, I've made a polymorph or hex-based orb attack successfully before, so I know it works. Triggering the spell would be silly when such a flexible mechanic already exists to do what you want.
03-21-2005, 12:32 AM#14
Guest
Quote:
Originally Posted by Anitarf
Perhaps you forgot to remove the techtree requirements from polymorph? Polymorph by default requires sorceress master training.
Ah, excellent. That was just what I needed! So my Orb of Polymorph works! Yay! :D