summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/item_bonus.txt2
-rw-r--r--doc/script_commands.txt17
2 files changed, 16 insertions, 3 deletions
diff --git a/doc/item_bonus.txt b/doc/item_bonus.txt
index fd6a5becf..d31862254 100644
--- a/doc/item_bonus.txt
+++ b/doc/item_bonus.txt
@@ -165,8 +165,6 @@ bonus2 bHPRegenRate,n,x; Gain n HP every x milliseconds
bonus2 bHPLossRate,n,x; Lose n HP every x milliseconds
bonus2 bAddEffWhenHit,n,x; x/100% chance to cause n state to the enemy when
being hit by physical damage
-bonus2 bAddEffWhenHitShort,n,x; n% chance to cause x state to the enemy when
- being hit by physical close range damage
bonus2 bSkillAtk,n,x; Increase damage of skill n by x%
bonus2 bSkillHeal,n,x; Increase heal amount of skill n by x%
bonus2 bAddDamageByClass,n,x; When being hit by monster of class n increase
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index f87cba4a0..b589cf481 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -80,6 +80,8 @@
//= Removed the messy 'unitdeadsit' command reference [ultramage]
//= 3.05.20070823
//= Fixed typo in 'areamonster' description (missing argument) [ultramage]
+//= 3.06 20070909
+//= Added 'gethominfo' description [Skotlex]
//===== Description =======================================
//= A reference manual for the eAthena scripting language,
//= sorted out depending on their functionality.
@@ -2761,7 +2763,7 @@ currently has active. Valid types are:
0 - Unique pet ID number as stored by the char server and distinguishing it
from all other pets the characters actually have. This value is currently
useless, at most you can use it to tell pets apart reliably.
- 1 - Pet ID number as per 'db/pet_db.txt' - will tell you what kind of a pet it
+ 1 - Pet class number as per 'db/pet_db.txt' - will tell you what kind of a pet it
is.
2 - Pet name. Will return "null" if there's no pet.
3 - Pet friendly level (intimacy score). 1000 is full loyalty.
@@ -2769,6 +2771,19 @@ currently has active. Valid types are:
5 - Pet rename flag. 0 means this pet has not been named yet.
---------------------------------------
+*gethominfo(<type>)
+
+This function works as a direct counterpart of 'getpetinfo':
+ 0 - Homunculus unique ID
+ 1 - Homunculus Class
+ 2 - Name
+ 3 - Friendly level (intimacy score). 100000 is full loyalty.
+ 4 - Hungry level. 100 is completely full.
+ 5 - Rename flag. 0 means this homunculus has not been named yet.
+ 6 - Homunculus level
+---------------------------------------
+
+
*petstat(<flag>)
Returns current pet status, all are integers except name.