Jump to content


  • Content Count

  • Avg. Content Per Day

  • Joined

  • Last visited

  • Days Won


Slyx last won the day on October 17 2018

Slyx had the most liked content!

Community Reputation

9 Neutral

About Slyx

  • Rank
    Santa Poring

Profile Information

  • Gender

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello guys, How do I calculate these mob data assuming I get the initial data from Divine Pride. I tried searching in status and mob cpp but cant find the exact formula For instance: Scorpion (mob ID 1001) divine pride speed (cell/sec) = 5 rathena mob.db Speed = 200 divine pride aspd (atk/sec) = 1.16 rathena mob.db aDelay = 1564
  2. I want to disable it but I could not find this NPC script inside npc and npc/re. the location is 150,331
  3. Sorry..Im trying to find a way to delay the script after mvp is dead (OnMobDead) for 2 hours. During these 2 hours, even the countkill has reached, the mvp will not spawn. I managed to script it but have not tried it yet. The sleep command seems suitable for my case. here is the script I made: pay_d03_i,0,0,0 script Trigger -1,{ end; OnMobDead: $MobDead++; if ($MobDead == 5 && .mvp_monster == 0) { $MobDead = 0; mapannounce "pay_d03_i", "Angry Moonlight Flower: Here I am!!.", bc_map; monster "pay_d03_i",155,134,"--en--",3760,1,"Trigger::OnMvpDead"; .mvp_monster = 1; } end; OnMvpDead: initnpctimer; .delay = 0; killmonster "pay_d03_i", "Trigger::OnMvpDead"; mapannounce "pay_d03_i", "Angry Moonlight Flower: OH NO!!.", bc_map; end; OnTimer60000: .delay++; if (.delay < 100) initnpctimer; else { stopnpctimer; .delay = 0; .mvp_monster = 0; } end; }
  4. How do I trigger a boss spawn based on specific monster ID and number of kill. For instance: Kill monster (ID = 3759) 10 times to spawn boss (ID = 3758) Edit:OK found it pay_d03_i,0,0,0 script Trigger -1,{ end; OnMobDead: $MobDead++; if ($MobDead == 5) { $MobDead = 0; mapannounce "pay_d03_i", "Angry Moonlight Flower: Here I am!!.", bc_map; monster "pay_d03_i",0,0,"--en--",3758,1; } end; } But I am still looking to delay the mvp spawn for 2 hours even the mobcount is greater than 5.
  5. Bookmarked Thank you.looking forward for future updates
  6. hello guys, I am trying to implement NPC_WIDEWEB skill but the location of skill unit is fixed on the caster coordinate while officially it should only affect the targets around caster for 15x15 aoe size. Below are the modification i did on source and db files //skill.cpp under skill_castend_pos2 block case NPC_WIDEWEB: flag|=1;//Set flag to 1 to prevent deleting ammo (it will be deleted on group-delete). case GS_GROUNDDRIFT: //Ammo should be deleted right away. case GN_WALLOFTHORN: case GN_DEMONIC_FIRE: skill_unitsetting(src,skill_id,skill_lv,x,y,0); //skill_db 721,0,6,4,0,0x3,7,1,1,no,0,0x2,0,none,0,0x0, NPC_WIDEWEB,Wide Web //skill_unit_db 721,0xb7, , 0, 0, -1,enemy, 0x8000 //NPC_WIDEWEB
  7. Slyx

    SC and SCE?

    thank you guys.Now I managed to get the idea behind these structs
  8. Slyx

    SC and SCE?

    struct status_change *sc; struct status_change_entry *sce; Hello guys, I am still learning coding in map folder. May I know what is the different(s) between these 2 struct?
  9. Hello I want to change the Earthquake skill behavior which the damage will not split over dead player. I tried to change: skill_area_temp[0] skill_area_temp[1] skill_area_temp[2] but was in vain. May I know whats the difference between skill_area_temp[0] and skill_area_temp[2]
  10. // The maximum weight for a character to carry when the character stops healing naturally. (in %) // For renewal: Requires client 20171025 or newer to display properly natural_heal_weight_rate: 50 natural_heal_weight_rate_renewal: 70 If you set 70% to be the weight limit for natural regeneration to be disabled and set your character weight in between 50 to 69 percent, this warning pops up every time you log in: Your weight limit is over 50, HP and SP will not recover naturally. Suppose this warning only trigger of your carriage weight is over 70% right?
  11. Greetings. How do I change these skill to be in 3rd job section instead of 2nd job? Thank you
  12. Thank you! It works! Apparently if I want to assign all subskills to WL_TETRAVORTEX, the bugged animation re appeared. } else if(!sd) { int i, k, subskill = 0; for( i = 0; i < 4; i++ ) { switch( i ) { case 0: subskill = WL_TETRAVORTEX; k |= 1; break; case 1: subskill = WL_TETRAVORTEX; k |= 4; break; case 2: subskill = WL_TETRAVORTEX; k |= 2; break; case 3: subskill = WL_TETRAVORTEX; k |= 8; break; } skill_addtimerskill(src, tick + i * 200, bl->id, k, 0, subskill, skill_lv, i, flag); clif_skill_nodamage(src, bl, subskill, skill_lv, 1); } } This must be from the assigned k value in the code. May i know what does k value means? EDIT: Found the solution. I forced these skills to be neutral if cast by mob in battle.cpp and retain the animation of fire, water, lightning and earth. I think the animation sprite for WL_TETRAVORTEX is designed to be like that in grf file
  13. Hello guys, Tetravortex skill, when cast by monster, gives a black rectangular-shaped on skill animation as shown in gif below. I am not sure where the source of this problem but I suspect it might be from clif_skill_nodamage function? Thank you in advance for your comment and support
  • Create New...

Important Information

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