Jump to content
  • 0

Is this Correct? (isequipped...)


MojoMojo

Question


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

I want to create an equipment like that:

Name: Clip of Might[1]

ID: 15.122

Effect: STR+ 2 times the number of Clip of Might[1] equipped.

Its correct use this script?

...,{bonus bStr,2*isequipped(15122)},{},{}

IF don't, please make me a correct example?

Edited by MojoMojo
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

...,{ if(isequipped(15122)) bonus bStr,2; },{},{}

try this²

Edited by hurican
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  224
  • Reputation:   22
  • Joined:  03/23/12
  • Last Seen:  

I think he wanted the bonus to multiply by the number of clips on...

...,{  bonus bStr,2; if(isequipped(15122)){ bonus bStr,2;} },{},{}

Edited.

Edited by F0xxy
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

But i want to put this effect on a card!

The card that i created may me attached on any equipment, so you may have more than 2 equipped.

I need to multiply the bonus by the number of cards.

Like this:

The card gives STR+1 times the number of equipped cards with ID '4004' (Example)

Edited by MojoMojo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  183
  • Reputation:   15
  • Joined:  06/10/12
  • Last Seen:  

...,{ if(isequipped(15122) && isequipped(15123)){ bonus bStr,2;*2 }},{},{}

maybe?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

Imagine that each equipment may have 4 slots, and there are 10 different types of equipments, so, its possible equip 40 cards.

I can't do if(isequipped(15122)&& isequipped(15123)isequipped(15122)&&isequipped(15122)&& . . . 40 times...

I'm searching for something like: bonus bStr,getequippednum(15122); (just an example)

@EDIT

I found the command: isequippedcnt

Edited by MojoMojo
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...