Jump to content
  • 0

Item script deactivate effect


BrOgBr

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  97
  • Reputation:   10
  • Joined:  01/21/13
  • Last Seen:  

Someone can tell me how can I make it?

Item x combined with item y = deactive item y effect.

I don't know how explain better. ?

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

You can make a combo script with the two and negate the item y script.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  436
  • Reputation:   167
  • Joined:  12/12/17
  • Last Seen:  

Or do something like this..

Item Y script:

{ if( !getequipid(EQI_ACC_L) == ITEMX || !getequipid(EQI_ACC_R) == ITEMX ) { bonus bAllStats, 1000; bonus bMdef, 100; } },{},{}

assuming Item X and Y are accessories

@BrOgBr

Edited by pajodex
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  97
  • Reputation:   10
  • Joined:  01/21/13
  • Last Seen:  

5 hours ago, Nitrous said:

You can make a combo script with the two and negate the item y script.

Thanks @Nitrous, I did it with two itens and worked, but with another combo it didn't work.

1 hour ago, pajodex said:

Or do something like this..

Item Y script:


{ if( !getequipid(EQI_ACC_L) == ITEMX || !getequipid(EQI_ACC_R) == ITEMX ) { bonus bAllStats, 1000; bonus bMdef, 100; } },{},{}

assuming Item X and Y are accessories

@BrOgBr

Thanks @pajodex, but I need to know how can I do it directly in item_combo.txt.

I'll try explain better.

The item (15238), says that when compound with item 2554 the result is: 

nullify convert damage to SP from the item (2554)
(1% chance to convert 1% of physical damage in SP)

item (15238): 
2% chance to convert 2% of physical damage in SP
+7 = 1%/1% additional
+12 = 2%/2% additional

?

 

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...