Jump to content
  • 0

Is this Correct? (isequipped...)


Question

Posted (edited)

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

5 answers to this question

Recommended Posts

Posted (edited)

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
Posted (edited)

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
Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...