MojoMojo Posted June 15, 2012 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 114 Reputation: 1 Joined: 03/07/12 Last Seen: January 17, 2015 Share Posted June 15, 2012 (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 June 15, 2012 by MojoMojo Quote Link to comment Share on other sites More sharing options...
HD Scripts Posted June 15, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: Sunday at 10:55 PM Share Posted June 15, 2012 (edited) ...,{ if(isequipped(15122)) bonus bStr,2; },{},{} try this² Edited June 15, 2012 by hurican Quote Link to comment Share on other sites More sharing options...
F0xxy Posted June 15, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 224 Reputation: 22 Joined: 03/23/12 Last Seen: April 21, 2020 Share Posted June 15, 2012 (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 June 15, 2012 by F0xxy Quote Link to comment Share on other sites More sharing options...
MojoMojo Posted June 15, 2012 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 114 Reputation: 1 Joined: 03/07/12 Last Seen: January 17, 2015 Author Share Posted June 15, 2012 (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 June 15, 2012 by MojoMojo Quote Link to comment Share on other sites More sharing options...
HD Scripts Posted June 15, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 184 Reputation: 15 Joined: 06/10/12 Last Seen: Sunday at 10:55 PM Share Posted June 15, 2012 ...,{ if(isequipped(15122) && isequipped(15123)){ bonus bStr,2;*2 }},{},{} maybe? Quote Link to comment Share on other sites More sharing options...
MojoMojo Posted June 15, 2012 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 114 Reputation: 1 Joined: 03/07/12 Last Seen: January 17, 2015 Author Share Posted June 15, 2012 (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 June 15, 2012 by MojoMojo Quote Link to comment Share on other sites More sharing options...
Question
MojoMojo
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?
IF don't, please make me a correct example?
Edited by MojoMojoLink to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.