Add damage trigger and ability?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Black-Hole
Forum Fanatic
Posts: 315
Joined: October 16th, 2007, 7:32 pm

Add damage trigger and ability?

Post by Black-Hole »

Can someone make a trigger that increases damage of a tower by 25, and every time they use it make it cost 5g more (Starts at 100g)

So if the tower starts with 25 dam, it will now have 50 than if they use it again 75.... so on and so forth.
If there anyway that it will only effect that one tower that would be the best! and hopefully they will be able to use it unlimited times on any tower.

Also since none answered my other post can you please tell me how to put a Jass Script into my map. Im new to jass and i cant figure it out.
User avatar
Senethior459
Forum Staff
Posts: 2619
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Add damage trigger and ability?

Post by Senethior459 »

Can't you just make an ability that does what you want, takes x money from you when it's cast, and sets x=x+5?

Extract the war3map.j and open it in JassCraft. Then, you can just add the triggers under endglobals, and make sure to add any globals you need below globals.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
JustANewbie
Forum Spammer
Posts: 510
Joined: August 18th, 2012, 2:32 am

Re: Add damage trigger and ability?

Post by JustANewbie »

although very long already, but i suggest use upgrade
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: Add damage trigger and ability?

Post by Kyoshiro »

... 3 year bump
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.