| ivan12 |
14-11-2009 04:31 PM |
Buffs 1h, 2h (L2JServer)
1 Anexo(s)
Fiz as skills inicialmente para duas horas, mas é bem simples alterar para qualquer hora. Não há mais nada alterado, aliás, isso se faz nas configs. do server. Vamo lá.
gameserver\config\Character.properties
Código:
---------------------------------------------------------------------------
# Skills & Effects
# ---------------------------------------------------------------------------
# When this is enabled it will read the "SkillDurationList" option.
# This will basically overlook the "time = x" in the skill XMLs so that you do not need to modify the L2J Datapack XMLs to increase skill duration.
# Default: False
EnableModifySkillDuration = True
# Skill duration list
# Format: skillid,newtime;skillid2,newtime2...
# Example:
# This enable 1h(3600) duration for songs, the "\"indicates new line,
# and is only set for formating purposes.
# SkillDurationList = 264,3600;265,3600;266,3600;267,3600;268,3600;\
# 269,3600;270,3600;304,3600;305,1200;306,3600;308,3600;349,3600;\
# 363,3600;364,3600
SkillDurationList = 1036,3600;1040,3600;1043,3600;1044,3600;1045,3600;\
1047,3600;1048,3600;1059,3600;1062,3600;1068,3600;1077,3600;1085,3600;\
1086,3600;1087,3600;1204,3600;1240,3600;1242,3600;1243,3600;1257,3600;\
1268,3600;1303,3600;1304,3600;1307,3600;1311,3600;1397,3600;1460,3600;\
1032,3600;1033,3600;1035,3600;1038,3600;1182,3600;1189,3600;1191,3600;\
1259,3600;1352,3600;1353,3600;1354,3600;1392,3600;1393,3600;1461,3600;\
271,3600;272,3600;273,3600;274,3600;275,3600;276,3600;277,3600;307,3600;\
309,3600;310,3600;311,3600;365,3600;366,3600;530,3600;765,3600;915,3600;\
264,3600;265,3600;266,3600;267,3600;268,3600;269,3600;270,3600;304,3600;\
305,3600;306,3600;308,3600;349,3600;363,3600;364,3600;529,3600;764,3600;\
914,3600;1002,3600;1006,3600;1007,3600;1009,3600;1251,3600;1252,3600;\
1253,3600;1284,3600;1308,3600;1309,3600;1310,3600;1362,3600;834,3600;\
1442,3600;1443,3600;1444,3600;825,3600;826,3600;827,3600;828,3600;829,3600;\
830,3600;1232,3600;1238,3600;1323,3600;1355,3600;1356,3600;1357,3600;\
1363,3600;1388,3600;1389,3600;1413,3600;1416,3600;1457,3600;4699,3600;\
4700,3600;4702,3600;4703,3600;1499,3600;1500,3600;1501,3600;1502,3600;\
1503,3600;1504,3600;1519,3600
O que está em vermelho tem que estar "True" se não o código não funciona.
O que está em amarelo são todos os buffs alterados, basicamente os buffs do Buffer Rin4a 1.3 eu acho. Pode ver que a estruturação do código é simples
Código:
buffid,tempo em segundos;
e "\" para uma quebra de linha quando necessário. Para alterar o tempo, basta ir ao bloco de notas (iniciar>executar>notepad) colar somente o que está em amarelo, ir em editar, substituir (ctrl+h), aí cola o tempo atual que é "3600" em "localizar" e o novo tempo em "substituir por". Lista dos buffs modificados aqui no fim do post.
3600 - 1 hora
7200 - 2 horas (duh!)
10800 - 3 horas (duuh!)
|