Jump to content

luizragna

Members
  • Posts

    107
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by luizragna

  1. Thanks guys. Not to say that my script is totally unnecessary, he does not need the. txt
  2. View File @r - Single NPC Reloader This Npc reload a single NPC without needing use @reloadscript. //===== Description: ========================================= //= This Npc reload a single NPC without needing use @reloadscript //= Use @r <npc_name> //= To reload a single npc //= Sample-1: //= to reload npc/custom/jobmaster.txt //= use @r jobmaster //= Sample-2: //= to reload npc/custom/events/poring_race.txt //= use @r events/poring_race //============================================================ Submitter luizragna Submitted 08/15/2018 Category Utilities Video Content Author luizragna  
  3. Version 1.0.0

    511 downloads

    This Npc reload a single NPC without needing use @reloadscript. //===== Description: ========================================= //= This Npc reload a single NPC without needing use @reloadscript //= Use @r <npc_name> //= To reload a single npc //= Sample-1: //= to reload npc/custom/jobmaster.txt //= use @r jobmaster //= Sample-2: //= to reload npc/custom/events/poring_race.txt //= use @r events/poring_race //============================================================
    Free
  4. Além de alterar o jobname.lub você também deve alterar npcidentity.lub e jobidentity.lub
  5. I tried change de parameters using xvi32, but he continue oppening without thor patcher.
  6. In case, I can not attack mob. I want to attack mob and he gets 0 damage.
  7. Hello everyone, How do I make this unit invincible? payon,172,218,4 script monstertest 52,{ monster "payon",167,215,"Bigfoot (Weakened)",1060,.amount,strnpcinfo(0)+"::OnDead"; for (.@i = 0; .@i < .amount; .@i++) { .mid = $@mobid[.@i]; setunitdata .mid,UMOB_MAXHP,10000; setunitdata .mid,UMOB_ATKMIN,10000; setunitdata .mid,UMOB_ATKMAX,21000; setunitdata .mid,UMOB_MATKMIN,10000; setunitdata .mid,UMOB_MATKMAX,21000; setunitdata .mid,UMOB_HIT,10000; setunitdata .mid,UMOB_ATKRANGE,5; setunitdata .mid,UMOB_ADELAY,100; getunitdata .mid,.@param; setunitdata .mid,UMOB_HP,.@param[UMOB_MAXHP]; } OnDead: end; OnInit: set .amount,3; end; }
  8. Do you need a script no source?
  9. Hi all I tryed add Custom Skills to my rAthena, so I learned the Wiki guide "How to add Custom Skills", the wiki guide have some ID skills examples. I've added all skills code in the SRC and DB. skill.h, skill.c, skill_db.txt, skill_require_db.txt, skill_cast_db.txt, skill_tree_db.txt I did some tests with the help of the "@useskill" and everything skills works perfect. But the problem is that i can not evolve the skill, it turns gray, and if I put on an equipment, it does not appear Data Side RagExeRE 2017-06-14b Lua Files modifed : skillinfoz/skillid.lua skillinfoz/skilldescript.lua skillinfoz/skillinfolist.lua skillinfoz/skilltreeview.lua Added others BMP and SPR files
  10. Hello guys, i want that when the player use the skill RK_ENCHANTBLADE, all party members obatain the skill KN_CHARGEATK (Skill id: 1001). script.c: case RK_ENCHANTBLADE: pc_skill(sd, 1001, 1, 0); // Here, only the player that used enchantblade receive the skill chargeattack Above, when the player uses the skill enchantblade only he gains charge attack?. As I do for all group members receive?
  11. Hello guys. I have tried make a custom skill that give another skill. I am editing some skills. For now, I want to make the ability RK_ENCHANTBLADE give TF_THROWSTONE temporarily. skill.c case RK_ENCHANTBLADE: clif_skill_nodamage(src,bl,skill_id,skill_lv, sc_start2(src,bl,type,100,skill_lv,((100+20*skill_lv)*status_get_lv(src))/150+sstatus->int_,skill_get_time(skill_id,skill_lv))); pc_skill(sd, 152, 1, 0); //Here the TF skill break; i am using how base the script command: *skill <skill id>,<level>{,<flag>}; From the souce, that in the case i guess pc_skill. script.c BUILDIN_FUNC(skill) { int id; int level; int flag = ADDSKILL_TEMP; TBL_PC* sd; struct script_data *data; const char* command = script_getfuncname(st); sd = script_rid2sd(st); if( sd == NULL ) return SCRIPT_CMD_SUCCESS;// no player attached, report source if (strcmpi(command, "addtoskill") == 0) flag = ADDSKILL_TEMP_ADDLEVEL; data = script_getdata(st, 2); get_val(st, data); // Convert into value in case of a variable id = ( data_isstring(data) ? skill_name2id(script_getstr(st,2)) : script_getnum(st,2) ); level = script_getnum(st,3); if( script_hasdata(st,4) ) flag = script_getnum(st,4); pc_skill(sd, id, level, (enum e_addskill_type)flag); return SCRIPT_CMD_SUCCESS; } Even so, I did not gain the skill by using RK_ENCHANTBLADE
  12. Hello guys. I want make a custom skill that give another skill temporarily. For example: When i use angelus, give Cold Bolt and Fire Bolt temporarily.
  13. I solved only changed the command. playbgmall "30";
  14. I managed to fix the console problem. But the audio does not play. I tried change 30.mp3 to 30 but nothing has changed. pay_dun03,155,128,4 script Music#PayD03 52,{ //playBGM "30"; playBGM "30.mp3"; mes "Hi"; close; }
  15. Hi guys. I tried use the script command: playBGM, but this problem happens in the console: playBGM "30.mp3"; [Error]: script_rid2sd: fatal error ! player not attached! [Debug]: Function: playBGM (1 parameter): [Debug]: Data: string value="30.mp3" [Debug]: Source (NPC): spawn#PayD03 at pay_dun03 (147,137) OBS: I have the 30.mp3 in my BGM folder.
  16. Hella guys. I want make a system and need which the mob doesn't enter in certain coordinated. Example: The poring can't enter in prontera,100 100. But the player can.
  17. Hello, I would like to know if there is any script command that displays a message to the player as if he had spoken. When the player completes the mission, show at the bal of conversation: Quest complete!
  18. How i make a invisible mob?
  19. In this case the npc uses the effect in itself, I wish he used in some coordinate
  20. Hello, i want use the script command "specialeffect" a specifies coordinated. Ex: The NPC uses specialeffect 14 in prontera,100,105. How do I do that?
  21. Hello guys, I would like to do that when I move an NPC, he would activate the label OnTouch. For some reason it doesn't work. prontera,100,100,4 script MoveMan 64,{ movenpc "UnknownMan",prontera,105,105; end; } prontera,104,100,4 script UnknownMan 65,1,1,{ OnTouch: mes "Hello !!"; close; } Basically, i want throw the npc on the player and the label OnTouch activate
  22. Thanks! I Solved! pay_arche,63,145,4 script Guard#2 45,3,3,{ OnTouch: set @fire,1; while (@fire == 1){ specialeffect2 49,"+strcharinfo(0)+"; heal -2,0; sleep2 500; getmapxy(@mapname$, @mapx, @mapy, UNITTYPE_PC, ""+strcharinfo(0)+""); if ((@mapx < 60) || (@mapx > 65) || (@mapy < 143) || (@mapy > 147)) @fire = 0; } }
  23. Hello. I'm doing an NPC in the persagem receive damage while listening to him. I would like to do with that when he got out of close looks from receiving damage. pay_arche,63,145,4 script Guard#2 45,3,3,{ OnTouch: set @fire,1; while (@fire == 1){ specialeffect2 49,"+strcharinfo(0)+"; heal -2,0; sleep2 500; } } I don't know if I'm doing the right way.... Basically I wish the variable @fire came back to = 0
×
×
  • Create New...