Item db2

arthurcunha1991

New member
Messages
20
Points
0
Age
34
Emulator
Client Version
20180620
 




Code:
I would like some help




 




Code:
Like I do to leave Agi and Bless Active in Custom hat until X Level
Code:
Ex: player got level 60 agi and bless ceases to be active and some only gets the look of the custom hat




 
 




I would like some help




 




Code:
Like I do to leave Agi and Bless Active in Custom hat until X Level
Code:
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:

Code:
Script: <"
		if(BaseLevel>80) { specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10; }
	">
 
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




 





Code:
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

 
Last edited by a moderator:
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




 





Code:
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; ">
},

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

 
Code:
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


 
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.

 
 





I just added this to item_db2







Code:
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 :)"; ">
},

 
Back
Top