- Joined
- Apr 24, 2016
- Messages
- 142
- Reaction score
- 67
- First Language
- English
- Primarily Uses
Just a simple request.
I currently have a Variable set to show a targets name in attacks but it's not exactly working how I intended. The Variable is currently labelled under 500 as "b.name" where in a Skill, it would apply the Variable to a skills formula (eg = v[500] = b.name ; a.atk * 4 - b.def * 2) and in the "Using Message" it would state such as "(User Name) attacks \v[500]!"
The problem however is that it does not initiate the name of the target correctly. It only applies the Variable "after" the damage calculation has been done, not "when" the attack is initiated.
A example of what is going wrong.
Rustin attacks 0! <- Rustin called the attack but the Variable is still set to a default value (in this it's 0).
Rustin hits Bear for 200. <- Variable only activated "after" damage calculation was applied.
Damian attacks Bear!
Damian hits Bear for 250.
Bear raises up and slams both paws on to Bear! <- Variable is clearly not working as intended here. We want to see "who" the Bear is attacking.
Bear hits Damian for 150.
Does anyone know how to "resolve" the issue? I just need some way, even a script, to say which character/enemy is attacking which "target".
I currently have a Variable set to show a targets name in attacks but it's not exactly working how I intended. The Variable is currently labelled under 500 as "b.name" where in a Skill, it would apply the Variable to a skills formula (eg = v[500] = b.name ; a.atk * 4 - b.def * 2) and in the "Using Message" it would state such as "(User Name) attacks \v[500]!"
The problem however is that it does not initiate the name of the target correctly. It only applies the Variable "after" the damage calculation has been done, not "when" the attack is initiated.
A example of what is going wrong.
Rustin attacks 0! <- Rustin called the attack but the Variable is still set to a default value (in this it's 0).
Rustin hits Bear for 200. <- Variable only activated "after" damage calculation was applied.
Damian attacks Bear!
Damian hits Bear for 250.
Bear raises up and slams both paws on to Bear! <- Variable is clearly not working as intended here. We want to see "who" the Bear is attacking.
Bear hits Damian for 150.
Does anyone know how to "resolve" the issue? I just need some way, even a script, to say which character/enemy is attacking which "target".
