Jump to content
  • 0

Double Armor Element in Random Option


mawjustin

Question


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   6
  • Joined:  09/26/14
  • Last Seen:  

Hi guys, does this really work? I understand that card will always be a priority when it comes to equipment, but what about in random option? does this stack? considering they're both random option? If not, can we change the script of this random option into stackable ones?

image.png.9b59b8b0d94d23aa91a9bc6b4f05e3db.png

RDMOPT_BODY_ATTR_NOTHING,{ bonus bDefEle,Ele_Neutral; }
RDMOPT_BODY_ATTR_WATER,{ bonus bDefEle,Ele_Water; }
RDMOPT_BODY_ATTR_GROUND,{ bonus bDefEle,Ele_Earth; }
RDMOPT_BODY_ATTR_FIRE,{ bonus bDefEle,Ele_Fire; }
RDMOPT_BODY_ATTR_WIND,{ bonus bDefEle,Ele_Wind; }
RDMOPT_BODY_ATTR_POISON,{ bonus bDefEle,Ele_Poison; }
RDMOPT_BODY_ATTR_SAINT,{ bonus bDefEle,Ele_Holy; }
RDMOPT_BODY_ATTR_DARKNESS,{ bonus bDefEle,Ele_Dark; }
RDMOPT_BODY_ATTR_TELEKINESIS,{ bonus bDefEle,Ele_Ghost; }
RDMOPT_BODY_ATTR_UNDEAD,{ bonus bDefEle,Ele_Undead; }


Is it also possible to have a script that will increase the level of an element when the same element is equipped? Example, [Armor Element] Lucius Fire Armor + [Card Slot] Pasana Card + [Random Option] Armor Element (Fire) = Level 3 Fire Armor?
 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.14
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

1 hour ago, mawjustin said:

Hi guys, does this really work? I understand that card will always be a priority when it comes to equipment, but what about in random option? does this stack? considering they're both random option? If not, can we change the script of this random option into stackable ones?

image.png.9b59b8b0d94d23aa91a9bc6b4f05e3db.png


RDMOPT_BODY_ATTR_NOTHING,{ bonus bDefEle,Ele_Neutral; }
RDMOPT_BODY_ATTR_WATER,{ bonus bDefEle,Ele_Water; }
RDMOPT_BODY_ATTR_GROUND,{ bonus bDefEle,Ele_Earth; }
RDMOPT_BODY_ATTR_FIRE,{ bonus bDefEle,Ele_Fire; }
RDMOPT_BODY_ATTR_WIND,{ bonus bDefEle,Ele_Wind; }
RDMOPT_BODY_ATTR_POISON,{ bonus bDefEle,Ele_Poison; }
RDMOPT_BODY_ATTR_SAINT,{ bonus bDefEle,Ele_Holy; }
RDMOPT_BODY_ATTR_DARKNESS,{ bonus bDefEle,Ele_Dark; }
RDMOPT_BODY_ATTR_TELEKINESIS,{ bonus bDefEle,Ele_Ghost; }
RDMOPT_BODY_ATTR_UNDEAD,{ bonus bDefEle,Ele_Undead; }


Is it also possible to have a script that will increase the level of an element when the same element is equipped? Example, [Armor Element] Lucius Fire Armor + [Card Slot] Pasana Card + [Random Option] Armor Element (Fire) = Level 3 Fire Armor?
 

i think it will work depends in the script you put in your item_equip.yml  and if it is all in there i think it will be stackable

    Script: |
        bonus bMdef,2; autobonus "{ bonus bBaseAtk,20; }",10,10000,BF_WEAPON,"{ specialeffect2 EF_ENHANCE; }";

Edited by chadness
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  63
  • Reputation:   35
  • Joined:  07/04/19
  • Last Seen:  

Armor elements will not stack.

the player element is set by a the bDefEle bonus script, and its value will be overwritten by the next bDefEle value.

basically what happens is that first the gear script will be executed, so if you're wearing a water element armor, your element will become water.

right after that the cards script will be executed. so if you have a pasana card in your armor, your element will become fire.

and finally the random option bonuses will execute. so if you have a bonus that sets your element to wind it will change to wind, and if you have another bonus that set is to ghost then that will overwrite your element to ghost etc..

i'm not sure about the order of the random option bonuses, but probably the last option will be the active one.

On 1/29/2021 at 4:02 PM, chadness said:

Is it also possible to have a script that will increase the level of an element when the same element is equipped? Example, [Armor Element] Lucius Fire Armor + [Card Slot] Pasana Card + [Random Option] Armor Element (Fire) = Level 3 Fire Armor?

it is possible, but you'll need a source modification to achieve this

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   6
  • Joined:  09/26/14
  • Last Seen:  

4 hours ago, Mastagoon said:

Armor elements will not stack.

the player element is set by a the bDefEle bonus script, and its value will be overwritten by the next bDefEle value.

basically what happens is that first the gear script will be executed, so if you're wearing a water element armor, your element will become water.

right after that the cards script will be executed. so if you have a pasana card in your armor, your element will become fire.

and finally the random option bonuses will execute. so if you have a bonus that sets your element to wind it will change to wind, and if you have another bonus that set is to ghost then that will overwrite your element to ghost etc..

i'm not sure about the order of the random option bonuses, but probably the last option will be the active one.

it is possible, but you'll need a source modification to achieve this

thank you.. it will be painful to do modifications

 

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...