Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. dont add more / less..just edit the value..to ensure the script is working perfectly... setarray .BMCosts[1], 1000000, // Switch Builds Cost 1000000, // Save Build Cost 1000000, // Reset Status Cost 1000000; // Reset Skills Cost // Mode of NPC // 1 = Switch & Save Status Build // 2 = Reset Status // 4 = Reset Skills // 7 = All of Above [ 1+2+4 = 7 ] set .BMMode,7;
  2. nope...named items cant be slotted.
  3. use this command to replace the regular getitem command *getnameditem(<item id>,"<name to inscribe>"); *getnameditem("<item name>","<name to inscribe>");
  4. prontera,155,181,5 script Sample 757,{ LabelOne: percentheal 100,100; end; LabelTwo: if( !countitem( 29171 ) ){ dispbottom "You need 1 "+getitemname( 29171 )+" to use this."; }else{ skilleffect 34,0; sc_start SC_BLESSING,360000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10; } end; OnInit: defpattern 1, "Heal", "LabelOne"; defpattern 1, "Buff", "LabelTwo"; activatepset 1; end; }
  5. if(@event=="0") { it should be a integer... why you compare it using string ? when you compare a String with an Integer....obviously..it wont work... unless you convert the string into integer... the correct 1 should be if( @event == 0 ) {
  6. try read here....the TXT guide...still remained at eA xD i guess you can try it... http://eathena.ws/wiki/index.php?title=Compiling
×
×
  • Create New...