HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Earthquake/Moon Glaive

02-11-2003, 11:51 PM#1
Guest
Firstly, I'm having trouble getting the Moon glaive to work on a Hero I made for a map. I give her the ability, researched it and everything and it won't bounce.

Second, is there a way to make Earthquake damage units like it would structures rather then just slow them down. I have a spell editer just don't know what to change if it is possible.

Any help would be appreciated, thanks.
02-11-2003, 11:54 PM#2
Silencers
The bounce attack is really weird. It will only work if you abse your unit of a huntress. And for earthquake i suggest you look at the catagory targets although it still may not work.
02-12-2003, 12:41 AM#3
Mr.Safety
I haven't tested this but try changing the graphics for blizzard to those of the earthquake.

So you basically have a blizzard spell that looks like an earthquake. Obviously change the text and name of the spell and there you go.

If that doesn't work (as it may not since I haven't tested it), then use triggers. First read Darky26's thread (Found Here) to learn how to fix the following problem: the trigger going off before the spell does due to distances etc.
So once you know how to fix the problem and the trigger will go off at the right time, create an integer variable called "Earthquake". Find out the radius of earthquake and then create a region of approximately the same size. Then do something similar to the following triggers.

TRIGGER 1

EVENT
Unit - A unit owned by [Player] Is issued an order targeting a point.

CONDITION
(Issued Order) Equalto (Order(Earthquake))

ACTIONS
Region - Center [Your Region] on (Target point of issued order)
Trigger - Run (Below Trigger)(Ignoring Conditions)


TRIGGER 2

EVENT
None

CONDITION
Earthquake less than or equalto 10

ACTION
Set Earthquake = (Earthquake + 1)
Unit Group - Pick every unit in (Units in [Your Region]) and do (Unit - Set life of (Picked Unit) to ((Life of (Picked Unit)) - 25))
Trigger - Run (This Trigger) (Checking Conditions)

This second trigger as it is will deal 25 damage to each unit in the earthquake each second for 10 seconds. To change the length change the 10 in the condition. To change the damage, well simply change the 25 in the Unit Group action.

But I'd try the first method before going into the triggers. If it doesn't work then use Darky26's solution with the above triggers (or something similar).
02-12-2003, 02:12 AM#4
Guest
I've gotten the bounce to work by basing my custom hero off of the Priestess of the Moon, giving her mbounce, the moon glaive ability, and the moon glaive upgrade. However, I believe that it only bounces once.

If you are willing to dig into the .slks you could probably get it perfect.

I believe the columns in UnitWeapons.slk that you would want to tweak are:
Farea1
splashTargs1
targCount1
damageLoss1
spillDist1
spillRadius1