找回密码
 立即注册

QQ登录

只需一步,快速开始

楼主: admin

游戏技术-l2j游戏的修改教学(适用于新手)

[复制链接]
  • TA的每日心情
    开心
    2024-11-7 11:01
  • 签到天数: 850 天

    [LV.10]以坛为家III

    819

    主题

    1137

    回帖

    1万

    积分

    管理员

    积分
    18569

    射手座猴年

     楼主| admin实名认证 发表于 2015-8-30 17:33:50 | 显示全部楼层
    技能的修改(入门编) (修改会影响游戏平均及乐趣哦)
    技能要修改C:\.........\l2j-server\gameserver\data\stats\skills 里面的 XXXX-XXXX.xml
    必须参考 skill_trees 资料表的 技能 ID, 来找出你要修改的 XXXX-XXXX.xml 然后用记事本开始修改

    1.风之疾走,增加行走速度及加持时间
    修改C:\.........\l2j-server\gameserver\data\stats\skills 里面的 1200-1299.xml
    <skill id="1204" levels="2" name="风之疾走">
    <!-- Done by dc -->
    <table name="#Tab-runSpd"> 20 33 </table>      <-----行走速度修改(将20 33改为100 200就会快非常都)
    <table name="#mpConsume"> 20 27 </table>      <-----相对应等级施法所消耗mp
    <set name="mpConsume" val="#mpConsume"/>
    <set name="power" val="0.0"/>
    <set name="target" val="TARGET_ONE"/>
    <set name="hitTime" val="4000"/>
    <set name="reuseDelay" val="6000"/>
    <set name="skillTime" val="4000"/>
    <set name="skillType" val="BUFF"/>
    <set name="isMagic" val="true"/>
    <set name="operateType" val="OP_ACTIVE"/>
    <set name="buffDuration" val="1200000"/>
    <set name="castRange" val="400"/>
    <for>
    <effect count="1" name="Buff" time="1200" val="0" stackOrder="#Tab-runSpd" stackType="SpeedUp">  <-----加持时间修改,将time="3600"(秒)
    <add order="0x40" stat="runSpd" val="#Tab-runSpd"/>
    </effect>
    说明:风之疾走 levels="1" 行走速度为20,风之疾走 levels="2" 行走速度为33
    **************************************************************************************************
    2.力量强化
    修改C:\.........\l2j-server\gameserver\data\stats\skills 里面的 1000-1099.xml
    <skill id="1068" levels="3" name="力量强化">
    <!-- Done by dc -->
    <table name="#rate"> 1.08 1.12 1.15 </table>      <-----相对应等级增加力量强化倍数
    <table name="#mpConsume"> 10 20 35 </table>      <-----相对应等级施法所消耗mp
    <set name="mpConsume" val="#mpConsume"/>
    <set name="power" val="0.0"/>
    <set name="target" val="TARGET_ONE"/>
    <set name="hitTime" val="4000"/>
    <set name="reuseDelay" val="6000"/>
    <set name="skillTime" val="4000"/>
    <set name="skillType" val="BUFF"/>
    <set name="isMagic" val="true"/>
    <set name="operateType" val="OP_ACTIVE"/>
    <set name="buffDuration" val="1200000"/>
    <set name="castRange" val="400"/>
    <for>
    <effect count="1" name="Buff" time="3600" val="0" stackOrder="#rate" stackType="pAtk">  <-----加持时间修改将time="3600"(秒)
    <mul order="0x30" stat="pAtk" val="#rate"/>
    </effect>
    </for>
    </skill>
    说明:力量强化 levels="3"标准倍数为1.15,就是比原力量增加15%,如果改成1.50,就比原力量增加50%
    #其他的技能自行参考上面范例来修改
    回复

    使用道具 举报

  • TA的每日心情
    开心
    2024-11-7 11:01
  • 签到天数: 850 天

    [LV.10]以坛为家III

    819

    主题

    1137

    回帖

    1万

    积分

    管理员

    积分
    18569

    射手座猴年

     楼主| admin实名认证 发表于 2015-8-30 17:35:22 | 显示全部楼层
    修改C:\.........\l2j-server\gameserver\data\stats\skills 里面的 4300-4399.xml

    <skill id="4310" levels="1" name="强化型">
    <set name="power" val="0.0"/>
    <set name="target" val="TARGET_SELF"/>
    <set name="skillType" val="BUFF"/>
    <set name="operateType" val="OP_PASSIVE"/>
    <set name="castRange" val="-1"/>
    <for>
    <mul order="0x30" stat="maxHp" val="9"/>   <--最大HP加 9倍
    <mul order="0x40" stat="maxMp" val="9"/>   <--最大MP加 9倍
    <mul val='3' order='0x40' stat='mDef' />     <--魔法防御加 3倍
    <mul val='3' order='0x40' stat='pDef' />     <--物理防御加 3倍
    <mul val='3' order='0x50' stat='mAtk' />     <--魔法攻击力加 3倍
    <mul val='3' order='0x40' stat='mAtkSpd' />    <--魔法攻击速度加加 3倍
    <mul val='3' order='0x40' stat='pAtk' />     <--物理攻击力加 3倍
    <mul val='3' order='0x50' stat='pAtkSpd' />    <--物理攻击速度加 3倍
    <mul val='3' order='0x40' stat='regHp'/>     <--HP恢复速度加 3倍
    <mul val='3' order='0x40' stat='regMp'/>     <--MP恢复速度加 3倍
    <mul val='3' order='0x40' stat='sDef' />      <--盾牌格挡加 3倍
    <mul val='3' order='0x30' stat='cAtk' />      <--致命攻击的威力加 3倍
    <mul val='3' order='0x40' stat='rEvas' />     <--回避能力加 3倍
    <mul val='3' order='0x10' stat='accCombat' />   <--命中能力加 3倍
    <mul val='3' order='0x08' stat='rCrit' />     <--致命机率加 3倍
    <mul val='3' order='0x50' stat='breath'/>     <--肺活量增加 3倍
    <mul val='1.80' order='0x40' stat='stunRes'/>    <--受冲击的概率 -80%
    <mul val='1.80' order='0x40' stat='bleedRes'/>   <--出血的概率 -80%
    <mul val='1.80' order='0x40' stat='poisonRes'/>   <--中毒的概率 -80%
    <mul val='1.80' order='0x40' stat='sleepRes'/>    <-- 受催眠的概率 -80%
    <mul val='1.80' order='0x40' stat='rootRes'/>    <--受固定的概率 -80%
    <mul val='1.80' order='0x40' stat='cancel' />     <--因受伤而施法中断的机率 -80%
    <add val='150' order='0x40' stat='runSpd' />    <--移动速度加150
    </for>
    </skill>

    游戏时利用gm功能增加4310技能给自己就可以了
    回复

    使用道具 举报

  • TA的每日心情
    开心
    2024-11-7 11:01
  • 签到天数: 850 天

    [LV.10]以坛为家III

    819

    主题

    1137

    回帖

    1万

    积分

    管理员

    积分
    18569

    射手座猴年

     楼主| admin实名认证 发表于 2015-8-30 17:35:53 | 显示全部楼层
    新角色所赋予的装备的修改方法:

    开起phpMyAdmin 后,左边是资料库的选择,找出 l2jdb (xx)
    然后就会列出l2jdb各个资料库 accounts 一直到 zone
    找出 char_templates 资料表点下去, phpMyAdmin右方就会出现讯息
    点最上面一排的按钮 [浏览] 就会出现各职业的资料

    我们先修改第一项人类战士,按第一排左边 铅笔图形(编辑)
    就会出现详细的资料表,然后找最下面5个

    items1 = 1147   -->改成你要的ID(不能打数量)
    items2 = 1146  -->改成你要的ID(不能打数量)
    items3 = 10   -->改成你要的ID(不能打数量)
    items4 = 2369  -->改成你要的ID(不能打数量)
    items5 = 5588  -->改成你要的ID(不能打数量)

    打玩后按执行就OK了

    其他职业自己照着打(只要改最初的几个职业就好,转职后的职业不用改)

    *************************************************************
    建议只给予武器和装备,因为给一个红水和回卷没什么意义

    我一般都给下列物品:

    战士
    items1 = 68  弯刃大刀
    items2 = 219  碎剑者
    items3 = 26  青铜胸甲
    items4 = 34  青铜胫甲
    items5 = 5588  天堂II初学者导览

    法师

    items1 = 177  法师魔杖
    items2 = 311  祝福的十字架
    items3 = 1102  巫术外衣
    items4 = 1105  巫术长袜
    items5 = 558  天堂II初学者导览

    半兽人战士将碎剑者改成257 毒蛇之牙
    半兽人法师将祝福的十字架改成257 毒蛇之牙


    *************************************************************

    中文 char_templates资料表(请自行导入使用)

    -- phpMyAdmin SQL Dump
    -- version 2.9.0.2
    -- http://www.phpmyadmin.net
    --
    -- 主机: localhost
    -- 建立日期: Jan 13, 2007, 12:23 PM
    -- 伺服器版本: 5.0.24
    -- PHP 版本: 5.1.6
    --
    -- 资料库: `l2jdb`
    --

    -- --------------------------------------------------------

    --
    -- 资料表格式: `char_templates`
    --

    CREATE TABLE `char_templates` (
    `ClassId` int(11) NOT NULL default '0',
    `ClassName` varchar(20) NOT NULL default '',
    `RaceId` int(1) NOT NULL default '0',
    `STR` int(2) NOT NULL default '0',
    `CON` int(2) NOT NULL default '0',
    `DEX` int(2) NOT NULL default '0',
    `_INT` int(2) NOT NULL default '0',
    `WIT` int(2) NOT NULL default '0',
    `MEN` int(2) NOT NULL default '0',
    `P_ATK` int(3) NOT NULL default '0',
    `P_DEF` int(3) NOT NULL default '0',
    `M_ATK` int(3) NOT NULL default '0',
    `M_DEF` int(2) NOT NULL default '0',
    `P_SPD` int(3) NOT NULL default '0',
    `M_SPD` int(3) NOT NULL default '0',
    `ACC` int(3) NOT NULL default '0',
    `CRITICAL` int(3) NOT NULL default '0',
    `EVASION` int(3) NOT NULL default '0',
    `MOVE_SPD` int(3) NOT NULL default '0',
    `_LOAD` int(11) NOT NULL default '0',
    `x` int(9) NOT NULL default '0',
    `y` int(9) NOT NULL default '0',
    `z` int(9) NOT NULL default '0',
    `canCraft` int(1) NOT NULL default '0',
    `M_UNK1` decimal(4,2) NOT NULL default '0.00',
    `M_UNK2` decimal(8,6) NOT NULL default '0.000000',
    `M_COL_R` decimal(3,1) NOT NULL default '0.0',
    `M_COL_H` decimal(4,1) NOT NULL default '0.0',
    `F_UNK1` decimal(4,2) NOT NULL default '0.00',
    `F_UNK2` decimal(8,6) NOT NULL default '0.000000',
    `F_COL_R` decimal(3,1) NOT NULL default '0.0',
    `F_COL_H` decimal(4,1) NOT NULL default '0.0',
    `items1` int(4) NOT NULL default '0',
    `items2` int(4) NOT NULL default '0',
    `items3` int(4) NOT NULL default '0',
    `items4` int(4) NOT NULL default '0',
    `items5` int(10) NOT NULL default '0',
    PRIMARY KEY (`ClassId`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

    --
    -- 列出以下资料库的数据: `char_templates`
    --

    INSERT INTO `char_templates` VALUES (0, '人类战士 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 4224, 4225, 219, 68, 5588);
    INSERT INTO `char_templates` VALUES (1, '斗士 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (2, '剑斗士 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (3, '佣兵 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (4, '骑士 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (5, '圣骑士 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (6, '暗骑士 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (7, '盗贼 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (8, '宝藏猎人 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (9, '鹰眼 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (10, '人类法师 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 1102, 1105, 311, 177, 5588);
    INSERT INTO `char_templates` VALUES (11, '人类巫师 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (12, '术士 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (13, '死灵 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (14, '法魔 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (15, '人类牧师 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (16, '主教 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (17, '先知 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (18, '精灵战士 ', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 4224, 4225, 219, 68, 5588);
    INSERT INTO `char_templates` VALUES (19, '精灵骑士 ', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (20, '圣殿骑士 ', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (21, '剑术诗人 ', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (22, '精灵巡守 ', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (23, '大地行者 ', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (24, '银月游侠 ', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (25, '精灵法师 ', 1, 21, 25, 24, 37, 23, 40, 3, 54, 6, 41, 300, 333, 30, 41, 30, 122, 12480000, 46182, 41198, -3440, 0, 1.04, 0.898560, 7.5, 24.0, 1.04, 0.898560, 7.5, 23.0, 1102, 1105, 311, 177, 5588);
    INSERT INTO `char_templates` VALUES (26, '精灵巫师 ', 1, 21, 25, 24, 37, 23, 40, 3, 54, 6, 41, 300, 333, 30, 41, 30, 122, 12480000, 46182, 41198, -3440, 0, 1.04, 0.898560, 7.5, 24.0, 1.04, 0.898560, 7.5, 23.0, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (27, '咒术诗人 ', 1, 21, 25, 24, 37, 23, 40, 3, 54, 6, 41, 300, 333, 30, 41, 30, 122, 12480000, 46182, 41198, -3440, 0, 1.04, 0.898560, 7.5, 24.0, 1.04, 0.898560, 7.5, 23.0, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (28, '元素使 ', 1, 21, 25, 24, 37, 23, 40, 3, 54, 6, 41, 300, 333, 30, 41, 30, 122, 12480000, 46182, 41198, -3440, 0, 1.04, 0.898560, 7.5, 24.0, 1.04, 0.898560, 7.5, 23.0, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (29, '精灵神使 ', 1, 21, 25, 24, 37, 23, 40, 3, 54, 6, 41, 300, 333, 30, 41, 30, 122, 12480000, 46182, 41198, -3440, 0, 1.04, 0.898560, 7.5, 24.0, 1.04, 0.898560, 7.5, 23.0, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (30, '长老 ', 1, 21, 25, 24, 37, 23, 40, 3, 54, 6, 41, 300, 333, 30, 41, 30, 122, 12480000, 46182, 41198, -3440, 0, 1.04, 0.898560, 7.5, 24.0, 1.04, 0.898560, 7.5, 23.0, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (31, '黑暗精灵战士 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 4224, 4225, 219, 68, 5588);
    INSERT INTO `char_templates` VALUES (32, '沼泽骑士 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (33, '席琳骑士 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (34, '剑刃舞者 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (35, '暗杀者 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (36, '深渊行者 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (37, '闇影游侠 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (38, '黑暗精灵法师 ', 2, 23, 24, 23, 44, 19, 37, 3, 54, 6, 41, 300, 333, 29, 41, 29, 122, 12200000, 28295, 11063, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.03, 0.889920, 7.0, 23.5, 1102, 1105, 311, 177, 5588);
    INSERT INTO `char_templates` VALUES (39, '黑暗巫师 ', 2, 23, 24, 23, 44, 19, 37, 3, 54, 6, 41, 300, 333, 29, 41, 29, 122, 12200000, 28295, 11063, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.03, 0.889920, 7.0, 23.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (40, '狂咒术士 ', 2, 23, 24, 23, 44, 19, 37, 3, 54, 6, 41, 300, 333, 29, 41, 29, 122, 12200000, 28295, 11063, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.03, 0.889920, 7.0, 23.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (41, '闇影召唤士 ', 2, 23, 24, 23, 44, 19, 37, 3, 54, 6, 41, 300, 333, 29, 41, 29, 122, 12200000, 28295, 11063, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.03, 0.889920, 7.0, 23.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (42, '席琳神使 ', 2, 23, 24, 23, 44, 19, 37, 3, 54, 6, 41, 300, 333, 29, 41, 29, 122, 12200000, 28295, 11063, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.03, 0.889920, 7.0, 23.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (43, '席琳长老 ', 2, 23, 24, 23, 44, 19, 37, 3, 54, 6, 41, 300, 333, 29, 41, 29, 122, 12200000, 28295, 11063, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.03, 0.889920, 7.0, 23.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (44, '半兽人战士 ', 3, 40, 47, 26, 18, 12, 27, 4, 80, 6, 41, 300, 333, 31, 42, 31, 117, 17400000, -56693, -113610, -690, 0, 1.06, 1.144800, 11.0, 28.0, 1.06, 1.144800, 7.0, 27.0, 4224, 4225, 257, 68, 5588);
    INSERT INTO `char_templates` VALUES (45, '半兽人突击者 ', 3, 40, 47, 26, 18, 12, 27, 4, 80, 6, 41, 300, 333, 31, 42, 31, 117, 17400000, -56693, -113610, -690, 0, 1.06, 1.144800, 11.0, 28.0, 1.06, 1.144800, 7.0, 27.0, 1147, 1146, 2368, 2369, 5588);
    INSERT INTO `char_templates` VALUES (46, '破坏者 ', 3, 40, 47, 26, 18, 12, 27, 4, 80, 6, 41, 300, 333, 31, 42, 31, 117, 17400000, -56693, -113610, -690, 0, 1.06, 1.144800, 11.0, 28.0, 1.06, 1.144800, 7.0, 27.0, 1147, 1146, 2368, 2369, 5588);
    INSERT INTO `char_templates` VALUES (47, '半兽人武者 ', 3, 40, 47, 26, 18, 12, 27, 4, 80, 6, 41, 300, 333, 31, 42, 31, 117, 17400000, -56682, -113610, -690, 0, 1.06, 1.144800, 11.0, 28.0, 1.06, 1.144800, 7.0, 27.0, 1147, 1146, 2368, 2369, 5588);
    INSERT INTO `char_templates` VALUES (48, '暴君 ', 3, 40, 47, 26, 18, 12, 27, 4, 80, 6, 41, 300, 333, 31, 42, 31, 117, 17400000, -56693, -113610, -690, 0, 1.06, 1.144800, 11.0, 28.0, 1.06, 1.144800, 7.0, 27.0, 1147, 1146, 2368, 2369, 5588);
    INSERT INTO `char_templates` VALUES (49, '半兽人法师 ', 3, 27, 31, 24, 31, 15, 42, 3, 54, 6, 41, 300, 333, 30, 41, 30, 121, 13600000, -56682, -113730, -690, 0, 1.04, 0.898560, 7.0, 27.5, 1.04, 0.898560, 8.0, 25.5, 1102, 1105, 257, 177, 5588);
    INSERT INTO `char_templates` VALUES (50, '半兽人巫医 ', 3, 27, 31, 24, 31, 15, 42, 3, 54, 6, 41, 300, 333, 30, 41, 30, 121, 13600000, -56682, -113730, -690, 0, 1.04, 0.898560, 7.0, 27.5, 1.04, 0.898560, 8.0, 25.5, 425, 461, 2368, 5588, 0);
    INSERT INTO `char_templates` VALUES (51, '霸主 ', 3, 27, 31, 24, 31, 15, 42, 3, 54, 6, 41, 300, 333, 30, 41, 30, 121, 13600000, -56682, -113730, -690, 0, 1.04, 0.898560, 7.0, 27.5, 1.04, 0.898560, 8.0, 25.5, 425, 461, 2368, 5588, 0);
    INSERT INTO `char_templates` VALUES (52, '战狂 ', 3, 27, 31, 24, 31, 15, 42, 3, 54, 6, 41, 300, 333, 30, 41, 30, 121, 13600000, -56682, -113730, -690, 0, 1.04, 0.898560, 7.0, 27.5, 1.04, 0.898560, 8.0, 25.5, 425, 461, 2368, 5588, 0);
    INSERT INTO `char_templates` VALUES (53, '矮人战士 ', 4, 39, 45, 29, 20, 10, 27, 4, 80, 6, 41, 300, 333, 33, 43, 33, 115, 16600000, 108512, -174026, -400, 1, 1.09, 1.487196, 9.0, 18.0, 1.09, 1.487196, 5.0, 19.0, 4224, 4225, 219, 68, 5588);
    INSERT INTO `char_templates` VALUES (54, '收集者 ', 4, 39, 45, 29, 20, 10, 27, 4, 80, 6, 41, 300, 333, 33, 43, 33, 115, 16600000, 108512, -174026, -400, 1, 1.09, 1.487196, 9.0, 18.0, 1.09, 1.487196, 5.0, 19.0, 1147, 1146, 10, 2370, 5588);
    INSERT INTO `char_templates` VALUES (55, '赏金猎人 ', 4, 39, 45, 29, 20, 10, 27, 4, 80, 6, 41, 300, 333, 33, 43, 33, 115, 16600000, 108512, -174026, -400, 1, 1.09, 1.487196, 9.0, 18.0, 1.09, 1.487196, 5.0, 19.0, 1147, 1146, 10, 2370, 5588);
    INSERT INTO `char_templates` VALUES (56, '工匠 ', 4, 39, 45, 29, 20, 10, 27, 4, 80, 6, 41, 300, 333, 33, 43, 33, 115, 16600000, 108512, -174026, -400, 1, 1.09, 1.487196, 9.0, 18.0, 1.09, 1.487196, 5.0, 19.0, 1147, 1146, 10, 2370, 5588);
    INSERT INTO `char_templates` VALUES (57, '战争工匠 ', 4, 39, 45, 29, 20, 10, 27, 4, 80, 6, 41, 300, 333, 33, 43, 33, 115, 16600000, 108512, -174026, -400, 1, 1.09, 1.487196, 9.0, 18.0, 1.09, 1.487196, 5.0, 19.0, 1147, 1146, 10, 2370, 5588);
    INSERT INTO `char_templates` VALUES (88, '决斗者 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (89, '猛将 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (90, '圣凰骑士 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (91, '炼狱骑士 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (92, '人马 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (93, '冒险英豪 ', 0, 40, 43, 30, 21, 11, 25, 4, 80, 6, 41, 300, 333, 33, 44, 33, 115, 16380000, -71338, 258271, -3104, 0, 1.10, 1.188000, 9.0, 23.0, 1.10, 1.188000, 8.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (94, '大魔导士 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (95, '魂狩术士者 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (96, '秘仪召主 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (97, '枢机主教 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (98, '昭圣者 ', 0, 22, 27, 21, 41, 20, 39, 3, 54, 6, 41, 300, 333, 28, 40, 28, 120, 12500000, -90890, 248027, -3570, 0, 1.01, 0.872640, 7.5, 22.8, 1.01, 0.872640, 6.5, 22.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (99, '伊娃神殿骑士 ', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (100, '伊娃吟游诗人 ', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (101, '疾风浪人 ', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (102, '月萤箭灵', 1, 36, 36, 35, 23, 14, 26, 4, 80, 6, 41, 300, 333, 36, 46, 36, 125, 14600000, 45978, 41196, -3440, 0, 1.15, 1.242000, 7.5, 24.0, 1.15, 1.242000, 7.5, 23.0, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (103, '伊娃秘术诗人 ', 1, 21, 25, 24, 37, 23, 40, 3, 54, 6, 41, 300, 333, 30, 41, 30, 122, 12480000, 46182, 41198, -3440, 0, 1.04, 0.898560, 7.5, 24.0, 1.04, 0.898560, 7.5, 23.0, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (104, '元素支配者 ', 1, 21, 25, 24, 37, 23, 40, 3, 54, 6, 41, 300, 333, 30, 41, 30, 122, 12480000, 46182, 41198, -3440, 0, 1.04, 0.898560, 7.5, 24.0, 1.04, 0.898560, 7.5, 23.0, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (105, '伊娃圣者 ', 1, 21, 25, 24, 37, 23, 40, 3, 54, 6, 41, 300, 333, 30, 41, 30, 122, 12480000, 46182, 41198, -3440, 0, 1.04, 0.898560, 7.5, 24.0, 1.04, 0.898560, 7.5, 23.0, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (106, '席琳冥殿骑士 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (107, '幽冥舞者 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (108, '魅影猎者 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (109, '幽冥箭灵 ', 2, 41, 32, 34, 25, 12, 26, 4, 80, 6, 41, 300, 333, 35, 45, 35, 122, 13800000, 28377, 10916, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.14, 1.231200, 7.0, 23.5, 1147, 1146, 10, 2369, 5588);
    INSERT INTO `char_templates` VALUES (110, '暴风狂啸者 ', 2, 23, 24, 23, 44, 19, 37, 3, 54, 6, 41, 300, 333, 29, 41, 29, 122, 12200000, 28295, 11063, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.03, 0.889920, 7.0, 23.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (111, '闇影支配者 ', 2, 23, 24, 23, 44, 19, 37, 3, 54, 6, 41, 300, 333, 29, 41, 29, 122, 12200000, 28295, 11063, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.03, 0.889920, 7.0, 23.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (112, '席琳圣者 ', 2, 23, 24, 23, 44, 19, 37, 3, 54, 6, 41, 300, 333, 29, 41, 29, 122, 12200000, 28295, 11063, -4224, 0, 1.14, 1.231200, 7.5, 24.0, 1.03, 0.889920, 7.0, 23.5, 425, 461, 6, 5588, 0);
    INSERT INTO `char_templates` VALUES (113, '泰坦 ', 3, 40, 47, 26, 18, 12, 27, 4, 80, 6, 41, 300, 333, 31, 42, 31, 117, 17400000, -56693, -113610, -690, 0, 1.06, 1.144800, 11.0, 28.0, 1.06, 1.144800, 7.0, 27.0, 1147, 1146, 2368, 2369, 5588);
    INSERT INTO `char_templates` VALUES (114, '卡巴塔里宗师 ', 3, 40, 47, 26, 18, 12, 27, 4, 80, 6, 41, 300, 333, 31, 42, 31, 117, 17400000, -56693, -113610, -690, 0, 1.06, 1.144800, 11.0, 28.0, 1.06, 1.144800, 7.0, 27.0, 1147, 1146, 2368, 2369, 5588);
    INSERT INTO `char_templates` VALUES (115, '君主 ', 3, 27, 31, 24, 31, 15, 42, 3, 54, 6, 41, 300, 333, 30, 41, 30, 121, 13600000, -56682, -113730, -690, 0, 1.04, 0.898560, 7.0, 27.5, 1.04, 0.898560, 8.0, 25.5, 425, 461, 2368, 5588, 0);
    INSERT INTO `char_templates` VALUES (116, '末日战狂 ', 3, 27, 31, 24, 31, 15, 42, 3, 54, 6, 41, 300, 333, 30, 41, 30, 121, 13600000, -56682, -113730, -690, 0, 1.04, 0.898560, 7.0, 27.5, 1.04, 0.898560, 8.0, 25.5, 425, 461, 2368, 5588, 0);
    INSERT INTO `char_templates` VALUES (117, '财富猎人 ', 4, 39, 45, 29, 20, 10, 27, 4, 80, 6, 41, 300, 333, 33, 43, 33, 115, 16600000, 108512, -174026, -400, 1, 1.09, 1.487196, 9.0, 18.0, 1.09, 1.487196, 5.0, 19.0, 1147, 1146, 10, 2370, 5588);
    INSERT INTO `char_templates` VALUES (118, '巨匠 ', 4, 39, 45, 29, 20, 10, 27, 4, 80, 6, 41, 300, 333, 33, 43, 33, 115, 16600000, 108512, -174026, -400, 1, 1.09, 1.487196, 9.0, 18.0, 1.09, 1.487196, 5.0, 19.0, 1147, 1146, 10, 2370, 5588);
    回复

    使用道具 举报

  • TA的每日心情
    开心
    2024-11-7 11:01
  • 签到天数: 850 天

    [LV.10]以坛为家III

    819

    主题

    1137

    回帖

    1万

    积分

    管理员

    积分
    18569

    射手座猴年

     楼主| admin实名认证 发表于 2015-8-30 17:36:24 | 显示全部楼层
    技能的修改(入门编 2) (修改会影响游戏平衡及乐趣哦)

    技能要修改C:\.........\l2j-server\gameserver\data\stats\skills 里面的 XXXX-XXXX.xml

    必须参考 skill_trees 资料表的 技能 ID, 来找出你要修改的 XXXX-XXXX.xml 然后用记事本开始修改



    <skill id="30" levels="38" name="Backstab">   技能ID,级数,名称
    <set name="mpConsume" val="250"/>     消耗250MP
    <set name="power" val="350.0"/>       威力350
    <set name="target" val="TARGET_SELF"/>   目标自我
    <set name="target" val="TARGET_ONE"/>   目标单个
    <set name="target" val="TARGET_AREA"/>   目标群体(若为AURA则是以自我为中心对周围的伤害)
    <set name="skillRadius" val="605"/>      群攻的半径(群体时用)
    <set name="skillTime" val="7000"/>      技能时间间隔
    <set name="skillType" val="MDAM"/>     技能类型:魔法攻击
    <set name="skillType" val="PDAM"/>     技能类型:物理攻击(BUFF技能有对应的skillType)
    <set name="castRange" val="900"/>      发技能所须的距离
    <table name="#rate"> 1.08 1.12 1.15 </table>     相对应等级增加的倍数
    <table name="#mpConsume"> 53 55 57 57</table>   把每级技能消耗的MP定义在 #mpConsume
    <set name="mpConsume" val="#mpConsume"/>    调用上面定义的#mpConsume
    <set name="power" val="#power"/>         同理,当然你也可以用这方法定义施法时间逐级减少或其它)
    <for>
    <using kind="Dagger" skill="0030"/>   (Dagger是匕首,这是需要装备匕首才能发动此技能的意思,剑sword,盾Shield,砘器blunt如此类推)
    </add>
    </for>
    回复

    使用道具 举报

  • TA的每日心情
    开心
    2024-11-7 11:01
  • 签到天数: 850 天

    [LV.10]以坛为家III

    819

    主题

    1137

    回帖

    1万

    积分

    管理员

    积分
    18569

    射手座猴年

     楼主| admin实名认证 发表于 2015-8-30 17:38:01 | 显示全部楼层
    游戏中NPC编辑

    滑鼠左键+SHIFT 点NPC或怪,你可以看到 编辑页面
    按编辑NPC,可以看到很多数值
    NPC种类:就是设定他是商人.怪物.BOSS.还是教师...等等型态 注意这边乱改 没有依照设定的语法 会造成无法呼叫NPC的情形
    范围:就是你点NPC的时候能不能轻易点到 比方说 游戏中的圣诞树 大多无法点 就是因为范围0
    高度:这个是NPC显示的高度 钓鱼版很多NPC都埋在土里面 就可以修正这个数值来调整
    等级: 这个不需要解释了吧
    性别: 这个也不用我说明
    攻击率: 数值 好像没法乱改
    最大HP:这里可以改血量
    最大MP:改MP
    经验: 打死怪得到的经验值
    技能值: SP
    物攻: 怪物的攻击力
    物防: 怪的防御
    魔攻: 怪的魔攻
    魔防: 怪的魔防
    攻速: 怪的攻击速度
    主被动: 0为被动 500为主动
    施法SPD: 怪的施法速度
    右手: 你要给怪物武器的编号
    左手: 同上 或 盾牌
    盔甲: 这个不知道有没有实装
    走度: 走路速度
    跑速: 跑步速度
    编辑完成储存,删除怪物重叫一只 就会正常了
    -------------------------------------------------------------------------------------
    点左键+SHIFT,选择显示掉落
    这里可以编辑掉落物品
    道具编号: 就是你要设定的物品编号
    最小: 你要掉落的数量最小值 0表示不一定会掉落 1表示最少掉1个
    最大: 你要掉落数量的最大值
    回收:表示掉落可不可以回收, true 表示回收才能回收到上面设定的物品
    机率: 100000表示10% (记住 这里的设定 必须配合你游戏上 掉宝率的设定 才不会变成太会掉落)
    回复

    使用道具 举报

  • TA的每日心情
    开心
    2024-11-7 11:01
  • 签到天数: 850 天

    [LV.10]以坛为家III

    819

    主题

    1137

    回帖

    1万

    积分

    管理员

    积分
    18569

    射手座猴年

     楼主| admin实名认证 发表于 2015-8-30 17:38:45 | 显示全部楼层
    提高人物负重方式:
    前面有介绍用phpmyadmin到l2jdb数据库的char_templates资料表 编辑功能
    执行下面的指令来增加负重
    下面:全部人物负重提高至200000
    代码:
    update char_teomplates set _LOAD = 200000;
    下面:依每个职业的原本负重加成100倍
    代码:
    UPDATE char_templates set _LOAD = _LOAD * 100

    但是现在使用 L2JTW server 4.5 时发现改了也没用,所以我们可以利用内衣或图腾甲来增加负重
    内衣及图腾附加功能的修改
    要改\Server\l2j-server\gameserver\data\stats\armor里面的 XXXX-XXXX.xml哦
    参考防具armor编码找到内衣及斗蓬的ID,图腾ID:485-496 ,内衣ID:675-685
    所以图腾改0400-0499.xml , 内衣改0600-0699.xml

    追加功能语法
    <add val='50000' order='0x40' stat='maxLoad'/> 负重限制 +50000
    <add val='20' order='0x40' stat='runSpd' />   移动速度+20
    <mul val='1.08' order='0x40' stat='mDef' />   魔法防御+8%
    <mul val='1.08' order='0x40' stat='pDef' />   物理防御力+8%
    <mul val='1.10' order='0x50' stat='mAtk' />   魔法攻击力+10%
    <mul val='1.10' order='0x40' stat='mAtkSpd' />  魔法施法速度+10%
    <mul val='1.10' order='0x40' stat='pAtk' />   物理攻击力+10%
    <mul val='1.10' order='0x50' stat='pAtkSpd' />  物理攻击速度+10%
    ======================================================================================
    图腾修改方法范例:(追加功能:移动速度. 物理防御力.物理攻击力.物理攻击速度
    <item id='490' name="Tattoo of Blood">    <-----血之图腾
    <for>
    <add val='132' order='0x10' stat='pDef'/>
    <add val='50000' order='0x40' stat='maxLoad'/> <----负重限制 +50000
    <add val='20' order='0x40' stat='runSpd' />    <----这里增加移动速度
    <mul val='1.08' order='0x40' stat='pDef' />    <----这里增加物理防御力
    <mul val='1.10' order='0x40' stat='pAtk' />    <----这里增加物理攻击力
    <mul val='1.10' order='0x50' stat='pAtkSpd' />    <----这里增加物理攻击速度
    <enchant val='0' order='0x0C' stat='pDef'/>
    </for>
    </item>
    =====================================================================================
    内衣修改方法范例:(追加功能:移动速度. 魔法防御.魔法攻击力.魔法施法速度
    <item id='683' name="Holy Undergarment Set">    <-----神圣内衣
    <for>
    <add val='22' order='0x10' stat='pDef'/>
    <add val='50000' order='0x40' stat='maxLoad'/> <----负重限制 +50000
    <add val='20' order='0x40' stat='runSpd' />     <----这里增加移动速度
    <mul val='1.08' order='0x40' stat='mDef' />    <----这里增加魔法防御
    <mul val='1.10' order='0x50' stat='mAtk' />    <----这里增加魔法攻击力
    <mul val='1.10' order='0x40' stat='mAtkSpd' />   <----这里增加魔法施法速度
    <enchant val='0' order='0x0C' stat='pDef'/>
    </for>
    </item>
    如果复制贴上使用时要去掉 <---中文说明哦
    回复

    使用道具 举报

  • TA的每日心情
    开心
    2024-11-7 11:01
  • 签到天数: 850 天

    [LV.10]以坛为家III

    819

    主题

    1137

    回帖

    1万

    积分

    管理员

    积分
    18569

    射手座猴年

     楼主| admin实名认证 发表于 2015-8-30 17:39:12 | 显示全部楼层
    增加给予新手更多的奖励方法:
    因为char_templates 资料表内的新角色所赋予的装备只能给予5样物品,而且数量都只能给1个,
    所以我们可以利用[新手导览]这个任务赋予新手更多的奖励。
    找出C:\L2JTW-Server\gameserver\data\jscript\quests\999_C3Tutorial里面的 __init__.py 档案
    用记事本开起
    # Made by Mr. Have fun! - version 0.2 by Rolarga
    # C5 addons by DrLecter
    import sys
    from net.sf.l2j.gameserver.model.quest import State
    from net.sf.l2j.gameserver.model.quest import QuestState
    from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest
    qn = "999_C3Tutorial"
    RECOMMENDATION_01 = 1067
    RECOMMENDATION_02 = 1068
    LEAF_OF_MOTHERTREE = 1069
    BLOOD_OF_JUNDIN = 1070
    LICENSE_OF_MINER = 1498
    VOUCHER_OF_FLAME = 1496
    SOULSHOT_NOVICE = 5789     <--------新手用灵魂弹-普通(任务奖励)
    SPIRITSHOT_NOVICE = 5790    <--------新手用魔灵弹-普通(任务奖励)
    BLUE_GEM = 6353         <--------蓝色宝石(任务道具)
    TOKEN = 8542          <--------见习旅者的标章(任务奖励)
    BOOTS = 39           <--------长靴(新增奖励)
    HELMET = 44           <--------皮头盔(新增奖励)
    BRACER = 51           <--------腕甲(新增奖励)
    SCROLL= 8594          <--------恢复卷轴-普通(任务奖励)
    # event:[htmlfile,radarX,radarY,radarZ,item,classId1,gift1,count1,classId2,gift2,count2]
    EVENTS={
    "30008_02":["30008-03.htm",-84058, 243239,-3730,RECOMMENDATION_01 ,0x00,SOULSHOT_NOVICE ,1200,0x00, 0, 0],
    "30017_02":["30017-03.htm",-84058, 243239,-3730,RECOMMENDATION_02 ,0x0a,SPIRITSHOT_NOVICE,600,0x00, 0, 0],
    "30370_02":["30370-03.htm", 45491, 48359,-3086,LEAF_OF_MOTHERTREE,0x19,SPIRITSHOT_NOVICE,600,0x12,SOULSHOT_NOVICE,1200],
    "30129_02":["30129-03.htm", 12116, 16666,-4610,BLOOD_OF_JUNDIN ,0x26,SPIRITSHOT_NOVICE,600,0x1f,SOULSHOT_NOVICE,1200],
    "30528_02":["30528-03.htm",115642,-178046, -941,LICENSE_OF_MINER ,0x35,SOULSHOT_NOVICE ,1200,0x00, 0, 0],
    "30573_02":["30573-03.htm",-45067,-113549, -235,VOUCHER_OF_FLAME ,0x31,SPIRITSHOT_NOVICE,600,0x2c,SOULSHOT_NOVICE,1200]
    }
    # npcId:[raceId,[htmlfiles],npcTyp,item]
    TALKS={
    30017:[0,["30017-01.htm","30017-02.htm","30017-04.htm"],0,0],
    30008:[0,["30008-01.htm","30008-02.htm","30008-04.htm"],0,0],
    30370:[1,["30370-01.htm","30370-02.htm","30370-04.htm"],0,0],
    30129:[2,["30129-01.htm","30129-02.htm","30129-04.htm"],0,0],
    30573:[3,["30573-01.htm","30573-02.htm","30573-04.htm"],0,0],
    30528:[4,["30528-01.htm","30528-02.htm","30528-04.htm"],0,0],
    30018:[0,["30131-01.htm",0,"30019-03a.htm","30019-04.htm",],1,RECOMMENDATION_02],
    30019:[0,["30131-01.htm",0,"30019-03a.htm","30019-04.htm",],1,RECOMMENDATION_02],
    30020:[0,["30131-01.htm",0,"30019-03a.htm","30019-04.htm",],1,RECOMMENDATION_02],
    30021:[0,["30131-01.htm",0,"30019-03a.htm","30019-04.htm",],1,RECOMMENDATION_02],
    30009:[0,["30530-01.htm","30009-03.htm",0,"30009-04.htm",],1,RECOMMENDATION_01],
    30011:[0,["30530-01.htm","30009-03.htm",0,"30009-04.htm",],1,RECOMMENDATION_01],
    30012:[0,["30530-01.htm","30009-03.htm",0,"30009-04.htm",],1,RECOMMENDATION_01],
    30056:[0,["30530-01.htm","30009-03.htm",0,"30009-04.htm",],1,RECOMMENDATION_01],
    30400:[1,["30131-01.htm","30400-03.htm","30400-03a.htm","30400-04.htm",],1,LEAF_OF_MOTHERTREE],
    30401:[1,["30131-01.htm","30400-03.htm","30400-03a.htm","30400-04.htm",],1,LEAF_OF_MOTHERTREE],
    30402:[1,["30131-01.htm","30400-03.htm","30400-03a.htm","30400-04.htm",],1,LEAF_OF_MOTHERTREE],
    30403:[1,["30131-01.htm","30400-03.htm","30400-03a.htm","30400-04.htm",],1,LEAF_OF_MOTHERTREE],
    30131:[2,["30131-01.htm","30131-03.htm","30131-03a.htm","30131-04.htm",],1,BLOOD_OF_JUNDIN],
    30404:[2,["30131-01.htm","30131-03.htm","30131-03a.htm","30131-04.htm",],1,BLOOD_OF_JUNDIN],
    30574:[3,["30575-01.htm","30575-03.htm","30575-03a.htm","30575-04.htm",],1,VOUCHER_OF_FLAME],
    30575:[3,["30575-01.htm","30575-03.htm","30575-03a.htm","30575-04.htm",],1,VOUCHER_OF_FLAME],
    30530:[4,["30530-01.htm","30530-03.htm",0,"30530-04.htm",],1,LICENSE_OF_MINER]
    }
    class Quest (JQuest) :
    def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
    def onEvent (self,event,st) :
    htmltext = event
    htmlfile,radarX,radarY,radarZ,item,classId1,gift1,count1,classId2,gift2,count2 = EVENTS[event]
    st.addRadar(radarX,radarY,radarZ);
    htmltext=htmlfile
    if st.getQuestItemsCount(item) and st.getInt("onlyone") == 0:
    st.addExpAndSp(0,50)
    st.takeItems(item,1)
    if st.getPlayer().getClassId().getId() == classId1 :
    st.giveItems(gift1,count1)
    elif st.getPlayer().getClassId().getId() == classId2 :
    if gift2:
    st.giveItems(gift2,count2)
    st.unset("cond")
    st.set("onlyone","1")
    st.setState(COMPLETED)
    st.playSound("ItemSound.quest_finish")
    return htmltext
    def onFirstTalk (self,npc,player):
    st = player.getQuestState(qn)
    if st :
    id = st.getState()
    onlyone=st.getInt("onlyone")
    if id == COMPLETED and onlyone == 1:
    st.set("onlyone","2")
    if player.getClassId().isMage() :
    st.giveItems(SPIRITSHOT_NOVICE,600)  <--------新手用魔灵弹-普通,数量600 (任务奖励)
    else:
    st.giveItems(SOULSHOT_NOVICE,1200)  <--------新手用灵魂弹-普通,数量1200 (任务奖励)
    st.giveItems(TOKEN,12)         <--------见习旅者的标章,数量12 (任务奖励)
    st.giveItems(BOOTS,1)          <--------(新增奖励)长靴,数量1
    st.giveItems(HELMET,1)         <--------(新增奖励)皮头盔,数量1
    st.giveItems(BRACER,1)         <--------(新增奖励)腕甲,数量1
    if st.getRandom(2):
    st.giveItems(SCROLL,2)        <--------恢复卷轴-普通,数量2 (任务奖励)
    return
    def onTalk (self,npc,player):
    htmltext = "<html><body>You are either not carrying out your quest or don't meet the criteria.</body></html>"
    st = player.getQuestState(qn)
    if not st : return htmltext
    npcId = npc.getNpcId()
    id = st.getState()
    cond=st.getInt("cond")
    onlyone=st.getInt("onlyone")
    level=player.getLevel()
    isMage = player.getClassId().isMage()
    npcTyp=0
    if id == CREATED :
    st.setState(STARTING)
    st.set("onlyone","0")
    raceId,htmlfiles,npcTyp,item = TALKS[npcId]
    if (level >= 10 or onlyone) and npcTyp == 1:
    htmltext = "30575-05.htm"
    elif onlyone == 0 and level < 10 :
    if player.getRace().ordinal() == raceId :
    htmltext=htmlfiles[0]
    if npcTyp==1:
    if cond==0 :
    if isMage :
    st.set("cond","1")
    st.setState(STARTED)
    st.playSound("ItemSound.quest_tutorial")
    else:
    htmltext="30530-01.htm"
    st.set("cond","1")
    st.setState(STARTED)
    st.playSound("ItemSound.quest_tutorial")
    elif cond==1 and st.getQuestItemsCount(item)==0 :
    if st.getQuestItemsCount(BLUE_GEM) :
    st.takeItems(BLUE_GEM,st.getQuestItemsCount(BLUE_GEM))
    st.giveItems(item,1)
    st.set("cond","2")
    st.playSound("ItemSound.quest_middle")
    if isMage :
    st.giveItems(SPIRITSHOT_NOVICE,600)  <--------新手用魔灵弹-普通,数量600(任务奖励)
    htmltext = htmlfiles[2]
    if htmltext == 0 :
    htmltext = "<html><body>I am sorry. I only help warriors. Please go to another Newbie Helper who may assist you.</body></html>"
    else:
    st.giveItems(SOULSHOT_NOVICE,1200)  <--------新手用灵魂弹-普通,数量1200(任务奖励)
    htmltext = htmlfiles[1]
    if htmltext == 0 :
    htmltext = "<html><body>I am sorry. I only help mystics. Please go to another Newbie Helper who may assist you.</body></html>"
    else:
    if isMage :
    htmltext = "30131-02.htm"
    if player.getRace().ordinal() == 3 :
    htmltext = "30575-02.htm"
    else:
    htmltext = "30530-02.htm"
    elif cond==2 :
    htmltext = htmlfiles[3]
    elif npcTyp == 0 :
    if cond==1 :
    htmltext = htmlfiles[0]
    elif cond==2 :
    htmltext = htmlfiles[1]
    elif cond==3 :
    htmltext = htmlfiles[2]
    else:
    htmltext = "<html><body>You are too experienced now.</body></html>"
    return htmltext
    def onKill(self,npc,player,isPet):
    st = player.getQuestState(qn)
    if not st : return
    if st.getState() != STARTED : return
    if st.getInt("cond")==1 and st.getRandom(100) < 25 and st.getQuestItemsCount(BLUE_GEM) == 0 :
    st.giveItems(BLUE_GEM,1)
    st.playSound("ItemSound.quest_itemget")
    st.playSound("ItemSound.quest_tutorial")
    return
    QUEST = Quest(999,qn,"Interlude Tutorial")
    CREATED = State('Start', QUEST)
    STARTING = State('Starting', QUEST)
    STARTED = State('Started', QUEST)
    COMPLETED = State('Completed', QUEST)
    QUEST.setInitialState(CREATED)
    for startNpc in [30008,30009,30017,30019,30129,30131,30573,30575,30370,30528,30530,30400,30401,30402,30403,30404]:
    QUEST.addStartNpc(startNpc)
    QUEST.addTalkId(startNpc)
    for npc in [30600, 30601, 30602, 30598, 30599]:
    QUEST.addFirstTalkId(npc)
    QUEST.addKillId(18342)
    QUEST.addKillId(20001)
    回复

    使用道具 举报

    该用户从未签到

    1

    主题

    6

    回帖

    27

    积分

    新手上路

    积分
    27
    虫虫联盟 发表于 2015-8-30 18:03:16 | 显示全部楼层
    帮棒棒的
    回复

    使用道具 举报

  • TA的每日心情
    无聊
    2018-9-11 22:49
  • 签到天数: 83 天

    [LV.6]常住居民II

    13

    主题

    178

    回帖

    1030

    积分

    高级会员

    积分
    1030
    wugaomng 发表于 2015-8-31 22:08:15 | 显示全部楼层

    我没看懂一个,不过看起来很强大
    回复

    使用道具 举报

  • TA的每日心情
    擦汗
    2016-1-2 03:55
  • 签到天数: 4 天

    [LV.2]偶尔看看I

    1

    主题

    20

    回帖

    32

    积分

    新手上路

    积分
    32
    88408840 发表于 2016-1-1 04:16:08 | 显示全部楼层
    哎哟哎哟
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|手机版|小黑屋|虫虫联盟 ( 备案号:蜀ICP备15018121号-1 )

    GMT+8, 2024-12-5 03:20 , Processed in 0.432190 second(s), 23 queries .

    Powered by Discuz! X3.5 Licensed

    © 2001-2024 Discuz! Team.

    快速回复 返回顶部 返回列表