HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Looking for Helping Hands....

09-29-2003, 01:41 PM#1
ABM
I Need help with sometihng i wana do:

I want to put an ability on a units (building) to get the effect of a mana drain, i want the building to loose 1 mana every second.
i tryed to use the permanent immolation with setting all to 0 except the cost of 1 mana per turn but it doesn't seem to work?

I am actually doing an units(building) with a Shapechanging ability that allow the units to take the form of anything it attack the units once transformed can revert back to normal or stay in this new form.
normal form mana recovery is 1/s.
Shapechanged form the mana recovery is - 1/s.

the units must loose one mana each sec when it is in transformed form so it need to switch back to normal to recover mana if it doesn't switch back when the mana reach 0 the units will instantly recover its original form.

I tryed to put mana regeneration to -1.0 but it doesn't allow me to do that. Anyone has a clue to get this units loose mana by an easy way like with an ability. trigger is also possible but i allready triggered a lot to make this up and it can change to 35 different form so i wish i don't need to trigger all again...:p


Pleeeeeease Hellllllp.......:))
09-29-2003, 06:43 PM#2
D4RKSLAY3R
I can help, for your first question, use this trigger

EVENTS: a Unit enters reigon (playable map area) AND Every 1 second of game time.

CONDITIONS:
unit type of (triggering unit) equal to (Shapeshifter tower).

ACTION:
Decrease the mana of ((triggering)unit) by 1

And for your second question, use:

EVENTS:
Unit enters region (playable map area)

CONDITIONS:
Unit type is equal to (shapshifter tower)
AND Mana of (triggering unit) is equal to zero

ACTIONS:
Remove (triggering unit) from game
Create 1 Shapeshifter tower at postion of (triggering unit)

ALSO u CAN set mana regen to -1, by goin into File, Preferences, General, Allow negative values in object editor. HOWEVER this would make your tower lose 1 mana a second BUT its mana would stay at 0 when it reached zero.. so your tower wouldn't be able to shapeshift again.

I hope ive answered your question :ggani:
09-29-2003, 07:04 PM#3
Panto
Take a look at the Undead Destroyer. I never have, but it has negative mana regeneration.

You might just need to "Allow negative values" in your WE.
09-29-2003, 09:08 PM#4
ABM
D4RKSLAY3R thanks for your trigger but i already have mine and they work well as i don't want enter area in the trigger it wouldn't work on my map but thanks anyway

BUT the GREAT THING YOU DID is to tell me to change:
mana regen to -1, by goin into File, Preferences, General, Allow negative values in object editor.
i didn't know i could do that even if i saw that the phenix had a - 20 regeneration i couldn't sett mine to that for it would always go to 0.

GREAT THANKS for the tips about the preference !! you save my life !! Thanks also to Panto who tell me the same tips wich is exactly what i wanted thanks to both....

YAAAAAHHOUUUUU !!