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~
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.
Share this post
Link to post
Share on other sites