Jump to content
  • 0

Skills Below % Of Hp


Question

Posted (edited)

hey, im trying to create a skill that gives 15 evasion while your hp is below 30%, but the point is, it only works when my hp is below 30% and i have to hit something. I mean like even if i stand with 20% of my hp, the skill wont work until i do something like using another skill, hitting something. Getting hit or walking doesnt work!!!

<skill id="8520" levels="1" name="Testing">
        <set name="mpConsume" val="0"/>
        <set name="target" val="TARGET_SELF"/>
        <set name="reuseDelay" val="0"/>
        <set name="hitTime" val="0"/>
        <set name="skillType" val="BUFF"/>
        <set name="operateType" val="OP_PASSIVE"/>
        <for>
                <add order="0x40" stat="rEvas" val="15">
                    <player hp='30'/>
                </add>
        </for>
    </skill>

EDIT: Getting healed (when ur hp becomes more than 30% still gives +15 evasion until you hit something.

Edited by ElTyto

4 answers to this question

Recommended Posts

  • 0
Posted

check final fortress

<skill id="291" levels="11" name="Final Fortress">
        <table name="#final"> 116.9 129.0 141.6 150.4 159.3 168.4 177.7 187.0 196.5 206.2 215.8 </table>
        <set name="target" val="TARGET_SELF"/>
        <set name="skillType" val="BUFF"/>
        <set name="operateType" val="OP_PASSIVE"/>
        <for>
            <add order="0x40" stat="pDef" val="#final">
                <player hp="30"/>
            </add>
        </for>
    </skill>
  • 0
Posted (edited)

 

check final fortress

<skill id="291" levels="11" name="Final Fortress">
        <table name="#final"> 116.9 129.0 141.6 150.4 159.3 168.4 177.7 187.0 196.5 206.2 215.8 </table>
        <set name="target" val="TARGET_SELF"/>
        <set name="skillType" val="BUFF"/>
        <set name="operateType" val="OP_PASSIVE"/>
        <for>
            <add order="0x40" stat="pDef" val="#final">
                <player hp="30"/>
            </add>
        </for>
    </skill>

mine one is just like that :)

 

 

Probably you are using aCis.

Its like a visual bug.

yeah i am

 

 

 

Check frenzy, and try to make something similar but as a passive skill.

did it before doing it the way it is now, didnt work at all (maybe cause i deleted <cond msg="131" NpcID="1" or w/e it was with <cond> </cond>. i dont want any system messages.

is there any chance that i could make it instead of 15% to a flat value? like 1 hp .

Edited by ElTyto

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...