How do you make a condition that can tell if the damage taken was from an ability? I need something like: Conditions: damage taken was from an ability equal to trure... i need something like that.
Uhh, it's a bit complicated, but... Hmm, I have an idea, but to make it, you need the World Editor Unlimited.
So my trigger:
Trigger:
Stormbolt
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Storm Bolt (Abil)
Actions
Set SB_Unit = (Target unit of ability being cast)
Set SB_Caster = (Triggering unit)
Trigger - Add to SB_Trigger the event (Unit - SB_Unit Takes damage)
Trigger - Take SB_Trigger and add this condition: ((Damage taken) Greater than 0.00)
Trigger - Take SB_Trigger and add this condition: ((Damage source) Equal to SB_Caster)
Trigger - Take SB_Trigger and add this action: (Game - Display to (All players) the text: (Damage done: + (String((Damage taken)))))
Trigger - Take SB_Trigger and add this action: (Trigger - Take SB_Trigger and remove all actions)
Trigger - Take SB_Trigger and add this action: (Trigger - Take SB_Trigger and remove all conditions )
You have to create a this trigger for every single target spells and add the spells with an "or" condition, and you have to create an another one for the AoE spells using an unit group.
Forgot to add: this trigger leaks, I made it to demonstrate
EDIT: ooh, wait... something doesn't work...
Trigger:
Trigger - Take SB_Trigger and add this condition: ((Damage source) Equal to (Triggering unit))
Without it works, but fires when the target takes damage, not depends on the damage source...
EDIT2: okay, I'm a complete retard, the problem solved, trigger and map updated.
I don't use it. I use JASS NewGan Pack (I'm a JASSer), I only use it's interface, because it contains a lot of actions, conditions and events, what the original editor doesn't, but available it's JASS command. And it's loading screen looks better
EDIT: ohh, and this trigger doesn't contain any function, what aren't exist in the original wc3 script file. (So doesn't contain any custom function [There aren't any problem with the WE Unlimited, the problems are with some of its custom abils, because they uss Game Caches and return bugs, and it could crash the game, as someone said.)
Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
@tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences