-
Posts
271 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Thanna
-
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
-
instant cast for trans and lower job with 150 dex but not with 3rd class
Thanna posted a question in Source Support
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 -
Hi i just want to ask something about this:)
Thanna replied to NexusXVI's question in General Support
install PCRE on your host using command prompt if you are allowed to use vnc or you can use putty -
thanks, I forgot about the source because I am very excited to test it out
-
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
-
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
-
Separate ASPD formula for trans and 3rd class
Thanna replied to Thanna's question in Source Requests
I will try it sir, and I'll just ask if it is possible on ASPD formula too? -
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
-
this will help http://rathena.org/wiki/@go
-
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?
-
follow the instruction here http://rathena.org/wiki/@go
-
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
-
there is no other way than to remove your deepfreeze when modifying your server files
-
battleground emperium with shuffle team players
Thanna replied to Thanna's question in Script Requests
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 -
Requesting for Global Random Announcement Script
Thanna replied to agentbogz's question in Script Requests
I think this is what you need, credits to sir Emistry http://rathena.org/board/files/file/2503-random-news/ -
I'll try to check it out
-
try this go to your CpFolder->themes->default->account and paste this create.php in there create.php
-
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
-
this http://rathena.org/wiki/Thor_Patcher
-
try mo i run ulit, minsan ganyan nangyayari eh, pag win 7 try mo i run as admin baka kasi sa user privilege yan
-
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
-
*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
-
[How To Remove Drops on Certain Monster]
Thanna replied to jutaysxd's question in Installation Support
you have to @reloaditemdb for the changes to take effect -
you can use rathena on linux or windows base pc, its nothing to do with deepfreeze
-
you dont have to use edp, it would be too much