⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.txt

📁 RO游戏服务器最新代码,直接运行即可.数据库采用mysql
💻 TXT
📖 第 1 页 / 共 2 页
字号:
//===== eAthena Script ======================================= 
//= Kafra Express - Config Module
//===== By: ================================================== 
//= Skotlex 
//===== Current Version: ===================================== 
//= 2.4
//===== Compatible With: ===================================== 
//= Any eAthena Version with function support
//===== Description: ========================================= 
//= Part of the Kafra Express Script Package.
//= This module contains the configuration of all modules. 
//===== Additional Comments: ================================= 
//= See <http://www.eathena.deltaanime.net/board/index.php?showtopic=20290>
//= for indepth explanation of the Kafra Express Script Package.
//============================================================ 

-	script	keConfig	-1,{
	//-------------------------------------------------------------------------------
	//Config for the Main Module
	//-------------------------------------------------------------------------------
OnInit:
	set $@ke_saveOnSpot,0;	//If 1, the respawn point is saved where the char is standing.
	set $@keh_hpCost,10;	//Cost of HP healing (per 10HP)
	set $@keh_spCost,100;	//Cost of SP healing (per 10SP)
	set $@kes_cost,50;	//Cost of opening the storage
	set $@kegs_cost,500;	//Cost of opening the guild storage

	//Kafra Pass Options:
	set $@kekp_reset,1; //How many uses a kafra pass has before expiring?
		//(if 0, duration is as long as a temporary variable)
	set $@kekp_reserveCost,100;	//Cost of each Reserve Point in Zeny (0 disable)
	set $@kekp_minReserve,1;	//Min Reserve Points you can earn in a single transaction
	set $@kekp_maxReserve,150;	//Max Reserve Points you can earn in a single transaction

	//Display Options
	set $@ked_users$,"people"; //String used when referring to people (player count).
		// Values like "ppl", "users" or "on" are also recommended.
	end;
	//-------------------------------------------------------------------------------
	//Config for the Bank Module
	//-------------------------------------------------------------------------------
OnLoadBank:
	set $@kebk_depositCost,0;	//Fee for bank deposits in % (10 = 10%)
	set $@kebk_withdrawCost,5;	//Fee for bank withdrawals in % (10 = 10%)
	set $@kebk_minTransact,1000;	//Value of the Minimum Transaction (deposit/withdraw)
	set $@kebk_maxTransact,999999;	//Value of the Maximum Transaction (deposit/withdraw)
	set $@kebk_capacity,99999999;	//Account capacity: Max zeny that can be held.
	set $@kebk_dayInterest,10;	//Savings daily interests in 0.01% units (100 = 1%)
	set $@kebk_monMaintenance,1000;	//Monthly flat fee charged for account maintenance
	set $@kebk_useGlobalBank,0;	//When 1, all charged fees go to $ke_globalbank 
	end;
	//-------------------------------------------------------------------------------
	//Config for the Broadcast Module
	//-------------------------------------------------------------------------------
OnLoadBroadcast:
	//Following costs are for current map costs:
	set $@kebc_showOnline,0;	//if 1, count of recipients will be listed.
	set $@kebc_partyCost,2500;	//party request broadcast cost
	set $@kebc_pvpCost,5000;	//pvp request broadcast cost
	set $@kebc_cost,10000;	//general broadcast cost
	set $@kebc_anonCost,100000;	//anonymous broadcast cost
	set $@kebc_globalFactor,1000;	//When doing server bcs, the prices are increased by this amount (500 = 500% = 5x)
	set $@kebc_discount,15;	//% Discount to apply when the KafraPass is active
	end;
	//-------------------------------------------------------------------------------
	//Config for the Dye and Stylist Module
	//-------------------------------------------------------------------------------
OnLoadDye:
	set $@kedy_enableHairstyle,0;	//Set to 1 to enable haircut style change.
	set $@kedy_styles,23;	//Highest available haircut style (default 23)
	set $@kedy_hair,8;	//Highest available hair dye (RO default is 8)
	
	//Highest available cloth dye depending on job-class
	set $@kedy_clothJN,77;	//Novice (+High/Baby)
	set $@kedy_clothJ1ST,77;	//1st Jobs (+High/Baby)
	set $@kedy_clothJ2ND,77;	//2nd Jobs (+High/Baby)
	set $@kedy_clothJSN,77;	//Super Novice (+Baby)
	end;
	//-------------------------------------------------------------------------------
	//Config for the Job Changer Module
	//-------------------------------------------------------------------------------
OnLoadJobChange:
	set $@kejc_skillsPolicy,0;	//Remaining Skill Points Policy:
		//0: Do not allow job changing until points are used up
		//1: Discard the remaining skill points
		//2: Let extra skill points be carried to next job

	set $@kejc_upperPolicy,0;	//Upper Job management policy:
		//0: Ignore Mode: People can change in any order
		//1: Force Mode: Job changes are forced on the correct path.
	
	set $@kejc_announce,1;	//Do a global announce when someone changes job.
	set $@kejc_resetDye,1;	//Set to 1 to reset cloth dye upon change
	set $@kejc_skipNovice,0;	//0: Novice needs Job 10 to change, 1: Can Skip Novice Class
	set $@kejc_baseSN,30;	//Base lv required to become a Super Novice

	set $@kejc_disable,0;	//Disable certain jobs from the changer:
		//1: Super Novice
		//2: Taekwon/Star Gladiator/Soul Linker
		//4: GunSlinger
		//8: Ninja

	//Note that the change costs can be converted into rewards by specifying a negative amount.
	set $@kejc_base2ND,1;	//Base lv required to change into a second class
	set $@kejc_job2ND,40;	//Job Lv required to change into a second Class
	set $@kejc_cost2ND,-25000;	//Zeny cost when changing into a second Class

	set $@kejc_baseRebirth,99;	//Base lv required to do the Rebirth 
	set $@kejc_jobRebirth,50;	//Job Lv required to do the Rebirth
	set $@kejc_costRebirth,1000000;	//Zeny cost required to do the Rebirth

	set $@kejc_rebirthReset,1;	//When changing to a high novice, reset base level to 1?
	set $@kejc_weaponPolicy,1;	//Set to 1 to give a weapon upon job change
	
	if ($@kejc_weaponPolicy == 0) //don't touch
		end;

	set $@kejc_wBonusLv,50;	//Job level for upgraded weapon version, use 0 to disable
	
	//Weapons awarded to each job upon change (use 0 to disable for a particular class)
	//First classes:
	setarray $@kejc_weapon1[0],
		1501,	//Acolyte/Club
		1701,	//Archer/Bow
		1601,	//Mage/Rod
		1301,	//Merchant/Axe
		1101,	//Swordman/Sword
		1201,	//Thief/Knife
		0,		//Taekwon/Nothing (they don't wield weapons)
		1202,	//Super Novice/Knife
		13010, //GunSlinger/Six Shooter
		1201; //Ninja/Knife
	
	//Normal Weapons for Second classes
	setarray $@kejc_weapon_21[0],
		1551,	//Priest/Bible
		1704,	//Hunter/Composite Bow
		1602,	//Wizard/Rod
		1351,	//Blacksmith/Battle Axe
		1116,	//Knight/Katana
		1250,	//Assassin/Jur
		1550;	//Star Gladiator/Book

	setarray $@kejc_weapon_22[0],
		1801,	//Monk/Waghnak
		1704,	//Bard/Dancer/Composite Bow
		1550,	//Sage/Book
		1351,	//Alchemist/Battle Axe
		1107,	//Crusader/Blade
		1210,	//Rogue/Cutter
		1602;	//Soul Linker/Rod
	
	if ($@kejc_wBonusLv == 0)	//Don't touch.
		end;

	//Improved versions awarded to second classes
	setarray $@kejc_weapon2_21[0],
		1519,	//Priest/Chain
		1714,	//Hunter/Gakkung
		1610,	//Wizard/Arc Wand
		1360,	//Blacksmith/Two-Handed Axe
		1160,	//Knight/Broad-Sword
		1254,	//Assassin/Jamadhar
		1552;	//Star Gladiator/Tablet

	setarray $@kejc_weapon2_22[0],
		1811,	//Monk/Finger
		1714,	//Bard/Dancer/Gakkung
		1552,	//Sage/Tablet
		1360,	//Alchemist/Two-Handed Axe
		1119,	//Crusader/Tsurugi
		1222,	//Rogue/Damascus
		1610;	//Soul Linker/Arc Wand

	end;
	//-------------------------------------------------------------------------------
	//Config for the Job Swapping Module
	//-------------------------------------------------------------------------------
OnLoadJobSwap:
	set $@kejs_disable,0;	//Disable certain jobs from the swapper:
		//1: Super Novice
		//2: Taekwon/Star Gladiator/Soul Linker
		//4: GunSlinger
		//8: Ninja

	set $@kejs_revertPolicy,1;	//Allows reverting to the last Class one changed from...
		// 0: do not allow reverting
		// 1: Can revert to last Job ONLY when the last job belongs to the same "level" as 
		//    the current one. (ie: it is lost on job change/upgrade)
		// 2: Can revert to the last job regardless of situation.

	set $@kejs_announce,0;	//Do a global announce when someone swaps job.
	set $@kejs_revertCost,100000;	//Cost of reverting back to previous Job.
	set $@kejs_saveDye,1;	//Set to 1 to save and restore previous dye when reverting
	set $@kejs_resetDye,0;	//Set to 1 to reset cloth dye when swapping
	set $@kejs_swapDiscount, 20;	//Kafra Pass % Discount when swapping jobs
	set $@kejs_revertDiscount, 20;	//Kafra Pass % Discount when reverting to a previous job.
	
	//Minimum Job level required for swapping
	set $@kejs_job1ST,20;	//among 1st classes
	set $@kejs_job2ND,50;	//among 2nd classes
	
	//Base Cost for swapping job at min job level required
	set $@kejs_cost1ST,25000;	//among 1st jobs
	set $@kejs_cost2ND,250000;	//among 2nd jobs

	//Percentage discount for every level over the minimum
	set $@kejs_discount1ST,3;	//among 1st jobs
	set $@kejs_discount2ND,3;	//among 2nd jobs
	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -