31 Commits

Author SHA1 Message Date
Atemo
f8c3c67ef3
Small correction with subtype card (#6405) 2021-12-12 17:45:55 +01:00
Atemo
546df9bc2d
New card subtype (#6394)
* Implemented new card subtype to differentiate normal cards from enchanted ones
* Available Subtypes:
** Normal (default)
** Enchant
* Updated the item database with the new subtype
* Updated the npc folders using getiteminfo ITEMINFO_SUBTYPE

Thanks to @Lemongrass3110 and @aleos89 !
2021-12-08 18:27:22 +01:00
Atemo
69802a23fb
Suggestion: NPC name as parameter in enablenpc (#6233)
* The required NPC name parameter is now optional for the following script commands:
    enablenpc
    disablenpc
    hideonnpc
    hideoffnpc
    cloakonnpc
    cloakoffnpc
    isnpccloaked
* Updated docs

Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2021-09-09 14:50:24 +02:00
Daegaladh
354c632732
Fixed place names and other typos (#4475)
* Fixed common misspelled names from iRO and other typos.
2019-12-15 20:55:19 +01:00
Aleos
26720f041a
Updated script command getmapxy parameters (#3890)
* Fixes #3100.
* Script command getmapxy will now allow integer values for the search value.
* Deprecated UNITTYPE constants as they were replaced by BL.
* Defaulted BL_PC as the target for script command getmapxpy.
* Updated script command getunittype return value to return BL constants.
* Updated scripts to new BL constants.
Thanks to @pajodex's suggestion and @Lemongrass3110!
2019-01-30 17:10:33 -05:00
Atemo
fce5919bce
Corrected npc's name (warnings from emotion command) (#3388) 2018-08-05 00:00:11 +02:00
Atemo
3bcb37bf86
Workaround to solve issue with news cards in enchants NPCs (#2795)
* Workaround to solve issue with news cards in enchants NPCs

Thanks to @Lemongrass3110, @Everade !
2018-02-09 19:06:21 +01:00
Atemo
ea88ea5054
Emoticons constant name (#2527)
This PR change the emoticons constant name to match emoticonlist from client side.
Note: the previous emoticons names are now deprecated.

Additionnally emotion and unitemote scripts commands are being merged together to the new format
-> emotion <emotion number>{,<target>};
Where target use the target Game ID (GID) of the unit (npc, pet, character etc..).

* unitemote is now deprecated.
* Additionnally fixed incorrect variable in quests_brasilis.txt

Thanks to @aleos89 and @Lemongrass3110 !
2017-11-10 18:35:21 +01:00
Lemongrass3110
9b1b7b1a2b Replaced hardcoded genders with constants (#1730)
* Replaced hardcoded gender codes in source

Introduced a new constant for the account based gender and replaced all hardcoded gender references to code 99 with it.

* Replaced hardcoded gender codes in npcs

Exported the gender constants into the script engine and replaced all usages with references to the constants instead of expecting a value behind them.

* Corrected a typo

Thanks to Machiezmo from Discord.

* Fixed an inverted gender logic

Thanks to @secretdataz
2016-11-22 21:20:03 +01:00
Jittapan Pluemsumran
bd6539a9ba Follow up to c23688c
Unify all checks into one function.
Suggested by @Cydh.
2016-03-26 10:52:30 +07:00
Jittapan Pluemsumran
c23688cea4 Clean up basic skill checks 2016-03-23 21:11:57 +07:00
aleos89
0a77835029 Unit Controller Updates
* Added missing UMOB_CANMOVETICK option.
* Restructured script command getunittype return values to match the order of script command getmapxy to allow for more universal usage.
* Created constants for script commands getmapxy and getunittype.
* Updated NPCs using script command getmapxy to use the new constant values.
* Updated Battleground NPCs to use constant value for script command setunitdata.
2016-02-04 10:47:16 -05:00
Atemo
3a45dd97f9 Another clean-up 2015-12-09 23:09:17 +01:00
Cydh Ramdh
6ad4ed13d1 * Added script command showscript "<message>"{,<GID>}; by using clif_showscript.
* Removed hardcoded message that displayed clif_showscript for `transform` script, replaced its usage for item script by using `showscript`.
* Changed unittalk usage on `F_Cat_Hard_Biscuit` and `F_Rice_Weevil_Bug` function in quests_malangdo.txt.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2015-06-19 00:37:48 +07:00
Euphy
484d3cc710 Job database updates. (Hercules 5a5a327)
- Updated Job Stat Bonus tables.
- Updated Renewal Star Gladiator EXP table.
- Small changes to Renewal Stat Point table.

A few item database updates/fixes. (incl. Hercules 0604877)

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-04-25 18:16:59 -04:00
Euphy
364c7edb90 Added official names as comments in many newer scripts.
Signed-off-by: Euphy <euphy@rathena.org>
2014-01-22 15:59:21 -05:00
Euphy
90b187ff3e Changed all "Compatible With" fields to "rAthena Project".
Edited a handful separately, as appropriate.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-01-12 16:24:38 -05:00
Euphy
5ab4d5ea90 * Script updates:
- Updated Nameless Island quests and added questlog support in quests_nameless and quests_prontera. (fixes bugreport:7992)
- Updated "God Item Creation" scripts to their latest versions: seals roll at 25/50 instead of 50/100 in Renewal.
- Updated Soul Linker job quest with new checks.
- Fixed an untranslated Manuk NPC.
- Some follow-ups to previous commits.

* GM Management System:
- Enabled all official GM Management NPCs and wrote a function to control their usage.
- Implemented some missing GM Management NPCs (still incomplete).

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-25 20:56:46 -04:00
Euphy
be2428b832 * In Pre-Renewal, players can use items and self-targetting skills while talking to NPCs. (continuation of bugreport:6527)
* Fixed an issue in Malangdo quests. (bugreport:7863)
* Fixed two incorrect event calls in Assassin job change quest.

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-18 23:32:25 -04:00
euphyy
e8dcdf9ecb > Quick fixes:
* Incorrect quest check in Malangdo quests, "Yggdrasil Berry Gathering". (bugreport:7711)
* Typo breaking ammunition in hotkeys. (follow-up r17349, bugreport:7709)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17350 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-07 15:36:41 +00:00
euphyy
112030451a * Implemented all Mora quests (excluding instance-related quests and Mora Enchants).
* Updated Mora town NPCs, Quiver Maker, and guides.
* Updated Bifrost spawns and warps.
* Fixed a small error in the new refiners - thanks, Joseph!
* Other misc. changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17340 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-01 02:28:42 +00:00
euphyy
af8ef75a53 * Added "Cat Gamers" to Malangdo quests. This marks the completion of the Malangdo episode.
* Implemented Port Malaya Kafras, guides, sailors, and Eden teleporter.
* Edited documentation for 'sc_start' and 'addmonsterdrop'/'delmonsterdrop' commands. (follow-up r17326, r17237)
* Updated atcommand documentation and help file.
* Minor organizing of script locations.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-15 05:16:19 +00:00
euphyy
de86d74dc5 * Implemented Malangdo NPCs "Cat Invest Helper" and "Storekeeper".
* Added official and/or improved dialogue for many Malangdo NPCs.
* Added missing Malangdo Points Merchant.
* Removed reference to nonexistent 'checkpeco' command. (bugreport:7566)
* Follow-up r17274, minor documentation/name changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-20 04:03:04 +00:00
euphyy
05e3bf6ff0 * Implemented Malangdo refiners "Clink" and "Holink".
* Added Pouring spawn to mal_dun01, according to iRO.
* Updated POR map_msg translation. (credits: mkbu95)
* Fixed a few incorrect item types. (bugreport:7554)
* Users can no longer attack while in chat rooms. (Hercules 21d1bdd)
* Some minor follow-ups to other commits.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-18 00:49:30 +00:00
euphyy
9711667c31 * Added "Malangdo Island" to Malangdo quests, and fixed the dialogue in other Malangdo scripts.
* Implemented status change timers for 2012-06-18 onwards; added packets for 2013-03-20Ragexe. (Hercules 267eb1f)
* Fixed a crash when def1 hit 400. (Hercules 7e35b76)
* Fixed a warning in clang related to the channel system. (Hercules 16dfef6)
* Fixed @disguise breaking with @refresh. (Hercules b804926)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-08 00:59:04 +00:00
euphyy
1acf0192fc * Added "Play with Baby Cats" to Malangdo quests.
* Updated quest_db with all remaining Malangdo entries.
* Temporariliy added new coordinates to Warlock job quest to match new Morroc map. (tid:80650)
* Fixed some misplaced 'close2' commands in El Dicastes quests (incl. bugreport:7431).
* Moved equip index constants in pc.h so that equip_index no longer needs to updating. (follow-up r17221, Hercules ea42e92)
* Minor changes to script_commands.txt.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17224 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-31 01:19:36 +00:00
euphyy
7f6fc0c7a9 * Initial implementation of Archangel Wing Enchants script.
* Added some Malangdo coin exchange NPCs, more will come later.
* Updated Malangdo warp portals.
* Fixed item ID 12220 and clarified documentation of 'getiteminfo' types 11 and 14 (bugreport:7256).
* Minor Renewal item database update.
* Applied changes from r17171 to SQL databases.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 02:04:59 +00:00
euphyy
0dc920284d * Added Somotology Laboratory F4 quest (written by Ziu, translated by Heris, uses some iRO dialogues).
* Updated quest_db with Somotology Laboratory F4 entries (5113-5125 are placeholders, may be incorrect).
* Moving of warp files, reducing the number of duplicates in pre-re/re paths.
* Added a note to documentation (bugreport:7065) and fixed a small mistake (bugreport:7068).
* Follow-up r17056, missing $ (bugreport:7067) and added a missing item.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30 02:05:43 +00:00
euphyy
ac430975a8 * Added more Malangdo scripts.
* Updated quest_db with more translated Malangdo entries.
* Added and updated some newer items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17060 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-29 05:30:43 +00:00
euphyy
20edc406fe * Follow-up r17056.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28 08:46:39 +00:00
euphyy
96e8979569 * Added a small portion of official Malangdo Episode scripts.
* Updated quest_db with translated Malangdo entries.
* Fixed strmobinfo() to output empty strings for 'name' instead of zeros (partly follow-up r17055).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-28 08:38:28 +00:00