Trimmed trailing whitespaces in /doc
This commit is contained in:
parent
9e8fa08473
commit
c08525a20e
@ -55,7 +55,7 @@ Other Drop Rates: MvP 1.00x / Card-Based 1.00x / Treasure 1.00x
|
|||||||
@time
|
@time
|
||||||
|
|
||||||
Displays the local server time, along with day/night information.
|
Displays the local server time, along with day/night information.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@uptime
|
@uptime
|
||||||
@ -279,13 +279,13 @@ Map Name: prontera | Players In Map: 1 | NPCs In Map: 127 | Chats In Map: 0
|
|||||||
------ Map Flags ------
|
------ Map Flags ------
|
||||||
Town Map
|
Town Map
|
||||||
Autotrade Enabled
|
Autotrade Enabled
|
||||||
PvP Flags:
|
PvP Flags:
|
||||||
GvG Flags:
|
GvG Flags:
|
||||||
Teleport Flags:
|
Teleport Flags:
|
||||||
No Exp Penalty: On | No Zeny Penalty: On
|
No Exp Penalty: On | No Zeny Penalty: On
|
||||||
Weather Flags: Displays Night |
|
Weather Flags: Displays Night |
|
||||||
Other Flags: NoBranch | Reset |
|
Other Flags: NoBranch | Reset |
|
||||||
Other Flags:
|
Other Flags:
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@ -293,7 +293,7 @@ Other Flags:
|
|||||||
|
|
||||||
Gives information about terrain/area (debug function).
|
Gives information about terrain/area (debug function).
|
||||||
|
|
||||||
Output Example:
|
Output Example:
|
||||||
prontera (x= 165, y= 202) 00 00 00 00 00
|
prontera (x= 165, y= 202) 00 00 00 00 00
|
||||||
prontera (x= 165, y= 201) 01 00 00 00 00
|
prontera (x= 165, y= 201) 01 00 00 00 00
|
||||||
prontera (x= 165, y= 200) 01 00 00 00 00
|
prontera (x= 165, y= 200) 01 00 00 00 00
|
||||||
@ -327,7 +327,7 @@ DEF:2 MDEF:5 STR:6 AGI:1 VIT:1 INT:1 DEX:6 LUK:5
|
|||||||
ATK:8~9 Range:1~10~12 Size:Medium Race:Plant Element:Water (Lv:1)
|
ATK:8~9 Range:1~10~12 Size:Medium Race:Plant Element:Water (Lv:1)
|
||||||
Drops:
|
Drops:
|
||||||
- Jellopy 70.00% - Knife[4] 1.00% etc...
|
- Jellopy 70.00% - Knife[4] 1.00% etc...
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@iteminfo <item name/ID>
|
@iteminfo <item name/ID>
|
||||||
@ -347,7 +347,7 @@ NPC Buy:6z, Sell:3z | Weight: 1.0
|
|||||||
@whodrops <item name/ID>
|
@whodrops <item name/ID>
|
||||||
|
|
||||||
Displays a list of mobs which drop the specified item.
|
Displays a list of mobs which drop the specified item.
|
||||||
Only the highest drop rates are shown.
|
Only the highest drop rates are shown.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@ -582,7 +582,7 @@ Displays the text as a normal message with the format "*name <message>*" instead
|
|||||||
@storage
|
@storage
|
||||||
|
|
||||||
Opens your Kafra storage.
|
Opens your Kafra storage.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@mail
|
@mail
|
||||||
@ -1295,7 +1295,7 @@ Blocks or unblocks a player from logging in indefinitely.
|
|||||||
@charban <+/- time> <player name>
|
@charban <+/- time> <player name>
|
||||||
@charunban <player name>
|
@charunban <player name>
|
||||||
|
|
||||||
Bans or unbans a player for a limited time.
|
Bans or unbans a player for a limited time.
|
||||||
(Very similar to @ban and but for 1 character only)
|
(Very similar to @ban and but for 1 character only)
|
||||||
Time elements: y/a, m, d/j, h, mn, s
|
Time elements: y/a, m, d/j, h, mn, s
|
||||||
|
|
||||||
@ -1442,7 +1442,7 @@ Example:
|
|||||||
@party <party_name>
|
@party <party_name>
|
||||||
|
|
||||||
Organizes a new party, with the attached character as leader.
|
Organizes a new party, with the attached character as leader.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@partyoption <pickup share: yes/no> <item distribution: yes/no>
|
@partyoption <pickup share: yes/no> <item distribution: yes/no>
|
||||||
@ -1519,7 +1519,7 @@ Changes guild level by the specified amount.
|
|||||||
@undisguiseguild
|
@undisguiseguild
|
||||||
|
|
||||||
Disguises or undisguises all online characters of a guild.
|
Disguises or undisguises all online characters of a guild.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
@sizeguild <size> <guild name>
|
@sizeguild <size> <guild name>
|
||||||
@ -1536,7 +1536,7 @@ Warps all online characters of a guild to your location.
|
|||||||
|
|
||||||
@guildspy <guild name>
|
@guildspy <guild name>
|
||||||
|
|
||||||
Allows you to spy on any guild's Guild Chat.
|
Allows you to spy on any guild's Guild Chat.
|
||||||
At least one member of that guild must be online.
|
At least one member of that guild must be online.
|
||||||
NOTE: map server needs to be configured to enable spying to use this command (enable_spy: yes)
|
NOTE: map server needs to be configured to enable spying to use this command (enable_spy: yes)
|
||||||
|
|
||||||
|
|||||||
@ -277,7 +277,7 @@ Number Description
|
|||||||
258. Elemental Endow (Earth)
|
258. Elemental Endow (Earth)
|
||||||
259. Map Light Pillar Animation 3
|
259. Map Light Pillar Animation 3
|
||||||
260. Map Light Pillar Animation 4
|
260. Map Light Pillar Animation 4
|
||||||
261. Fury Cast Animation
|
261. Fury Cast Animation
|
||||||
262. Raging Quadruple Blow
|
262. Raging Quadruple Blow
|
||||||
263. Raging Quadruple Blow 2
|
263. Raging Quadruple Blow 2
|
||||||
264. (Nothing)
|
264. (Nothing)
|
||||||
|
|||||||
@ -38,12 +38,12 @@ This list contains all available constants referenced in the 'bonus' commands.
|
|||||||
BF_SHORT = Trigger on melee attacks
|
BF_SHORT = Trigger on melee attacks
|
||||||
BF_LONG = Trigger on ranged attacks
|
BF_LONG = Trigger on ranged attacks
|
||||||
(Default: BF_SHORT+BF_LONG)
|
(Default: BF_SHORT+BF_LONG)
|
||||||
|
|
||||||
BF_WEAPON = Trigger on weapon skills
|
BF_WEAPON = Trigger on weapon skills
|
||||||
BF_MAGIC = Trigger on magic skills
|
BF_MAGIC = Trigger on magic skills
|
||||||
BF_MISC = Trigger on misc skills
|
BF_MISC = Trigger on misc skills
|
||||||
(Default: BF_WEAPON)
|
(Default: BF_WEAPON)
|
||||||
|
|
||||||
BF_NORMAL = Trigger on normal attacks
|
BF_NORMAL = Trigger on normal attacks
|
||||||
BF_SKILL = Trigger on skills
|
BF_SKILL = Trigger on skills
|
||||||
(Default: BF_SKILL if type is BF_MISC or BF_MAGIC, BF_NORMAL if type is BF_WEAPON)
|
(Default: BF_SKILL if type is BF_MISC or BF_MAGIC, BF_NORMAL if type is BF_WEAPON)
|
||||||
@ -52,11 +52,11 @@ This list contains all available constants referenced in the 'bonus' commands.
|
|||||||
Effect target: (Default: Attacked target)
|
Effect target: (Default: Attacked target)
|
||||||
ATF_SELF = Trigger effect on self
|
ATF_SELF = Trigger effect on self
|
||||||
ATF_TARGET = Trigger effect on target
|
ATF_TARGET = Trigger effect on target
|
||||||
|
|
||||||
Attack range criteria: (Default: All attacks)
|
Attack range criteria: (Default: All attacks)
|
||||||
ATF_SHORT = Trigger on melee attacks
|
ATF_SHORT = Trigger on melee attacks
|
||||||
ATF_LONG = Trigger on ranged attacks
|
ATF_LONG = Trigger on ranged attacks
|
||||||
|
|
||||||
Skill/attack type criteria: (Default: Physical/weapon)
|
Skill/attack type criteria: (Default: Physical/weapon)
|
||||||
ATF_WEAPON = Trigger on weapon skill / physical attacks
|
ATF_WEAPON = Trigger on weapon skill / physical attacks
|
||||||
ATF_MAGIC = Trigger on magic skills
|
ATF_MAGIC = Trigger on magic skills
|
||||||
@ -99,7 +99,7 @@ bonus bAgiDexStr,n; STR + n, AGI + n, DEX + n
|
|||||||
HP/SP
|
HP/SP
|
||||||
-----
|
-----
|
||||||
bonus bMaxHP,n; MaxHP + n
|
bonus bMaxHP,n; MaxHP + n
|
||||||
bonus bMaxHPrate,n; MaxHP + n%
|
bonus bMaxHPrate,n; MaxHP + n%
|
||||||
bonus bMaxSP,n; MaxSP + n
|
bonus bMaxSP,n; MaxSP + n
|
||||||
bonus bMaxSPrate,n; MaxSP + n%
|
bonus bMaxSPrate,n; MaxSP + n%
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ Name: Name in English for displaying as output for @ and script commands.
|
|||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
Type:
|
Type:
|
||||||
0 Healing item.
|
0 Healing item.
|
||||||
2 Usable item.
|
2 Usable item.
|
||||||
3 Etc item
|
3 Etc item
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20070724
|
//= 20070724
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= A complete manual for rAthena's map cache generator as
|
//= A complete manual for rAthena's map cache generator as
|
||||||
//= well as a reference on the map cache format used.
|
//= well as a reference on the map cache format used.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -119,7 +119,7 @@ is disabled in '/conf/battle/items.conf'.
|
|||||||
|
|
||||||
Disables normal monsters and MVPs from dropping items on a map. Looted items will always drop.
|
Disables normal monsters and MVPs from dropping items on a map. Looted items will always drop.
|
||||||
'noloot' is the same as 'nomobloot' and 'nomvploot' combined.
|
'noloot' is the same as 'nomobloot' and 'nomvploot' combined.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
*noexp
|
*noexp
|
||||||
|
|||||||
@ -83,7 +83,7 @@ Change Target Melee: Enables a mob to switch targets when hit by a normal attack
|
|||||||
Change Target Chase: Enables a mob to switch targets when hit by any attack
|
Change Target Chase: Enables a mob to switch targets when hit by any attack
|
||||||
while chasing another character.
|
while chasing another character.
|
||||||
|
|
||||||
Target Weak: Allows aggressive monsters to only be aggressive against
|
Target Weak: Allows aggressive monsters to only be aggressive against
|
||||||
characters that are five levels below it's own level.
|
characters that are five levels below it's own level.
|
||||||
For example, a monster of level 104 will not pick fights with a level 99.
|
For example, a monster of level 104 will not pick fights with a level 99.
|
||||||
|
|
||||||
@ -162,7 +162,7 @@ Aegis/rA
|
|||||||
Aegis Attr Types
|
Aegis Attr Types
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
The Aegis attr types are a bitmask just like the rA mode bits and can be
|
The Aegis attr types are a bitmask just like the rA mode bits and can be
|
||||||
directly converted. Plant mode is a combination of various of these modes.
|
directly converted. Plant mode is a combination of various of these modes.
|
||||||
Add the mode listed here to the resulting mode above.
|
Add the mode listed here to the resulting mode above.
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
//= Reference for monster level 10 skills.
|
//= Reference for monster level 10 skills.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
When a monster uses a level 10 skill on Aegis, it will be much stronger than the
|
When a monster uses a level 10 skill on Aegis, it will be much stronger than the
|
||||||
normal player version. On rAthena we reflect this by giving the monster a skill
|
normal player version. On rAthena we reflect this by giving the monster a skill
|
||||||
level above the maximum player level.
|
level above the maximum player level.
|
||||||
The following lists explains the skill specialities and the corresponding level
|
The following lists explains the skill specialities and the corresponding level
|
||||||
|
|||||||
@ -142,7 +142,7 @@ Currently the max packet size is 0xFFFF (see 'WFIFOSET()' in 'src/common/socket.
|
|||||||
- u_group :
|
- u_group :
|
||||||
- account_id :
|
- account_id :
|
||||||
desc:
|
desc:
|
||||||
-
|
-
|
||||||
|
|
||||||
0x2721:
|
0x2721:
|
||||||
Type: AH
|
Type: AH
|
||||||
|
|||||||
@ -110,7 +110,7 @@ Allows player to do normal item actions with bounded items (drop, sell,
|
|||||||
trade, etc.).
|
trade, etc.).
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
*item_unconditional
|
*item_unconditional
|
||||||
|
|
||||||
Allows player to consume any consumable item regardless the requirements
|
Allows player to consume any consumable item regardless the requirements
|
||||||
|
|||||||
@ -5,8 +5,8 @@
|
|||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20120826
|
//= 20120826
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= This file should help to understand and manage bit-wise
|
//= This file should help to understand and manage bit-wise
|
||||||
//= quest variables. You can store up to 31 boolean value into
|
//= quest variables. You can store up to 31 boolean value into
|
||||||
//= a single variable.
|
//= a single variable.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Contains commands needed for a basic bank.
|
//= Contains commands needed for a basic bank.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20110123
|
//= 20110123
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Outputs the values of class constants.
|
//= Outputs the values of class constants.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates the 'checkoption' command.
|
//= Demonstrates the 'checkoption' command.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates the 'delitem2' command.
|
//= Demonstrates the 'delitem2' command.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= Lupus
|
//= Lupus
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates the 'getequipcardid' command.
|
//= Demonstrates the 'getequipcardid' command.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates the 'getequipid' command.
|
//= Demonstrates the 'getequipid' command.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= Lupus
|
//= Lupus
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates the 'getiteminfo' command.
|
//= Demonstrates the 'getiteminfo' command.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= Lupus
|
//= Lupus
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates the 'getmonsterinfo' command.
|
//= Demonstrates the 'getmonsterinfo' command.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Contains commands needed for a guild warehouse NPC.
|
//= Contains commands needed for a guild warehouse NPC.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
@ -12,7 +12,7 @@ prontera,165,188,4 script Guild Warehouse 112,{
|
|||||||
cutin "kafra_06",2;
|
cutin "kafra_06",2;
|
||||||
|
|
||||||
mes "[Guild Warehouse Coupler]";
|
mes "[Guild Warehouse Coupler]";
|
||||||
mes "This is the guild warehouse coupler service.";
|
mes "This is the guild warehouse coupler service.";
|
||||||
mes "You will not receive zeny for this is a test.";
|
mes "You will not receive zeny for this is a test.";
|
||||||
next;
|
next;
|
||||||
if (select("Access Guild Warehouse","Exit") != 1) {
|
if (select("Access Guild Warehouse","Exit") != 1) {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= Euphy
|
//= Euphy
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140129
|
//= 20140129
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Contains elements of a basic instance script.
|
//= Contains elements of a basic instance script.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -1,23 +1,23 @@
|
|||||||
//===== rAthena Script =======================================
|
//===== rAthena Script =======================================
|
||||||
//= Sample: Localized NPC
|
//= Sample: Localized NPC
|
||||||
//===== By: ==================================================
|
//===== By: ==================================================
|
||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Example of a localized NPC.
|
//= Example of a localized NPC.
|
||||||
//=
|
//=
|
||||||
//= There are many ways to do it, this is just one option.
|
//= There are many ways to do it, this is just one option.
|
||||||
//= The player has a global account variable ##_langid_ that
|
//= The player has a global account variable ##_langid_ that
|
||||||
//= identifies the it's language.
|
//= identifies the it's language.
|
||||||
//=
|
//=
|
||||||
//= The default language should always have langid 0.
|
//= The default language should always have langid 0.
|
||||||
//= When a message isn't found for the player's langid
|
//= When a message isn't found for the player's langid
|
||||||
//= (strlen = 0), the message from langid 0 is used instead.
|
//= (strlen = 0), the message from langid 0 is used instead.
|
||||||
//=
|
//=
|
||||||
//= Each message is identified by a string that must only
|
//= Each message is identified by a string that must only
|
||||||
//= contain valid variable name characters.
|
//= contain valid variable name characters.
|
||||||
//=
|
//=
|
||||||
//= void setlang(int langid)
|
//= void setlang(int langid)
|
||||||
//= - sets the player's language
|
//= - sets the player's language
|
||||||
//= int getlang(void)
|
//= int getlang(void)
|
||||||
@ -28,10 +28,10 @@
|
|||||||
//= - returns the localized text of name
|
//= - returns the localized text of name
|
||||||
//= void mes2(string name)
|
//= void mes2(string name)
|
||||||
//= - displays the localized text of name
|
//= - displays the localized text of name
|
||||||
//=
|
//=
|
||||||
//===== Additional Comments: =================================
|
//===== Additional Comments: =================================
|
||||||
//= To use this globally, just put the functions in Global_Functions.txt
|
//= To use this globally, just put the functions in Global_Functions.txt
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////
|
||||||
/// Sets the language of the player account.
|
/// Sets the language of the player account.
|
||||||
@ -85,7 +85,7 @@ function script getmes2 {
|
|||||||
|
|
||||||
//////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////
|
||||||
/// mes for localized text.
|
/// mes for localized text.
|
||||||
/// index should be a unique string, made up only of characters
|
/// index should be a unique string, made up only of characters
|
||||||
/// that are valis as a variable name
|
/// that are valis as a variable name
|
||||||
/// @param index Message identifier
|
/// @param index Message identifier
|
||||||
function script mes2 {
|
function script mes2 {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20160306
|
//= 20160306
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Shows how to use the navigateto command.
|
//= Shows how to use the navigateto command.
|
||||||
//=
|
//=
|
||||||
//= NOTE:
|
//= NOTE:
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= Lance
|
//= Lance
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Contains commands needed for a dynamic shop.
|
//= Contains commands needed for a dynamic shop.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20121003
|
//= 20121003
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= An example of shop NPCs.
|
//= An example of shop NPCs.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= Lupus
|
//= Lupus
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= An example of an NPC with live dialogue.
|
//= An example of an NPC with live dialogue.
|
||||||
//= Note: This relies on Global_Functions.txt to run.
|
//= Note: This relies on Global_Functions.txt to run.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20090206
|
//= 20090206
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= An example of shop NPCs.
|
//= An example of shop NPCs.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20090206
|
//= 20090206
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates array commands.
|
//= Demonstrates array commands.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20121003
|
//= 20121003
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates waitingroom commands.
|
//= Demonstrates waitingroom commands.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20070915
|
//= 20070915
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= An example of how duplicate NPCs are handled:
|
//= An example of how duplicate NPCs are handled:
|
||||||
//= NPC variables are shared between all duplicates.
|
//= NPC variables are shared between all duplicates.
|
||||||
//= Each duplicate knows its own map coordinates.
|
//= Each duplicate knows its own map coordinates.
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20120901
|
//= 20120901
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates use of functions.
|
//= Demonstrates use of functions.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20121003
|
//= 20121003
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates NPC timer commands.
|
//= Demonstrates NPC timer commands.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20121003
|
//= 20121003
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates attached NPC timer commands.
|
//= Demonstrates attached NPC timer commands.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= MouseJstr
|
//= MouseJstr
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20100108
|
//= 20100108
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates PCRE commands.
|
//= Demonstrates PCRE commands.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ Lquote12:
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// I am glad
|
// I am glad
|
||||||
Lquote13:
|
Lquote13:
|
||||||
switch(rand(3)) {
|
switch(rand(3)) {
|
||||||
case 0: npctalk "How have I helped you to be "+$@p2$+""; break;
|
case 0: npctalk "How have I helped you to be "+$@p2$+""; break;
|
||||||
@ -130,7 +130,7 @@ Lquote13:
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// I am sad
|
// I am sad
|
||||||
Lquote14:
|
Lquote14:
|
||||||
switch(rand(2)) {
|
switch(rand(2)) {
|
||||||
case 0: npctalk "I am sorry to hear you are depressed"; break;
|
case 0: npctalk "I am sorry to hear you are depressed"; break;
|
||||||
@ -161,7 +161,7 @@ Lquote17:
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// same
|
// same
|
||||||
Lquote18:
|
Lquote18:
|
||||||
npctalk "What other connections do you see?";
|
npctalk "What other connections do you see?";
|
||||||
end;
|
end;
|
||||||
@ -219,7 +219,7 @@ Lquote24:
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// you are
|
// you are
|
||||||
Lquote25:
|
Lquote25:
|
||||||
npctalk "What makes you think I am "+$@p2$+" ?";
|
npctalk "What makes you think I am "+$@p2$+" ?";
|
||||||
end;
|
end;
|
||||||
@ -233,7 +233,7 @@ Lquote26:
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// were you
|
// were you
|
||||||
Lquote27:
|
Lquote27:
|
||||||
switch(rand(3)) {
|
switch(rand(3)) {
|
||||||
case 0: npctalk "Perhaps I was "+$@p2$+""; break;
|
case 0: npctalk "Perhaps I was "+$@p2$+""; break;
|
||||||
@ -242,7 +242,7 @@ Lquote27:
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// I can't
|
// I can't
|
||||||
Lquote28:
|
Lquote28:
|
||||||
switch(rand(2)) {
|
switch(rand(2)) {
|
||||||
case 0: npctalk "Maybe you could "+$@p3$+" now"; break;
|
case 0: npctalk "Maybe you could "+$@p3$+" now"; break;
|
||||||
@ -250,7 +250,7 @@ Lquote28:
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// I feel
|
// I feel
|
||||||
Lquote29:
|
Lquote29:
|
||||||
npctalk "Do you often feel "+$@p2$+" ?";
|
npctalk "Do you often feel "+$@p2$+" ?";
|
||||||
end;
|
end;
|
||||||
@ -265,7 +265,7 @@ Lquote31:
|
|||||||
npctalk "Perhaps in your fantasy we "+$@p3$+" each other?";
|
npctalk "Perhaps in your fantasy we "+$@p3$+" each other?";
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// why don't you
|
// why don't you
|
||||||
Lquote32:
|
Lquote32:
|
||||||
switch(rand(3)) {
|
switch(rand(3)) {
|
||||||
case 0: npctalk "Should you "+$@p3$+" yourself?"; break;
|
case 0: npctalk "Should you "+$@p3$+" yourself?"; break;
|
||||||
@ -274,7 +274,7 @@ Lquote32:
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// yes
|
// yes
|
||||||
Lquote33:
|
Lquote33:
|
||||||
switch(rand(3)) {
|
switch(rand(3)) {
|
||||||
case 0: npctalk "You seem quite positive"; break;
|
case 0: npctalk "You seem quite positive"; break;
|
||||||
@ -297,7 +297,7 @@ Lquote35:
|
|||||||
npctalk "Can you be more specific?";
|
npctalk "Can you be more specific?";
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// everyone
|
// everyone
|
||||||
Lquote36:
|
Lquote36:
|
||||||
switch(rand(4)) {
|
switch(rand(4)) {
|
||||||
case 0: npctalk "surely not everyone"; break;
|
case 0: npctalk "surely not everyone"; break;
|
||||||
@ -307,7 +307,7 @@ Lquote36:
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// always
|
// always
|
||||||
Lquote37:
|
Lquote37:
|
||||||
switch(rand(4)) {
|
switch(rand(4)) {
|
||||||
case 0: npctalk "Can you think of a specific example?"; break;
|
case 0: npctalk "Can you think of a specific example?"; break;
|
||||||
@ -328,7 +328,7 @@ Lquote38:
|
|||||||
}
|
}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// perhaps
|
// perhaps
|
||||||
Lquote39:
|
Lquote39:
|
||||||
npctalk "You do not seem quite certain";
|
npctalk "You do not seem quite certain";
|
||||||
end;
|
end;
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= Akkarin
|
//= Akkarin
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20121227
|
//= 20121227
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates quest commands.
|
//= Demonstrates quest commands.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= Lupus
|
//= Lupus
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates 'setiteminfo' and 'setitemscript' commands.
|
//= Demonstrates 'setiteminfo' and 'setitemscript' commands.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= Jbain
|
//= Jbain
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates mapflag commands.
|
//= Demonstrates mapflag commands.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20140208
|
//= 20140208
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates the 'skill' command.
|
//= Demonstrates the 'skill' command.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
//= rAthena Dev Team
|
//= rAthena Dev Team
|
||||||
//===== Last Updated: ========================================
|
//===== Last Updated: ========================================
|
||||||
//= 20070315
|
//= 20070315
|
||||||
//===== Description: =========================================
|
//===== Description: =========================================
|
||||||
//= Demonstrates time commands.
|
//= Demonstrates time commands.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -76,7 +76,7 @@ RequiredWeapons: Weapon type needed to use the skill.
|
|||||||
28: Dagger + Sword
|
28: Dagger + Sword
|
||||||
29: Dagger + Axe
|
29: Dagger + Axe
|
||||||
30: Sword + Axe
|
30: Sword + Axe
|
||||||
|
|
||||||
Up to 30 ':'-separated values can be used, e.g.
|
Up to 30 ':'-separated values can be used, e.g.
|
||||||
type1:type2:type3
|
type1:type2:type3
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,7 @@ The following terms will be frequently used throughout this file, so it is
|
|||||||
important to have a thorough understanding of what they are to avoid confusion.
|
important to have a thorough understanding of what they are to avoid confusion.
|
||||||
|
|
||||||
Term Description
|
Term Description
|
||||||
---- -----------
|
---- -----------
|
||||||
serv a program/daemon that runs indefinitely offering a service
|
serv a program/daemon that runs indefinitely offering a service
|
||||||
host a machine that has one or more servs running
|
host a machine that has one or more servs running
|
||||||
command a request of an action on the server or client
|
command a request of an action on the server or client
|
||||||
@ -64,7 +64,7 @@ We have 3 types of communication:
|
|||||||
|
|
||||||
2. serv <=> client (AC,CA,HC,CH,ZC,CZ)
|
2. serv <=> client (AC,CA,HC,CH,ZC,CZ)
|
||||||
This is what our servs send or receive to a player client.
|
This is what our servs send or receive to a player client.
|
||||||
|
|
||||||
3. serv <=> console/terminal
|
3. serv <=> console/terminal
|
||||||
This is the only kind of communication which doesn't use packets (currently).
|
This is the only kind of communication which doesn't use packets (currently).
|
||||||
It's only done in localhost from console to servs (a way to input args in servs runtime).
|
It's only done in localhost from console to servs (a way to input args in servs runtime).
|
||||||
@ -110,7 +110,7 @@ For real table names, see 'conf/inter_athena.conf'.
|
|||||||
reg_db permanent character variables (ex. ADVJOB)
|
reg_db permanent character variables (ex. ADVJOB)
|
||||||
skill_db character learned skill database
|
skill_db character learned skill database
|
||||||
interlog_db inter-serv logs
|
interlog_db inter-serv logs
|
||||||
memo_db character Memo_point database
|
memo_db character Memo_point database
|
||||||
guild_db guild record (name, master, lv, exp, emblem, etc.)
|
guild_db guild record (name, master, lv, exp, emblem, etc.)
|
||||||
guild_alliance_db guild relations database (allies, enemies)
|
guild_alliance_db guild relations database (allies, enemies)
|
||||||
guild_castle_db guild owned castle database
|
guild_castle_db guild owned castle database
|
||||||
@ -182,7 +182,7 @@ The following list describes each module and its purpose.
|
|||||||
------ -----------
|
------ -----------
|
||||||
atomic adapter to atomic operations for Windows API
|
atomic adapter to atomic operations for Windows API
|
||||||
cbasetypes adapter to OS and arch specification (function name, bit representation)
|
cbasetypes adapter to OS and arch specification (function name, bit representation)
|
||||||
cli console Line Interface handling (get arguments from terminal at beginning and runtime)
|
cli console Line Interface handling (get arguments from terminal at beginning and runtime)
|
||||||
conf facade of libconfig api
|
conf facade of libconfig api
|
||||||
core MAIN program entry (initialization of each serv starts here)
|
core MAIN program entry (initialization of each serv starts here)
|
||||||
db database module (create, parse, and destroy databases)
|
db database module (create, parse, and destroy databases)
|
||||||
@ -290,7 +290,7 @@ The following list describes each module and its purpose.
|
|||||||
pc functions for player processing (loot/drop/delete items, player bonus handling, player dead, etc.)
|
pc functions for player processing (loot/drop/delete items, player bonus handling, player dead, etc.)
|
||||||
pc_groups functions for players groups system (manage player permissions and atcommand access)
|
pc_groups functions for players groups system (manage player permissions and atcommand access)
|
||||||
pet functions for the pet system (similar to mercenary, homunculus, player, etc.)
|
pet functions for the pet system (similar to mercenary, homunculus, player, etc.)
|
||||||
quest functions for the quest log system (add, complete, remove, etc.)
|
quest functions for the quest log system (add, complete, remove, etc.)
|
||||||
script handles script language logic (used in NPC scripts), script commands, and mapflags
|
script handles script language logic (used in NPC scripts), script commands, and mapflags
|
||||||
searchstore functions for the Vendor Shop Search feature
|
searchstore functions for the Vendor Shop Search feature
|
||||||
skill functions for skills (skill_casttime calculation, skill behaviours, skill_chk_cast, requirement checks, 'db/skill_*.txt' processing)
|
skill functions for skills (skill_casttime calculation, skill behaviours, skill_chk_cast, requirement checks, 'db/skill_*.txt' processing)
|
||||||
|
|||||||
@ -45,7 +45,7 @@ SC_POISON ()
|
|||||||
desc: DEF -25%; if HP>25% lose 1.5% + 2 HP/sec; SP Regeneration is disabled
|
desc: DEF -25%; if HP>25% lose 1.5% + 2 HP/sec; SP Regeneration is disabled
|
||||||
val1: Skill Level
|
val1: Skill Level
|
||||||
val2: Caster's object ID
|
val2: Caster's object ID
|
||||||
val3:
|
val3:
|
||||||
val4: Remaining tick
|
val4: Remaining tick
|
||||||
|
|
||||||
SC_CURSE ()
|
SC_CURSE ()
|
||||||
@ -75,7 +75,7 @@ SC_DPOISON ()
|
|||||||
desc: DEF -25%; if HP>25% lose 10/15% HP/sec
|
desc: DEF -25%; if HP>25% lose 10/15% HP/sec
|
||||||
val1: Skill Level
|
val1: Skill Level
|
||||||
val2: Caster's object ID (for mob_log_damage)
|
val2: Caster's object ID (for mob_log_damage)
|
||||||
val3:
|
val3:
|
||||||
val4: Remaining tick
|
val4: Remaining tick
|
||||||
|
|
||||||
SC_PROVOKE (SI_PROVOKE)
|
SC_PROVOKE (SI_PROVOKE)
|
||||||
@ -2342,7 +2342,7 @@ SC_REBOUND (SI_REBOUND)
|
|||||||
val1:
|
val1:
|
||||||
|
|
||||||
SC_UNLIMIT (SI_UNLIMIT)
|
SC_UNLIMIT (SI_UNLIMIT)
|
||||||
desc: Increase attak rate & set Def/MDef to 1,
|
desc: Increase attak rate & set Def/MDef to 1,
|
||||||
val1:
|
val1:
|
||||||
val2: +% Attack
|
val2: +% Attack
|
||||||
|
|
||||||
|
|||||||
@ -8,12 +8,12 @@
|
|||||||
//= A description of rAthena's NPC whispering system.
|
//= A description of rAthena's NPC whispering system.
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
This piece of code to allows characters to execute events in NPCs by whispering
|
This piece of code to allows characters to execute events in NPCs by whispering
|
||||||
them up to ten parameters. The NPC must have an "OnWhisperGlobal" label, or an
|
them up to ten parameters. The NPC must have an "OnWhisperGlobal" label, or an
|
||||||
"event not found" error will result.
|
"event not found" error will result.
|
||||||
|
|
||||||
NPC:<NPC Name> <String>{#String 2{#...{#String 10}}}
|
NPC:<NPC Name> <String>{#String 2{#...{#String 10}}}
|
||||||
|
|
||||||
The whispered strings are separated by the "#" character, and are each stored
|
The whispered strings are separated by the "#" character, and are each stored
|
||||||
into separate temporary character string variables:
|
into separate temporary character string variables:
|
||||||
|
|
||||||
|
|||||||
@ -81,7 +81,7 @@ Now, the last part of the script, regarding the end of WoE time:
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
This is the same as before, but it's checking for the day in the first gettime() and
|
This is the same as before, but it's checking for the day in the first gettime() and
|
||||||
the hour on the second. If both conditions are true, WoE will end. We're checking
|
the hour on the second. If both conditions are true, WoE will end. We're checking
|
||||||
here for the end time, not the start.
|
here for the end time, not the start.
|
||||||
|
|
||||||
Another important thing is "OnAgitInit:". This special label will be run as soon as the
|
Another important thing is "OnAgitInit:". This special label will be run as soon as the
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user