Jump to content

Thanna

Members
  • Posts

    271
  • Joined

  • Last visited

Everything posted by Thanna

  1. Hello rathena community, I would like to request for a command @ec, just like a emergency call but in a command, because in a fast phase WOE its a little bit hard to click and use emergency call so it would be better if it is in a command. thanks in advance
  2. this is a source code mabe by sir clydelion, can someone help me to edit it, what I plan is when a char is trans or lower job, he/she will have a instant cast of 150 dex but when a char is 3rd class there will be no instant cast, it will used the renewal casting formula for 3rd class only, I hope someone can make it for me, thanks in advance Index: src/map/battle.c =================================================================== --- src/map/battle.c (revision 16781) +++ src/map/battle.c (working copy) @@ -5596,6 +5596,8 @@ { "max_cloth_color", &battle_config.max_cloth_color, 4, 0, INT_MAX, }, { "pet_hair_style", &battle_config.pet_hair_style, 100, 0, INT_MAX, }, { "castrate_dex_scale", &battle_config.castrate_dex_scale, 150, 1, INT_MAX, }, + { "castrate_dex_scale_2", &battle_config.castrate_dex_scale_2, 150, 1, INT_MAX, }, + { "castrate_dex_scale_3", &battle_config.castrate_dex_scale_3, 150, 1, INT_MAX, }, { "vcast_stat_scale", &battle_config.vcast_stat_scale, 530, 1, INT_MAX, }, { "area_size", &battle_config.area_size, 14, 0, INT_MAX, }, { "zeny_from_mobs", &battle_config.zeny_from_mobs, 0, 0, 1, }, Index: src/map/battle.h =================================================================== --- src/map/battle.h (revision 16781) +++ src/map/battle.h (working copy) @@ -345,6 +345,8 @@ int pet_hair_style; // added by [skotlex] int castrate_dex_scale; // added by [MouseJstr] + int castrate_dex_scale_2; + int castrate_dex_scale_3; int area_size; // added by [MouseJstr] int max_def, over_def_bonus; //added by [skotlex] Index: src/map/skill.c =================================================================== --- src/map/skill.c (revision 16781) +++ src/map/skill.c (working copy) @@ -13356,10 +13356,22 @@ // calculate base cast time (reduced by dex) if( !(skill_get_castnodex(skill_id, skill_lv)&1) ) { - int scale = battle_config.castrate_dex_scale - status_get_dex(bl); - if( scale > 0 ) // not instant cast - time = time * scale / battle_config.castrate_dex_scale; + int scale = 0; + if(sd && sd->class_&JOBL_THIRD) + scale = battle_config.castrate_dex_scale_3 - status_get_dex(bl); + else if (sd && sd->class_&JOBL_2) + scale = battle_config.castrate_dex_scale_2 - status_get_dex(bl); else + scale = battle_config.castrate_dex_scale - status_get_dex(bl); + if( scale > 0 ){ // not instant cast + if(sd && sd->class_&JOBL_THIRD) + time = time * scale / battle_config.castrate_dex_scale_3; + else if (sd && sd->class_&JOBL_2) + time = time * scale / battle_config.castrate_dex_scale_2; + else + time = time * scale / battle_config.castrate_dex_scale; + } + else return 0; // instant cast } Index: src/map/skill.c =================================================================== --- src/map/skill.c (revision 16781) +++ src/map/skill.c (working copy) @@ -13356,10 +13356,22 @@ // calculate base cast time (reduced by dex) if( !(skill_get_castnodex(skill_id, skill_lv)&1) ) { - int scale = battle_config.castrate_dex_scale - status_get_dex(bl); - if( scale > 0 ) // not instant cast - time = time * scale / battle_config.castrate_dex_scale; + int scale = 0; + if(sd && sd->class_&JOBL_THIRD) + scale = battle_config.castrate_dex_scale_3 - status_get_dex(bl); + else if (sd && sd->class_&JOBL_2) + scale = battle_config.castrate_dex_scale_2 - status_get_dex(bl); else + scale = battle_config.castrate_dex_scale - status_get_dex(bl); + if( scale > 0 ){ // not instant cast + if(sd && sd->class_&JOBL_THIRD) + time = time * scale / battle_config.castrate_dex_scale_3; + else if (sd && sd->class_&JOBL_2) + time = time * scale / battle_config.castrate_dex_scale_2; + else + time = time * scale / battle_config.castrate_dex_scale; + } + else return 0; // instant cast } Index: conf/battle/skill.conf =================================================================== --- conf/battle/skill.conf (revision 16781) +++ conf/battle/skill.conf (working copy) @@ -38,7 +38,9 @@ no_skill_delay: 2 // At what dex does the cast time become zero (instacast)? -castrate_dex_scale: 150 +castrate_dex_scale: 150 //1st class +castrate_dex_scale_2: 150 //2nd class +castrate_dex_scale_3: 150 //3rd class // How much (dex*2+int) does variable cast turns zero? vcast_stat_scale: 530
  3. install PCRE on your host using command prompt if you are allowed to use vnc or you can use putty
  4. thanks, I forgot about the source because I am very excited to test it out
  5. sorry but my browser have a problem, I cant use bb codes because my browser will not load it properly and cant see it, sorry Ms.AnnieRuru
  6. This is the screenshot of the error on the BG script and this is the link of the script, can someone help me fix it out thanks in advance http://pastebin.com/raw.php?i=ndpqiGcK
  7. I will try it sir, and I'll just ask if it is possible on ASPD formula too?
  8. is it possible to separate trans and 3rd class cast formula, if a char is trans he/she will not be affected by fixed cast, and when a char is 3rd class the formula will be used is the renewal formula thanks in advance
  9. this will help http://rathena.org/wiki/@go
  10. Im a little bit off topic but I experienced this problem with no NPC's but with it is because of a wrong packet, is your exe compatible with your packet_db?
  11. follow the instruction here http://rathena.org/wiki/@go
  12. Thanna

    Setup

    the username and password that you made on your char_athena.conf,map_athena.conf and inter_athena.conf must the same with the user you made on your phpmyamdin
  13. there is no other way than to remove your deepfreeze when modifying your server files
  14. thank you very much Ms.AnnieRuru I appreciate the help you've done, btw I edit some part of the script you made but all the credit goes to you, thank you again and more power
  15. I think this is what you need, credits to sir Emistry http://rathena.org/board/files/file/2503-random-news/
  16. try this go to your CpFolder->themes->default->account and paste this create.php in there create.php
  17. I would prefer Thor, because its easy to configure and Thor have a different way of merging your patch file to your grf, unlike neon cube, you have to wait for it to merge all files, that is just my opinion its still up to you
  18. try mo i run ulit, minsan ganyan nangyayari eh, pag win 7 try mo i run as admin baka kasi sa user privilege yan
  19. http://supportmii.com/ro1/Clients/Judas_Setups/Guides/Judas_ClientSide_Area.pdf follow this pdf by Judas, it has all the things you need to make a client + the latest lua files
  20. *areapercentheal "<mapname>",<x1>,<y1>,<x2>,<y2>,<hp>,<sp>; Not exactly limited to battleground use, this will restore HP/SP in a defined area at a percentage. Example: areapercentheal "bat_a01",52,208,61,217,100,100; end; or try my code thay Im using on my BG // HEALER // ***************************************************************** - script bghealbuffs -1,{ OnPCLoadMapEvent: while (getbrokenid(1)) { repair(1); set .@i, .@i +1; } getinventorylist; for (set .@j, 0; .@j < @inventorylist_count; set .@j, .@j + 1) { if (!@inventorylist_identify[.@j]) { delitem2 @inventorylist_id[.@j],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@j],1; } } percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,1800000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,1800000,10; } guild_vs3 mapflag loadevent the code that I made have heal, agi up,blessing and can repair and identify items
  21. you have to @reloaditemdb for the changes to take effect
  22. you can use rathena on linux or windows base pc, its nothing to do with deepfreeze
  23. Thanna

    DoTA Runes

    you dont have to use edp, it would be too much
×
×
  • Create New...