How do I create a Bonus Skill/Premium Acc restriction?

Joselito

Vassal
Customer
How to create a restriction to not add the bonuses of an item. For example:
Vote Rune + 1.5 XP (Passive skill)
Premium acc + 1.5XP (Services Rate Bonus)

If the player is Premium, Vote Rune + 0 XP (Passive skill)

I don't want the bonuses to be added together, only one should prevail.
 
i think u will avoid a lot of problems if just make Premium lv 1 (12 hours for vote) and lv 2 (1 month or ur time u want) for donate
so when param is the same Vipstatus or skillid dont stuck


i dont use VipStatus but i think u can put the time u want to this status expire
 
Last edited:
How to create a restriction to not add the bonuses of an item. For example:
Vote Rune + 1.5 XP (Passive skill)
Premium acc + 1.5XP (Services Rate Bonus)

If the player is Premium, Vote Rune + 0 XP (Passive skill)

I don't want the bonuses to be added together, only one should prevail.
By Rune items. Example
Item:
XML:
    <etcitem id="9211" name="Rune of Experience Points 50%" add_name="5-hour limited period">
        <set name="class" value="OTHER"/>
        <set name="crystal_type" value="NONE"/>
        <set name="dropable" value="false"/>
        <set name="durability" value="300"/>
        <set name="icon" value="br_cashtex.item.br_cash_rune_of_exp_i00"/>
        <set name="temporal" value="true"/>
        <set name="tradeable" value="false"/>
        <set name="type" value="RUNE"/>
        <set name="weight" value="30"/>
        <skills>
            <skill id="90050" level="2"/>
        </skills>
    </etcitem>
Skill:
XML:
    <skill id="90050" levels="2" name="Rune of Experience Points 30%">
        <table name="#power">1.3 1.5</table>
        <set name="icon" val="symbol.utx-rune-xp-1"/>
        <set name="magicLevel" val="1"/>
        <set name="target" val="TARGET_SELF"/>
        <set name="skillType" val="BUFF"/>
        <set name="operateType" val="OP_PASSIVE"/>
         <cond>
                  <player is_premium="false"/>
         </cond>
        <for>
            <mul order="0x30" stat="ExpMultiplier" val="#power"/>
        </for>
    </skill>

Here is condition for it
XML:
<cond>
 <player is_premium="false"/>
</cond>

Also use the Search at Forum. Already a lot of info about it
 
Last edited:
Back
Top