Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/22/24 in all areas

  1. Duplicate GvG map damage modiflier functions then create condition for check attacker was monster then do a multiplier there. (Try to use Find All in Visual Studio to find where to edit)
    1 point
  2. Para cambiar eso debes hacerlo en status.cpp https://github.com/rathena/rathena/blob/master/src/map/status.cpp#L6739 ahi para la dex por ejemplo debes buscar donde se calcula la luk y el crit y luego modificas donde corresponde
    1 point
  3. After encountering issues with the current data.grf, I decided to start from scratch and overhaul the entire process. The result? A significantly reduced file size for the data.grf Previously, the data.grf weighed in at around 2.45GB, but now it’s down to just 2.15GB. In addition to the file size reduction, I’ve added 275~ mini maps to maps that were lacking them. The entire folder, including BGM, now stands at 2.96GB. What was done to the poor data.grf? Besides cleaning up unused sprites from npc and mob folders, now I converted all .BMP files to be 8bit, this doesn't affect quality on a game like RO, instead, it actually makes it easier for the client to handle those assets. .JPG and .PNG were treated as well but with some differences. Feel free to report any issue here
    1 point
  4. I have made my own Plagiarism NPC last week. Hope it helps you. //===== rAthena Script ======================================= //= Plagiarism NPC //===== By: ================================================== //= Easycore //===== Last Updated: ======================================== //= 20210905 //===== Description: ========================================= //= Simple Plagiarism Skill //= Require 'getskillname' script command: //= https://rathena.org/board/files/file/4307-script-command-getskillname/ //============================================================ prontera,150,150,3 script Plagiarism NPC 747,{ mes "[ ^FF0000Plagiarism Master^000000 ]"; if (.plag_skill && !getskilllv("RG_PLAGIARISM")) { mes "You must have Plagiarism learned."; close; } mes "Heya ^FFA500"+strcharinfo(0)+"^000000!"; mes "Do you want to copy a skill?"; if (.zeny) mes "My service costs ^FF0000"+.zeny+" Zeny^000000."; if (select("~ Proceed","Cancel") == 2) close; if (.zeny > 0 && Zeny < .zeny) { message(strcharinfo(0),"Not enough Zeny."); close; } .@menu$ = ""; .@f = getarraysize(.SkillID); for(.@i = 0; .@i < .@f; .@i++) .@menu$ += getskillname(.SkillID[.@i])+(.@i==.@f?"":":"); .@s = select(.@menu$) - 1; close2; if (.zeny > 0 && Zeny < .zeny) end; if (.zeny > 0) Zeny -= .zeny; npcskill .SkillID[.@s],.SkillLV[.@s],20,200; sleep2 1500; unitwarp getnpcid(0),.map$,.x,.y; end; OnInit: //Default NPC Data Values setunitdata(getnpcid(0),UNPC_DEX,300); setunitdata(getnpcid(0),UNPC_ATKMIN,100); setunitdata(getnpcid(0),UNPC_ATKMAX,200); getmapxy(.map$,.x,.y,BL_NPC); //Configuration //Zeny required? Set 0 to disable it .zeny = 25000; //Must Plagiarism skil be learned? (1. Yes | 0. No) .plag_skill = 1; //Skill ID Array setarray .SkillID[0],263,13, 7,14,19,20,21,83,84,85,86,89,90,91,421,534,536,537,540,542; //Skill LV Array setarray .SkillLV[0], 10,10,10,10,10,10,10,10,10,10,10,10,10,5, 7, 10, 5, 10, 19, 5; end; } PS: It requires 'getskillname' script command to work.
    1 point
×
×
  • Create New...