Jump to content
  • 0
Sign in to follow this  
安赫尔

New item.conf and Disguise

Question

20725,Piamette_Ribbons,碧亚玫特的缎带,5,0,,100,,0,,1,0xFFFFFFFF,63,2,4,,30,1,0,{ bonus bMatk,10; bonus bInt,1; bonus bDex,1; if( isequipped(2189)){ autobonus "{ bonus2 bHPLossRate,30,1000; bonus bMatk,(5*(getrefine()/3)); }",(100+(getrefine()*3)),10000,BF_MAGIC,"{ disguise 1930; sleep2 10000; undisguise; }"; }},{},{}

This is my old item scripts, it can work fine. In new item.conf  is

 

{	Id: 20725	AegisName: "Piamette_Ribbons"	Name: "碧亚玫特的缎带"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Upper: 63	Loc: 4	EquipLv: 30	Script: <"		bonus bMatk,10;		bonus bInt,1;		bonus bDex,1;		if( isequipped(2189)) {			autobonus "{ bonus2 bHPLossRate,30,1000; bonus bMatk,(5*(getrefine()/3)); }",(100+(getrefine()*3)),10000,BF_MAGIC,"{ disguise 1930; sleep2 10000; undisguise; }";		}	">},

It can's use, when the char activing autobonus , mapserver call this mistake.

 

 script error in file 'autobonus' line 0 column 3    parse_line: expect command, missing function name or calling undeclared function     0: { disguise 1930; sleep2 10000; undisguise; }

And I try to use montransform 1930,100,SC_MTF_MATK; to instead disguise.  When the autobonus activing,  it show a message in my char's head "Monster Transform", but no change happend.

 

 

Another question, item2189 and item 20725 are new items in jRO. Item 2189 is a shield just like a rabbit~ 
 
post-1086-0-04659400-1384765197_thumb.jpg
post-1086-0-91020900-1384765211_thumb.jpg
 
Who can help these 2. thanks

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

tried and tested on revision 132*** and using different item for combo.. and its working as intended..

 

OH yes, it works, my bad. I did not look carefully your codes. sorry!! 

Share this post


Link to post
Share on other sites
  • 0
*autobonus <bonus script>,<rate>,<duration>{,<flag>,{<other script>}};

 

I think you should write in bonus script  , the other script only accept show effect script

Share this post


Link to post
Share on other sites
  • 0

try this

{	Id: 20725	AegisName: "Piamette_Ribbons"	Name: "碧亚玫特的缎带"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Upper: 63	Loc: 4	EquipLv: 30	Script: <"		bonus bMatk,10;		bonus bInt,1;		bonus bDex,1;		if( isequipped(2189)) {			autobonus "{ bonus2 bHPLossRate,30,1000; bonus bMatk,(5*(getrefine()/3)); }",(100+(getrefine()*3)),10000,BF_MAGIC,"{montransform 1930,10000,SC_MTF_MATK;}";		}	">},

Share this post


Link to post
Share on other sites
  • 0

*autobonus <bonus script>,<rate>,<duration>{,<flag>,{<other script>}};

 

I think you should write in bonus script  , the other script only accept show effect script

But the itme bonus can't do "auto spell in 10second" , so I choice autobonus.

Share this post


Link to post
Share on other sites
  • 0

 

*autobonus <bonus script>,<rate>,<duration>{,<flag>,{<other script>}};

 

I think you should write in bonus script  , the other script only accept show effect script

 

I dont think so, because I try to add montransform and its work as intended, transforming character for 10 seconds.

Share this post


Link to post
Share on other sites
  • 0

 

try this

{	Id: 20725	AegisName: "Piamette_Ribbons"	Name: "碧亚玫特的缎带"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Upper: 63	Loc: 4	EquipLv: 30	Script: <"		bonus bMatk,10;		bonus bInt,1;		bonus bDex,1;		if( isequipped(2189)) {			autobonus "{ bonus2 bHPLossRate,30,1000; bonus bMatk,(5*(getrefine()/3)); }",(100+(getrefine()*3)),10000,BF_MAGIC,"{montransform 1930,10000,SC_MTF_MATK;}";		}	">},

 

I was try this, but just like the images, the message is display. but my char does's make any change.

 

post-1086-0-76376200-1384781953_thumb.jpg

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.