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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock