Jump to content

Critica

Members
  • Content Count

    76
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Critica


  1.  

    --

    Card: Bonus effec ( + 5 AGI when eqiupped on Armor , + 5 VIT when equipped on Garment ) 

     

    only one effect should work, and depends where it is slotted...

     

    the post is your answer

     

    you said it depends where it is slotted, but you put it also in item which is slotted thats why they are both have effects

     

    yes! it does work, now the problem is"

     

    when you have the "card" for example

     

    Garment with the slotted card, it gives me bonus but when i equipped "Any" armor, i suddenly get 

    the bonus for armor too, even tho i dont have the "card" on that armor,,, get what im trying to say?

     

    my english is bad sorry., :<


  2. @unknown... uhmm here how it should work

    Card: Bonus effec ( + 5 AGI when slotted on Armor , + 5 VIT when slotted on Garment ) 
    only one effect should work, and depends where it is slotted...

    so if

    Garment Slotted with this card i gain + 5 VIT ( no AGI )
    if Armor Slotted i gain + 5 AGI ( no VIT )


    its like getting 2 different kinds of effect, with 1 card but only 1 will work
     

    @malufett
    Sir, when it works but only when you equipped it 1 @ the same time, but when you equipped both with the "card" the bonus is gone

    >> pag inequip mo isa lng gagana ung effect, pero pag dalawa na nka equip with the effect, nwawala na ung effect, ( naubusan na ng egnlish lol)


  3. (getiteminfo(getequipid(EQI_ARMOR),5)==16

    5 = equip , 16 = is Armor ( as far as i know... since it works..)

    getiteminfo(getequipid(EQI_GARMENT),5)==4

     

    5 = equip , 16 = is Garment
     

    Loc: Equipment's placement. Values are:
    2^8  256 = Upper Headgear
    2^9  512 = Middle Headgear
    2^0  001 = Lower Headgear
    2^4  016 = Armor
    2^1  002 = Weapon
    2^5  032 = Shield
    2^2  004 = Garment
    2^6  064 = Footgear
    2^3  008 = Accessory 1

    2^7  128 = Accessory 2

     

    the problem is that... for ex

    when i equipped the Garment(with the card bonus) i get the + AGI only but...

    when i equipped any armor i get the "Armor bonus" too ( +VIT )

    its like. the bonus works even tho its not equipped on the proper slot( Head/Garment/Armor) as long as you have something equipped on it., the bonus effect will work

     

    ive tried this too, but the same problem.

    { if (getequipisequiped(EQI_ARMOR)) { bonus bVit,5; } if (getequipisequiped(EQI_GARMENT)) { bonus bAgi,5; } },{},{}

     


  4. Now.. id like to work it like this,,,

    but instead of those it'll be like
    something like this...

    Helm(Top/Mid/Low) = +5 INT
    Armor = +5 VIT
    Garment = +5 AGI

     

    Gems.png

     

    so far this is the bonus that is working right now but there is still a problem

    { if (getiteminfo(getequipid(EQI_ARMOR),5)==16) { bonus bAgi,5;} if (getiteminfo(getequipid(EQI_GARMENT),5)==4) {bonus bVit,5;}  }

    it doulbes the effect when you equipped both of them at the same time (the item with the same slotted card)


  5. im getting an error when using || and &&

     

    { if (getiteminfo(getequipid(EQI_ARMOR),5)==16) { bonus bAgi,5;} || if (getiteminfo(getequipid(EQI_GARMENT),5)==4) {bonus bVit,5;}  }


    as i posted above, the only problem now is it doubled the bonus effect, 


  6. Ok now.. this works now

    { if (getiteminfo(getequipid(EQI_ARMOR),5)==16) { bonus bAgi,5;} if (getiteminfo(getequipid(EQI_GARMENT),5)==4) {bonus bVit,5;}  }

    problem now is,,, it doubles both effects...

    so it gives +10 VIT and +10 AGI when both equipped (with the card effect)
    which is supposed to be only +5 VIT and AGI


  7. Yep ive tried that, thats one is working,, now the problem is

    when you equipped both garment and the armor (with the effects)

    it disregard the bonus of the garment, and doubles the effect of the armor,

    Here's the result

    Equipped with armor ( + 5 AGI ) no garment equipped
    Equipped garment ( +5 VIT ) no armor equipped

    Both armor and garment eqquiped ( + VIT gone AGI becomes +10
     


  8. got an error

     

     

    script:add_word: invalid word. A word consists of undercores and/or alfanumeric characters, and valid variable prefixes/postfixes.*  317 : { if (getequipid(EQI_ARMOR)) bonus bVit,5; '&'& if (getequipid(EQI_GARMENT)) bonus bAgi,5; }[Error]: 

  9. YES.

    so the card will have 2 different effects.
    ex.
    if its sloted on Armor ( +2 str )
    if its sloted on Garment ( +2 vit )

    on the card effect will be if (eqp armor) +2 STR; else if (eqp garment) + 2 VIT;

    so far i have this bonus working

     

    { if (getiteminfo(getequipid(EQI_ARMOR),5)==16) bonus bAgi,5; else if (getiteminfo(getequipid(EQI_GARMENT),5)==4) bonus bVit,5; } 

    but the problem is it works on opposite, when armor is eqp it gives VIT and if garm is eqp it gives AGI

    and when both item is eqp, the bonus is gone... (it is slotted by card with the effect btw)


    Just for the heads up- i costumized the card to be able to slotted on Armor / Garment / HG's
     

    4002,Fabre_Card,Fabre Card,6,20,,10,,,,,,,,789,,,,, 


    "789" so it can be slotted to those equips,,, this card will have 3 different effects, and will only active depending on which equips it is slotted.


  10. This item bonus if from Necro card...

    i know what it does but could somebody explain more details for me pls?

    if(getiteminfo(getequipid(EQI_HAND_R),11)==10) 

    i just need to know what does "11" and ==10 means

    or this (drosera card)

    f(getiteminfo(getequipid(EQI_HAND_R),9)>3) 

     i wana know what these number represents...


  11. hmm ok i thought i got it,, but nope...

    it works. not the problem is, it gives all the bonuses when i eqquiped the item..

    i tried this

     

    ,{ if (getequipid(EQI_ARMOR)) bonus bVit,5; else if (getequipid(EQI_GARMENT)) bonus bAgi,5; },{},{}

     

    it doesnt give the bonus AGI onyl VIT, but when slotted on garment it still gives VIT bonus which is supposed to be AGI



    :>


  12. Halow. just need a quick help

    its this possible?

    adds +5 to STR if equipped in HELM, if equipped with GARMENT +5 to AGI, if eqp with ARMOR +5 to VIT.

    only 1 bonus will work, and depends on where it was equipped, this is a card bonus btw.


    im making a custom card type item that can be slotted to HELM or GARMENT or ARMOR but will change bonus depends on where it is equp.

    an example bonus would much be appriciated biggrin.png thanks!

  13. Hi!


    1st time ko ggmit ng hercules,

    uhm pano ba mag create ng patch dito? ung custom..

    pede ba ung same way katulad nung date gamit ung tortoise? 
    iba kase ung tortoise na gmit d2 e


  14. EXCELLENT!

    ive tested it today, and everything is working according to my plan, huehuehue! >:)

    now, if you dont my, i have a last request..

    could you add slot 1 on the selection for slotting? 

    chances are like this..
     

    "1st Slot - 80% Success
    "2nd Slot - 70% Success
    "3rd Slot - 60% Success
    "4th Slot - 50% Success

    i know its a lot of scripting... but if you have free time can you do it please?  :D 
    im trying hard to script this by myself, but i only know basic stuff here so it might not work anyways...



    thanks in advance! 
     

  15. hmm.. im not sure if its gona work too, but i wana try..

    right now all i know is i gotta put this right?
     

    EQI_COSTUME_HEAD_LOW 11
    EQI_COSTUME_HEAD_MID 12
    EQI_COSTUME_HEAD_TOP 13
    EQI_COSTUME_GARMENT 14

    somewhere here

    		L_EnchantLoc:		mes "["+strnpcinfo(1)+"]";		mes "Select an equipment first, then I'll ask you the ^FF0000Enchantment Type^000000, ^FF0000Class Type^000000 (If necessary), ^0000FFSlot Number^000000, and give you the final ^009900Zeny Cost^000000 for my services.";		next;		setarray .@position$[1], "Headgear","Armor","Shield","Invalid","Garment","Footgear";		set .@menu$,"";		deletearray .@arr;		set .@j, 1;		for( set .@i,1; .@i <= 6; set .@i,.@i+1 )		{			if ((.@i == 3) && (getiteminfo(getequipid(3),5) == 32) && (getequipisequiped(.@i))) { // Only catch shields				set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]";				set .@arr[.@j], .@i;				set .@j, .@j + 1;				set .@menu$, .@menu$ + ":";			}			if(getequipisequiped(.@i) && (.@i != 4) && (.@i != 3)) {				set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]";				set .@arr[.@j], .@i;				set .@j, .@j + 1;				set .@menu$, .@menu$ + ":";			}					}

     


    but i couldnt understand it, im not sure which one to change...

    do you think you can help me? 

    ==

    o yeah, if your wondering why,,, i saw a topic and theres a diff makes you actually use/slot the costumes*
    and since enchantments acts like a card too.. would it be possible to work too right??

    correct me if im wrong...

    its in the other site. im not sure if its ok to post it here...

×
×
  • Create New...

Important Information

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