Jump to content
  • 0
Sign in to follow this  
arthurcunha1991

Item db2

Question

 
I would like some help
 
Like I do to leave Agi and Bless Active in Custom hat until X Level

Ex: player got level 60 agi and bless ceases to be active and some only gets the look of the custom hat

 

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
On 5/24/2019 at 10:29 PM, arthurcunha1991 said:
 

I would like some help
 

Like I do to leave Agi and Bless Active in Custom hat until X Level


Ex: player got level 60 agi and bless ceases to be active and some only gets the look of the custom hat

 


Add this in your specific item:

Script: <"
		if(BaseLevel>80) { specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10; }
	">

 

Share this post


Link to post
Share on other sites
  • 0
I want to put a HAT, that it buff and Status Until level 80 dps it does not give anything else, but every time I put a status it buga

   

 
Is there no way to let permanent skill equal vigor? That's when X level disappears.

EX: Ahura Madzar
OnEquipScript: <" sc_start4 SC_ENDURE,60000,10,0,0,1; ">
    OnUnequipScript: <" sc_end SC_ENDURE; ">

 

my script item_db2
    Script: <"
    OnEquipScript: if(BaseLevel<80) {
        sc_start SC_INC_AGI,-1,10; }">
    OnUnequipScript: <" sc_end SC_INC_AGI; ">
},

bug.png

Edited by arthurcunha1991

Share this post


Link to post
Share on other sites
  • 0
18 hours ago, arthurcunha1991 said:

I want to put a HAT, that it buff and Status Until level 80 dps it does not give anything else, but every time I put a status it buga

   

 

Is there no way to let permanent skill equal vigor? That's when X level disappears.

EX: Ahura Madzar
OnEquipScript: <" sc_start4 SC_ENDURE,60000,10,0,0,1; ">
    OnUnequipScript: <" sc_end SC_ENDURE; ">

 

my script item_db2
    Script: <"
    OnEquipScript: if(BaseLevel<80) {
        sc_start SC_INC_AGI,-1,10; }">
    OnUnequipScript: <" sc_end SC_INC_AGI; ">
},

bug.png

Do you want to give the buff whenever the player level? or permanently after level 80?

Share this post


Link to post
Share on other sites
  • 0
5 minutes ago, arthurcunha1991 said:

it working only that every time I change map or @go 1 or @go 2 the status he buga there I have to unequip and equip again

I think you would have to do a script out, which checks if the player was using your equipment to apply the buff.

if you apply the buff only inside the script of the equipment, it will only work when the player equips the item.

 

Share this post


Link to post
Share on other sites
  • 0
 
I just added this to item_db2
if you can help me I thank you, the problem is every time I teleport the status bugs, then I have to strip and put the equipments again

 

{
    Id: 29314
    AegisName: "VISUAL314"
    Name: "VISUAL314"
    Type: "IT_ARMOR"
    Loc: "EQP_COSTUME_HEAD_TOP"
    Refine: false
    ViewSprite: 3314
    Trade:
        nodrop: true
        notrade: true
        noselltonpc: true
        nocart: true
        nostorage: true
        nogstorage: true
        nomail: true
        noauction: true
    Script: <"
        if(BaseLevel>60) {
        bonus bAllStats,1;
        specialeffect(EF_INCAGILITY, AREA, playerattached());
        sc_start SC_INC_AGI,3800000,10;
        }
        if(BaseLevel<60) {
        bonus bAllStats,3;
        bonus2 bExpAddRace, RC_All, 2;
        }
        ">
    OnEquipScript: <" dispbottom "Você tem +3 Em Todos os Status e Bonus 2% Exp de todas as Raças monstros até o level 60"; ">
    OnUnequipScript: <" dispbottom "Você perdeu todos os Bonus do BONÉ FnaticRO :)"; ">
},

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.