Jump to content

Elijah23

Members
  • Posts

    292
  • Joined

  • Last visited

  • Days Won

    5

Community Answers

  1. Elijah23's post in Text Above NPC was marked as the answer   
    it's showscript, Haruka Mayumi is right
     
    You could use npc timer to loop it so it would show permanent
     
    OnInit: initnpctimer; end; OnTimer1000: showscript("Healer"); setnpctimer 0; end;  
  2. Elijah23's post in Add Stats and Add Skill NPC was marked as the answer   
    Try this code...

    prontera,155,181,5 script Sample 436,{ set .BuyCost,10; set .Point,10; switch(select("Buy Skill Points:Buy Stat Points")){ Case 1: mes "How many Skill Points you want to Buy ?"; mes "Each Cost "+.BuyCost+" Pod."; input @Amount,0; if( @Amount == 0 ) close; if( countitem( 7179 ) < @Amount * .BuyCost ){ mes "Not Enough POD"; close; } next; mes "Gained "[email protected]+" Skill Points."; set SkillPoint,SkillPoint + (@Amount * .Point); delitem 7179,@Amount * .BuyCost; close; Case 2: mes "How many Stat Points you want to Buy ?"; mes "Each Cost "+.BuyCost+" Pod."; input @Amount,0; if( @Amount == 0 ) close; if( countitem( 7179 ) < @Amount * .BuyCost){ mes "Not Enough POD"; close; } next; mes "Gained "[email protected]+" Stat Points."; set StatusPoint,StatusPoint + (@Amount * .Point); delitem 7179,@Amount * .BuyCost; close; } }
    So you'll just need to edit the value of .Point..
×
×
  • Create New...

Important Information

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