23 posts double u tea ef why should I tell you? joined
#1
: 25% of life
I want to make an ability just like > Quarter < from FFTA.. so that when you target an enemy it loses 25% of its life (or 50%.. not sure about that yet) I guess it's pretty easy to do with triggers... but I'm a noob at triggers so... please help
I knew this as Demi and it decreased the life by 25%... So... it is from CURRENT not maximm life. If you want from maximum I'll change the action:
Action - Set Life of (Target Unit of Ability being Cast) to Current Life of (Target Unit of Ability being Cast)*0.75 (this means that the unit receives 75% of its current life... So it loses 25% ).
23 posts double u tea ef why should I tell you? joined
#3
Thanks a lot Dealin... i might get myself more familiar with triggers some day
I asume that I should start with the condition: (Ability being cast) Equal to Quarter? en then: Actions: Unit - Set life of (Target unit of ability being cast) to 0.75
Its because uou're telling to set its life to 0.75, which rounds to 1. If you're gonna use a value trigger instead of percent like i said to, then do arithmatic, and for the first value scroll down to unit property and set it to Unit-Current life then for the second value to x0.75. Clear?
Umm... Hope you didn't put any wait before (Target Unit of Ability being Cast) and that it is a single condition. Also, hope you added both event and condition.
And ooops... Indeed it was Current Percentage life... I mess triggers up when I don't have the WE opened...
Untitled Trigger 001 Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Demi Actions Unit - Set life of (Target unit of ability being cast) to ((Life of (Targeted unit)) x 0.75)
Very easy, actually. Just set the base of the ability to any ability that has to target a unit. Understand now?