diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-08-03 18:27:00 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-08-03 18:27:00 +0000 |
commit | 2c9cbc9cc309ec61a4a62c59ac2a6c678fd8b478 (patch) | |
tree | 47af6729a0757215798873f52b9c62971336df4a /doc/script_commands.txt | |
parent | 419927ac9f5ea5b71b21b52728bb56925b797937 (diff) | |
download | hercules-2c9cbc9cc309ec61a4a62c59ac2a6c678fd8b478.tar.gz hercules-2c9cbc9cc309ec61a4a62c59ac2a6c678fd8b478.tar.bz2 hercules-2c9cbc9cc309ec61a4a62c59ac2a6c678fd8b478.tar.xz hercules-2c9cbc9cc309ec61a4a62c59ac2a6c678fd8b478.zip |
* A rather large overhaul of the battlegrounds.
- in bg_common.txt, stripped out KvM npcs, fixed coordinates.
- Needs to be tested, none of the BG files are on by default.
- Created subfolder battleground/KvM/ which now holds KVM files.
- Added kvm_enter.txt, which warps players to the waiting rooms.
- Added kvm_item_pay.txt, which holds the point redemption NPC.
- Made the KvM battlegrounds work closer to official, needs work.
* Corrected variable typos in the acolyte arena. (bugreport:4374)
* Corrected donpcevent typo in the party arena. (bugreport:4374)
* Added two global functions which will return equip data as strings.
- F_GetWeaponType: returns the type of weapon by 'look', (ie "Dagger")
- F_GetArmorType: returns the kind of armor via 'equip loc'. (ie "Armor")
* Fixed duplicate documentation for getitemslot. (bugreport:4362)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14369 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index cac34320f..2ec53e227 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -1007,6 +1007,7 @@ From here on, we will have the commands sorted as follow: 5.- Mob / NPC -related commands. 6.- Other commands. 7.- Instance Commands. +8.- Quest Log Commands. ===================== |1.- Basic commands.| @@ -2585,6 +2586,11 @@ and return the number of slots this kind of items has - 0 if they are not slotted. It will also be 0 for all non-equippable items, naturally, unless someone messed up the item database. It will return -1 if there is no such item. +Example(s): + +//@slots now has the amount of slots of the item with ID 1205. + set @slots, getItemSlots(1205); + --------------------------------------- *getiteminfo(<item ID>,<type>) @@ -2619,18 +2625,7 @@ This func returns CARD ID, 255,254,-255 (for card 0, if the item is produced) it when you want to check item cards or if it's signed. Useful for such quests as "Sign this refined item with players name" etc; Hat[0] +4 -> Player's Hat[0] +4 - ---------------------------------------- -*getitemslots(<item id>) - -Returns the amount of slots the item has. - -Example(s): - -//@slots now has the amount of slots of the item with ID 1205. - set @slots, getItemSlots(1205); - --------------------------------------- // 2,1.- End of item-related commands. |