New item.conf and Disguise

安赫尔

New member
Messages
163
Points
0
Location
Shanghai
Github
stacksnet
Emulator
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~ 
 
item2189.jpg
kue8e6000000xoej.jpg
 
Who can help these 2. thanks
 
*autobonus <bonus script>,<rate>,<duration>{,<flag>,{<other script>}};

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

 
try this

Code:
{	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;}";		}	">},
 
*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.

 
*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.

 
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.

QQ20131118213724.jpg

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

 
default_ani_meow.gif
no problem happy to know that ..

 
^ I dont think so.. its working on any type of group.. 

 
Last edited by a moderator:
Back
Top