Updated maximum level for Guild Skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@476 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
917f07c754
commit
8f5ccd9f39
@ -3,6 +3,7 @@ Date Added
|
|||||||
* Updated Chase Walk [celest]
|
* Updated Chase Walk [celest]
|
||||||
* Added 'checkoption1' and 'checkoption2' script functions - Refer to
|
* Added 'checkoption1' and 'checkoption2' script functions - Refer to
|
||||||
/npc/sample/npc_testchkoption.txt for similiar examples [celest]
|
/npc/sample/npc_testchkoption.txt for similiar examples [celest]
|
||||||
|
* Updated maximum level for Guild Skills [celest]
|
||||||
|
|
||||||
12/5
|
12/5
|
||||||
* Fixed another crash sending updates to disconnected
|
* Fixed another crash sending updates to disconnected
|
||||||
|
@ -54,9 +54,21 @@ int guild_skill_get_inf(int id) { // Modified for new skills [Sara]
|
|||||||
int guild_skill_get_sp(int id,int lv){ return 0; }
|
int guild_skill_get_sp(int id,int lv){ return 0; }
|
||||||
int guild_skill_get_range(int id){ return 0; }
|
int guild_skill_get_range(int id){ return 0; }
|
||||||
int guild_skill_get_max(int id) { // Modified for new skills [Sara]
|
int guild_skill_get_max(int id) { // Modified for new skills [Sara]
|
||||||
if(id==GD_EXTENSION) return 10;
|
switch (id) {
|
||||||
else if(id==GD_REGENERATION) return 3;
|
case GD_GUARDUP:
|
||||||
else return 1;
|
return 3;
|
||||||
|
case GD_EXTENSION:
|
||||||
|
return 10;
|
||||||
|
case GD_LEADERSHIP:
|
||||||
|
case GD_GLORYWOUNDS:
|
||||||
|
case GD_SOULCOLD:
|
||||||
|
case GD_HAWKEYES:
|
||||||
|
return 5;
|
||||||
|
case GD_REGENERATION:
|
||||||
|
return 3;
|
||||||
|
default:
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ギルドスキルがあるか確認
|
// ギルドスキルがあるか確認
|
||||||
|
Loading…
x
Reference in New Issue
Block a user