Jump to content

Patskie

Community Contributors
  • Content Count

    366
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Patskie

  1. The script would work in Hercules (as written on your topic description)
  2. prontera,150,150,0 script Sample 100,{ mes strnpcinfo(1); mes "Heal heal heal ~"; specialeffect2 EF_HEAL2; percentheal 100, 100; if ( countitem( 7227 ) ) { specialeffect2 EF_INCAGILITY; sc_start SC_INC_AGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; } close;}
  3. Change all : @Broadcast to : Broadcast // character variable#Broadcast // account variable
  4. Besides the topic starter is not posting his/her topic on the proper section. If you wouldn't mind my strictness
  5. Patskie

    storage 2

    I believe creating a new storage besides guild storage and account storage requires source mod
  6. Mas ok nga yon somehow outdated narin yan eh haha.
  7. Good job nasama pa ung topic ko hehe. glad to help
  8. What version are you using? I would add that to my queue and maybe i will upgrade the script lol. i started this along time ago. which is somehow outdated as of the moment.
  9. npc/custom folder + means add - means remove
  10. Thanks! Try : case 2: + query_sql "SELECT `money` FROM `bank` WHERE `account_id` = '" +getcharid(3)+ "'",.@m; + if ( .@m >= 10000000000 ) close; // Prevent from depositing if money in sql is 10,000,000,000 or more mes .@npc$; mes "How much will you deposit?";..... - input @amount; + input @amount,0,1000000000;..... - input @wamount; + input @wamount,0,1000000000;
  11. @khenma i think you need to edit your src.
  12. or you can put the announce before the while {
  13. Opps i included it in the while loop sorry for that. It should be : + announce "An [" +getitemname(.item_id)+ "] has been drop from the sky in map [" +.map$+ "]. Lets get it before it gone..",0;set .count, 0;
  14. U need to use setarray for that xD what is the reason behind your multiple map? You want to do an item shower on multiple maps? Or you want to random pick a map and do the item shower there?
  15. Create a variable .@total or .@sum and add it up the refine rate of each item in your equipment.
  16. makeitem .item_id,1,.map$,.@x,.@y;+ announce "An [" +getitemname(.item_id)+ "] has been drop from the sky in map [" +.map$+ "]. Lets get it before it gone..",0;
  17. https://github.com/HerculesWS/Hercules/blob/master/db/mob_item_ratio.txt
  18. Description : Drop certain amount of items on the floor on a certain map with random coordinates Download : http://pastebin.com/raw.php?i=aCAbAM1E https://raw.github.com/Patskie/Scripts/master/item_shower.txt
  19. token quest are included in every version of Hercules : npc/custom/quests/thq As for the break the seal quest. It can be done in many ways but that depends on your script. If you can show us your script then me or someone can help you out
  20. In any way he can replace the dispbottom part. I attached all online player with < 20 base level. So i think the decision is up to the topic starter. I just made an example. Btw an array can store up to 128 values only. So if you have big population the script might not actually do the full work.
  21. Tested on my test server and it works fine. How did you test the script?
  22. OnPCJobLvUpEvent:if ( JobLevel == 10 ) mes "Pop up";close;
×
×
  • Create New...

Important Information

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