MojoMojo Posted June 15, 2012 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
HD Scripts Posted June 15, 2012 Posted June 15, 2012 (edited) ...,{ if(isequipped(15122)) bonus bStr,2; },{},{} try this² Edited June 15, 2012 by hurican Quote
F0xxy Posted June 15, 2012 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
MojoMojo Posted June 15, 2012 Author 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
HD Scripts Posted June 15, 2012 Posted June 15, 2012 ...,{ if(isequipped(15122) && isequipped(15123)){ bonus bStr,2;*2 }},{},{} maybe? Quote
MojoMojo Posted June 15, 2012 Author 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
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 MojoMojo5 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.