From 077d9c8dca0918995f48fe8b3c1e8525e0bf74f8 Mon Sep 17 00:00:00 2001 From: Matheus Macabu Date: Sat, 18 May 2013 16:00:28 -0300 Subject: Relocated mapflag from conf/ to npc/ and renamed some script files Signed-off-by: Matheus Macabu --- npc/mapflag/pvp_noguild.txt | 94 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 npc/mapflag/pvp_noguild.txt (limited to 'npc/mapflag/pvp_noguild.txt') diff --git a/npc/mapflag/pvp_noguild.txt b/npc/mapflag/pvp_noguild.txt new file mode 100644 index 000000000..166b65764 --- /dev/null +++ b/npc/mapflag/pvp_noguild.txt @@ -0,0 +1,94 @@ +//===== Hercules Script ======================================= +//= Mapflag: Ignore guilds. +//===== By: ================================================== +//= Hercules Dev Team +//===== Current Version: ===================================== +//= 1.1 +//===== Description: ========================================= +//= Ignores guild alliances on GvG-enabled maps. +//===== Additional Comments: ================================= +//= 1.0 - Initial script. +//============================================================ + +// PvP Arenas ================= +pvp_y_1-1 mapflag pvp_noguild +pvp_y_1-2 mapflag pvp_noguild +pvp_y_1-3 mapflag pvp_noguild +pvp_y_1-4 mapflag pvp_noguild +pvp_y_1-5 mapflag pvp_noguild +pvp_y_2-1 mapflag pvp_noguild +pvp_y_2-2 mapflag pvp_noguild +pvp_y_2-3 mapflag pvp_noguild +pvp_y_2-4 mapflag pvp_noguild +pvp_y_2-5 mapflag pvp_noguild +pvp_y_3-1 mapflag pvp_noguild +pvp_y_3-2 mapflag pvp_noguild +pvp_y_3-3 mapflag pvp_noguild +pvp_y_3-4 mapflag pvp_noguild +pvp_y_3-5 mapflag pvp_noguild +pvp_y_4-1 mapflag pvp_noguild +pvp_y_4-2 mapflag pvp_noguild +pvp_y_4-3 mapflag pvp_noguild +pvp_y_4-4 mapflag pvp_noguild +pvp_y_4-5 mapflag pvp_noguild +pvp_y_5-1 mapflag pvp_noguild +pvp_y_5-2 mapflag pvp_noguild +pvp_y_5-3 mapflag pvp_noguild +pvp_y_5-4 mapflag pvp_noguild +pvp_y_5-5 mapflag pvp_noguild +pvp_y_6-1 mapflag pvp_noguild +pvp_y_6-2 mapflag pvp_noguild +pvp_y_6-3 mapflag pvp_noguild +pvp_y_6-4 mapflag pvp_noguild +pvp_y_6-5 mapflag pvp_noguild +pvp_y_7-1 mapflag pvp_noguild +pvp_y_7-2 mapflag pvp_noguild +pvp_y_7-3 mapflag pvp_noguild +pvp_y_7-4 mapflag pvp_noguild +pvp_y_7-5 mapflag pvp_noguild +pvp_y_8-1 mapflag pvp_noguild +pvp_y_8-2 mapflag pvp_noguild +pvp_y_8-3 mapflag pvp_noguild +pvp_y_8-4 mapflag pvp_noguild +pvp_y_8-5 mapflag pvp_noguild +pvp_n_1-1 mapflag pvp_noguild +pvp_n_1-2 mapflag pvp_noguild +pvp_n_1-3 mapflag pvp_noguild +pvp_n_1-4 mapflag pvp_noguild +pvp_n_1-5 mapflag pvp_noguild +pvp_n_2-1 mapflag pvp_noguild +pvp_n_2-2 mapflag pvp_noguild +pvp_n_2-3 mapflag pvp_noguild +pvp_n_2-4 mapflag pvp_noguild +pvp_n_2-5 mapflag pvp_noguild +pvp_n_3-1 mapflag pvp_noguild +pvp_n_3-2 mapflag pvp_noguild +pvp_n_3-3 mapflag pvp_noguild +pvp_n_3-4 mapflag pvp_noguild +pvp_n_3-5 mapflag pvp_noguild +pvp_n_4-1 mapflag pvp_noguild +pvp_n_4-2 mapflag pvp_noguild +pvp_n_4-3 mapflag pvp_noguild +pvp_n_4-4 mapflag pvp_noguild +pvp_n_4-5 mapflag pvp_noguild +pvp_n_5-1 mapflag pvp_noguild +pvp_n_5-2 mapflag pvp_noguild +pvp_n_5-3 mapflag pvp_noguild +pvp_n_5-4 mapflag pvp_noguild +pvp_n_5-5 mapflag pvp_noguild +pvp_n_6-1 mapflag pvp_noguild +pvp_n_6-2 mapflag pvp_noguild +pvp_n_6-3 mapflag pvp_noguild +pvp_n_6-4 mapflag pvp_noguild +pvp_n_6-5 mapflag pvp_noguild +pvp_n_7-1 mapflag pvp_noguild +pvp_n_7-2 mapflag pvp_noguild +pvp_n_7-3 mapflag pvp_noguild +pvp_n_7-4 mapflag pvp_noguild +pvp_n_7-5 mapflag pvp_noguild +pvp_n_8-1 mapflag pvp_noguild +pvp_n_8-2 mapflag pvp_noguild +pvp_n_8-3 mapflag pvp_noguild +pvp_n_8-4 mapflag pvp_noguild +pvp_n_8-5 mapflag pvp_noguild +pvp_2vs2 mapflag pvp_noguild -- cgit v1.2.3-70-g09d2 From c7a830bce88df87d3a91d60e67fece1e49cfb18f Mon Sep 17 00:00:00 2001 From: Mysteries Date: Sun, 19 May 2013 11:20:59 -0400 Subject: Little changes --- npc/mapflag/battleground.txt | 2 +- npc/mapflag/gvg.txt | 2 +- npc/mapflag/jail.txt | 2 +- npc/mapflag/night.txt | 2 +- npc/mapflag/nightmare.txt | 2 +- npc/mapflag/nobranch.txt | 2 +- npc/mapflag/noexp.txt | 2 +- npc/mapflag/noicewall.txt | 2 +- npc/mapflag/noloot.txt | 2 +- npc/mapflag/nomemo.txt | 2 +- npc/mapflag/nopenalty.txt | 2 +- npc/mapflag/nopvp.txt | 2 +- npc/mapflag/noreturn.txt | 2 +- npc/mapflag/nosave.txt | 2 +- npc/mapflag/noskill.txt | 2 +- npc/mapflag/noteleport.txt | 2 +- npc/mapflag/novending.txt | 2 +- npc/mapflag/nowarp.txt | 2 +- npc/mapflag/nowarpto.txt | 2 +- npc/mapflag/partylock.txt | 2 +- npc/mapflag/pvp.txt | 2 +- npc/mapflag/pvp_noguild.txt | 2 +- npc/mapflag/pvp_noparty.txt | 2 +- npc/mapflag/reset.txt | 2 +- npc/mapflag/town.txt | 2 +- src/common/mapindex.h | 2 +- src/common/mmo.h | 63 ++++++++++++++++++++++---------------------- 27 files changed, 58 insertions(+), 57 deletions(-) (limited to 'npc/mapflag/pvp_noguild.txt') diff --git a/npc/mapflag/battleground.txt b/npc/mapflag/battleground.txt index f7404c139..736ce6215 100644 --- a/npc/mapflag/battleground.txt +++ b/npc/mapflag/battleground.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Battleground map setting. //===== By: ================================================== //= Epoque diff --git a/npc/mapflag/gvg.txt b/npc/mapflag/gvg.txt index 055a1d733..0cd7a3219 100644 --- a/npc/mapflag/gvg.txt +++ b/npc/mapflag/gvg.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Guild versus Guild mode. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/jail.txt b/npc/mapflag/jail.txt index 0a8b00846..c2dd16688 100644 --- a/npc/mapflag/jail.txt +++ b/npc/mapflag/jail.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Jail. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/night.txt b/npc/mapflag/night.txt index c3e8a47fe..aa12815b3 100644 --- a/npc/mapflag/night.txt +++ b/npc/mapflag/night.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Night mode. //===== By: ================================================== //= Skotlex diff --git a/npc/mapflag/nightmare.txt b/npc/mapflag/nightmare.txt index 106ee665a..22c08b263 100644 --- a/npc/mapflag/nightmare.txt +++ b/npc/mapflag/nightmare.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Nightmare mode. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/nobranch.txt b/npc/mapflag/nobranch.txt index 0c96bf896..5717fb166 100644 --- a/npc/mapflag/nobranch.txt +++ b/npc/mapflag/nobranch.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable Dead Branch use. //===== By: ================================================== //= HerculesDev Team diff --git a/npc/mapflag/noexp.txt b/npc/mapflag/noexp.txt index 0b6fe20c6..0cc4279ca 100644 --- a/npc/mapflag/noexp.txt +++ b/npc/mapflag/noexp.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable EXP gain. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/noicewall.txt b/npc/mapflag/noicewall.txt index 5b6e6ad12..8711ea45d 100644 --- a/npc/mapflag/noicewall.txt +++ b/npc/mapflag/noicewall.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable Ice Wall. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/noloot.txt b/npc/mapflag/noloot.txt index 380dc506c..43089ed31 100644 --- a/npc/mapflag/noloot.txt +++ b/npc/mapflag/noloot.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable monster drops. //===== By: ================================================== //= Epoque diff --git a/npc/mapflag/nomemo.txt b/npc/mapflag/nomemo.txt index f6628bf46..158982e2c 100644 --- a/npc/mapflag/nomemo.txt +++ b/npc/mapflag/nomemo.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable Warp Portal memory. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/nopenalty.txt b/npc/mapflag/nopenalty.txt index 083d86105..b29d4d4a7 100644 --- a/npc/mapflag/nopenalty.txt +++ b/npc/mapflag/nopenalty.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable death penalty. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/nopvp.txt b/npc/mapflag/nopvp.txt index 9f876c49b..4eb4831b8 100644 --- a/npc/mapflag/nopvp.txt +++ b/npc/mapflag/nopvp.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable Player versus Player mode. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/noreturn.txt b/npc/mapflag/noreturn.txt index 696d81460..d5b94f458 100644 --- a/npc/mapflag/noreturn.txt +++ b/npc/mapflag/noreturn.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable return warp. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/nosave.txt b/npc/mapflag/nosave.txt index 59a59fcae..1035d2a77 100644 --- a/npc/mapflag/nosave.txt +++ b/npc/mapflag/nosave.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable auto-save. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/noskill.txt b/npc/mapflag/noskill.txt index 81540b45a..ec66f27d3 100644 --- a/npc/mapflag/noskill.txt +++ b/npc/mapflag/noskill.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable skill use. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/noteleport.txt b/npc/mapflag/noteleport.txt index df25145d8..d969c5522 100644 --- a/npc/mapflag/noteleport.txt +++ b/npc/mapflag/noteleport.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable teleportation. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/novending.txt b/npc/mapflag/novending.txt index 5f7ef8e82..4205d9d6a 100644 --- a/npc/mapflag/novending.txt +++ b/npc/mapflag/novending.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable vending. //===== By: ================================================== //= Epoque diff --git a/npc/mapflag/nowarp.txt b/npc/mapflag/nowarp.txt index cfeb938a2..304cebf2f 100644 --- a/npc/mapflag/nowarp.txt +++ b/npc/mapflag/nowarp.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable warping. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/nowarpto.txt b/npc/mapflag/nowarpto.txt index 2490b8e61..f54dc785f 100644 --- a/npc/mapflag/nowarpto.txt +++ b/npc/mapflag/nowarpto.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Disable warpto. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/partylock.txt b/npc/mapflag/partylock.txt index e8d7051f2..ba0014026 100644 --- a/npc/mapflag/partylock.txt +++ b/npc/mapflag/partylock.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Party lock. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/pvp.txt b/npc/mapflag/pvp.txt index 4e3ca5762..d72e45a98 100644 --- a/npc/mapflag/pvp.txt +++ b/npc/mapflag/pvp.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Player versus Player mode. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/pvp_noguild.txt b/npc/mapflag/pvp_noguild.txt index 166b65764..fe61a3097 100644 --- a/npc/mapflag/pvp_noguild.txt +++ b/npc/mapflag/pvp_noguild.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Ignore guilds. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/pvp_noparty.txt b/npc/mapflag/pvp_noparty.txt index bd5e866f6..569a46c2d 100644 --- a/npc/mapflag/pvp_noparty.txt +++ b/npc/mapflag/pvp_noparty.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Ignore parties. //===== By: ================================================== //= Hercules Dev Team diff --git a/npc/mapflag/reset.txt b/npc/mapflag/reset.txt index 5354580b9..7af002f22 100644 --- a/npc/mapflag/reset.txt +++ b/npc/mapflag/reset.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Enable Neuralizer use. //===== By: ================================================== //= Daegaladh diff --git a/npc/mapflag/town.txt b/npc/mapflag/town.txt index 319785524..46331818b 100644 --- a/npc/mapflag/town.txt +++ b/npc/mapflag/town.txt @@ -1,4 +1,4 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ====================================== //= Mapflag: Town. //===== By: ================================================== //= Epoque diff --git a/src/common/mapindex.h b/src/common/mapindex.h index d35d9899c..43953a8e0 100644 --- a/src/common/mapindex.h +++ b/src/common/mapindex.h @@ -7,7 +7,7 @@ #include "../common/db.h" -/* when a map index search fails, return results from what map? default:prontera */ +// When a map index search fails, return results from what map? default:prontera #define MAP_DEFAULT "prontera" #define MAP_DEFAULT_X 150 #define MAP_DEFAULT_Y 150 diff --git a/src/common/mmo.h b/src/common/mmo.h index d45dea212..172b27b15 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -51,13 +51,14 @@ #define PACKETVER 20120418 #endif -/// comment following line if your client is NOT ragexeRE (required because of conflicting packets in ragexe vs ragexeRE) +// Comment the following line if your client is NOT ragexeRE (required because of conflicting packets in ragexe vs ragexeRE). #define PACKETVER_RE -//Remove/Comment this line to disable sc_data saving. [Skotlex] +// Comment the following line to disable sc_data saving. [Skotlex] #define ENABLE_SC_SAVING -//Remove/Comment this line to disable server-side hot-key saving support [Skotlex] -//Note that newer clients no longer save hotkeys in the registry! + +// Comment the following like to disable server-side hot-key saving support. [Skotlex] +// Note that newer clients no longer save hotkeys in the registry! #define HOTKEY_SAVING #if PACKETVER < 20090603 @@ -84,10 +85,10 @@ #define MAX_FAME 1000000000 #define MAX_CART 100 #define MAX_SKILL 1477 -#define MAX_SKILL_ID 10015 //[Ind/Hercules] max used skill id -#define GLOBAL_REG_NUM 256 // max permanent character variables per char -#define ACCOUNT_REG_NUM 64 // max permanent local account variables per account -#define ACCOUNT_REG2_NUM 16 // max permanent global account variables per account +#define MAX_SKILL_ID 10015 // [Ind/Hercules] max used skill ID +#define GLOBAL_REG_NUM 256 // Max permanent character variables per char +#define ACCOUNT_REG_NUM 64 // Max permanent local account variables per account +#define ACCOUNT_REG2_NUM 16 // Max permanent global account variables per account //Should hold the max of GLOBAL/ACCOUNT/ACCOUNT2 (needed for some arrays that hold all three) #define MAX_REG_NUM 256 #define DEFAULT_WALK_SPEED 150 @@ -96,16 +97,16 @@ #define MAX_STORAGE 600 #define MAX_GUILD_STORAGE 600 #define MAX_PARTY 12 -#define MAX_GUILD 16+10*6 // increased max guild members +6 per 1 extension levels [Lupus] -#define MAX_GUILDPOSITION 20 // increased max guild positions to accomodate for all members [Valaris] (removed) [PoW] +#define MAX_GUILD 16+10*6 // Increased max guild members +6 per 1 extension levels [Lupus] +#define MAX_GUILDPOSITION 20 // Increased max guild positions to accomodate for all members [Valaris] (removed) [PoW] #define MAX_GUILDEXPULSION 32 #define MAX_GUILDALLIANCE 16 -#define MAX_GUILDSKILL 15 // increased max guild skills because of new skills [Sara-chan] +#define MAX_GUILDSKILL 15 // Increased max guild skills because of new skills [Sara-chan] #define MAX_GUILDLEVEL 50 -#define MAX_GUARDIANS 8 //Local max per castle. [Skotlex] -#define MAX_QUEST_DB 2400 //Max quests that the server will load -#define MAX_QUEST_OBJECTIVES 3 //Max quest objectives for a quest -#define MAX_START_ITEMS 32 //Max number of items allowed to be given to a char whenever it's created. [mkbu95] +#define MAX_GUARDIANS 8 // Local max per castle. [Skotlex] +#define MAX_QUEST_DB 2400 // Max quests that the server will load +#define MAX_QUEST_OBJECTIVES 3 // Max quest objectives for a quest +#define MAX_START_ITEMS 32 // Max number of items allowed to be given to a char whenever it's created. [mkbu95] // for produce #define MIN_ATTRIBUTE 0 @@ -124,43 +125,43 @@ #define NAME_LENGTH (23 + 1) //For item names, which tend to have much longer names. #define ITEM_NAME_LENGTH 50 -//For Map Names, which the client considers to be 16 in length including the .gat extension +//For Map Names, which the client considers to be 16 in length including the .gat extension. #define MAP_NAME_LENGTH (11 + 1) #define MAP_NAME_LENGTH_EXT (MAP_NAME_LENGTH + 4) #define MAX_FRIENDS 40 #define MAX_MEMOPOINTS 3 -//Size of the fame list arrays. +// Size of the fame list arrays. #define MAX_FAME_LIST 10 -//Limits to avoid ID collision with other game objects +// Limits to avoid ID collision with other game objects #define START_ACCOUNT_NUM 2000000 #define END_ACCOUNT_NUM 100000000 #define START_CHAR_NUM 150000 -//Guilds +// Guilds #define MAX_GUILDMES1 60 #define MAX_GUILDMES2 120 -//Base Homun skill. +// Base Homun skill. #define HM_SKILLBASE 8001 #define MAX_HOMUNSKILL 43 -#define MAX_HOMUNCULUS_CLASS 52 //[orn], Increased to 60 from 16 to allow new Homun-S. +#define MAX_HOMUNCULUS_CLASS 52 // [orn] Increased to 60 from 16 to allow new Homun-S. #define HM_CLASS_BASE 6001 #define HM_CLASS_MAX (HM_CLASS_BASE+MAX_HOMUNCULUS_CLASS-1) -//Mail System +// Mail System #define MAIL_MAX_INBOX 30 #define MAIL_TITLE_LENGTH 40 #define MAIL_BODY_LENGTH 200 -//Mercenary System +// Mercenary System #define MC_SKILLBASE 8201 #define MAX_MERCSKILL 40 #define MAX_MERCENARY_CLASS 61 -//Elemental System +// Elemental System #define MAX_ELEMENTALSKILL 42 #define EL_SKILLBASE 8401 #define MAX_ELESKILLTREE 3 @@ -186,7 +187,7 @@ enum item_types { }; -//Questlog system [Kevin] [Inkfish] +// Questlog system [Kevin] [Inkfish] typedef enum quest_state { Q_INACTIVE, Q_ACTIVE, Q_COMPLETE } quest_state; struct quest { @@ -200,7 +201,7 @@ struct item { int id; short nameid; short amount; - unsigned short equip; // location(s) where item is equipped (using enum equip_pos for bitmasking) + unsigned short equip; // Location(s) where item is equipped (using enum equip_pos for bitmasking). char identify; char refine; char attribute; @@ -220,8 +221,8 @@ enum e_skill_flag SKILL_FLAG_PERMANENT, SKILL_FLAG_TEMPORARY, SKILL_FLAG_PLAGIARIZED, - SKILL_FLAG_REPLACED_LV_0, // temporary skill overshadowing permanent skill of level 'N - SKILL_FLAG_REPLACED_LV_0', - SKILL_FLAG_PERM_GRANTED, // permanent, granted through someway e.g. script + SKILL_FLAG_REPLACED_LV_0, // Temporary skill overshadowing permanent skill of level 'N - SKILL_FLAG_REPLACED_LV_0', + SKILL_FLAG_PERM_GRANTED, // Permanent, granted through someway (e.g. script). //... }; @@ -234,7 +235,7 @@ enum e_mmo_charstatus_opt { struct s_skill { unsigned short id; unsigned char lv; - unsigned char flag; // see enum e_skill_flag + unsigned char flag; // See enum e_skill_flag }; struct global_reg { @@ -242,14 +243,14 @@ struct global_reg { char value[256]; }; -//Holds array of global registries, used by the char server and converter. +// Holds array of global registries, used by the char server and converter. struct accreg { int account_id, char_id; int reg_num; struct global_reg reg[MAX_REG_NUM]; }; -//For saving status changes across sessions. [Skotlex] +// For saving status changes across sessions. [Skotlex] struct status_change_data { unsigned short type; //SC_type long val1, val2, val3, val4, tick; //Remaining duration. -- cgit v1.2.3-70-g09d2