Actions Based On Target HP

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » Spellcast Scripting » Black Mage » Actions based on Target HP
Actions based on Target HP
 Bismarck.Kyaaadaa
Offline
サーバ: Bismarck
Game: FFXI
user: Kyaaadaa
Posts: 585
By Bismarck.Kyaaadaa 2014-03-01 23:54:59  
Is there a way to script actions based on targets' HP percentages? I'm spit balling from other scripts based on MY HP%, but have nothing to compare to for this. My goal is: if mob HP% > x% <command>whatever</command>.
 Bismarck.Kyaaadaa
Offline
サーバ: Bismarck
Game: FFXI
user: Kyaaadaa
Posts: 585
By Bismarck.Kyaaadaa 2014-03-02 02:54:21  
da bump
 Ragnarok.Martel
Offline
サーバ: Ragnarok
Game: FFXI
Posts: 2084
By Ragnarok.Martel 2014-03-02 07:23:03  
Are you wanting this to act automatically when the mobs hp changes to within the specified % range? Or would you hit a trigger then have it react based on mob HPP?

Would probably be useful to know what you wanted this to do.
 Asura.Gabba
Offline
サーバ: Asura
Game: FFXI
user: Aikawa
Posts: 86
By Asura.Gabba 2014-03-02 07:37:56  
Automatic aka bot... no or using a bot..
Replace your action depending on HPP... yea
 Quetzalcoatl.Gencay
Offline
サーバ: Quetzalcoatl
Game: FFXI
user: Gencay
Posts: 417
By Quetzalcoatl.Gencay 2014-03-02 12:00:13  
i thought this was a FF12 thread for a minute >.>
[+]
 Bismarck.Kyaaadaa
Offline
サーバ: Bismarck
Game: FFXI
user: Kyaaadaa
Posts: 585
By Bismarck.Kyaaadaa 2014-03-04 22:40:52  
Ragnarok.Martel said: »
Are you wanting this to act automatically when the mobs hp changes to within the specified % range? Or would you hit a trigger then have it react based on mob HPP?

Would probably be useful to know what you wanted this to do.
Performing an action when a target mob's HP drops below a certain number is the real goal. I know that <if MPPLT="10"> or <if HPPLT="75"> work for MY hit point and MP %, but don't know the code for a target's.
Offline
Posts: 1018
By kenshynofshiva 2014-03-05 09:22:09  
Something like GT/LT in percentage:

<if SpellTargetHPPGT="98">
<changespell Spell="Cure" />
</if>
 Bismarck.Kyaaadaa
Offline
サーバ: Bismarck
Game: FFXI
user: Kyaaadaa
Posts: 585
By Bismarck.Kyaaadaa 2014-03-08 20:19:11  
aha, i was trying <if TargetHPPLT="x"/> rather than SpellTargetHPPLT. That'll do, pig. Thanks much!