22 Commits

Author SHA1 Message Date
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
Atemo
43b3bc08be
Fixed variable typo in agit_main_se.txt (#3889)
* Guardians were randomly spawn on the map
2019-01-25 17:42:00 +01:00
Aleos
7045d585e4
Added constants for Castle Data manipulation (#3531)
* Fixes #3530.
* Added constants for script commands getcastledata and setcastledata.
* Adjusted the guardian constants to adjust based on MAX_GUARDIANS define value.
* Updated scripts to reflect changes.
Thanks to @keitenai, @Atemo, and @Lemongrass3110!
2018-11-08 16:27:03 -05:00
Atemo
78edf851a0
Suggestion of implementation of is_party_leader and is_guild_leader script commands. (#3617)
* Implemented is_party_leader and is_guild_leader script commands.

Thanks to @cydh !
2018-11-06 16:28:09 +01:00
Atemo
3d8104d7fb
Suggestion: checkwall script command (#3393)
* Added checkwall script command
- Included the checkwall in npc folder
2018-08-14 20:58:49 +02:00
Lemongrass3110
f42c2ff211 Moved some remaining constants into src (#2501)
* Moved all npc view constants into src

Source side the constants will use Gravity's naming standard(JT_*)
NPC side still supports the old names without JT_

* Moved all effect constants into src

Added check for effect validation to atcommand effect and all script commands using them
Removed the unused and broken function unit_changeviewsize from unit.c
Replaced a lot of hardcoded effect ids with their respective constants
Cleaned up the effect documentations

* Moved all hat effect constants into src

Added check for effect validation to script command hateffect
2017-10-14 18:13:51 +02:00
Atemo
d2651c45c1 Issue #1760 in woe 2
- The firsts barricades are now indestructible until both Guardian Stones are destroyed.
2016-12-01 23:58:43 +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
Atemo
3a45dd97f9 Another clean-up 2015-12-09 23:09:17 +01: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
97687ca10c Global_Function updates.
* Added the following functions:
  - "F_GetPlural" (returns plural of noun) / "F_InsertPlural" (returns plural if arg != 1)  [credits: EnglishClub for formation rules]
  - "F_InsertArticle" (returns 'a' or 'an' preceding word)
  - "F_InsertComma" (formats number with commas)
  - "F_GetNumSuffix" (formats number with '-st', '-nd', '-rd', or '-th' suffix)
* Added and removed new functions where necessary. (incomplete)
* Added new types to "F_GetArmorType" function, and weapons will now pass to "F_GetWeaponType".
* Reformatted comments.

Other changes:
* Removed some garbage text from scripts.
* Slight edits to custom warper script.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-01-03 20:13:44 -05:00
Euphy
454781a24d * Fixed a WOE:SE issue with 2nd Guardian Stone respawn. (tid:86918)
* A couple of other tiny fixes.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-30 18:02:48 -04:00
Euphy
3beb7833f9 * Fixed Guardian Stone respawns in WOE SE. (bugreport:7849)
* Fixed job checks in Falcon Flute Trader script. (bugreport:7839)
* Fixed Guillotine Katar slots. (bugreport:7838)
* Fixed @itembound type 4 not working.
* Bossnia changes:
- Monsters should not be spawned with 'boss_monster' according to official scripts; removed 'notomb' mapflags accordingly (partial revert of r17404).
- Merged file into events/bossnia.txt, since the spawns and warps should be disabled by default.

Signed-off-by: Euphy <euphy@rathena.org>
2013-07-17 23:16:15 -04:00
euphyy
b2a3bdd1c9 > Guild fixes:
* Added a check to prevent double Emperium spawns in WOE SE castles (since r16571).
* Added guild disbanding events for WOE SE castles (since r12531).
* Fixed an incorrect parameter in WOE FE guild disbanding event (since r12673).

> Other:
* Fixed .@atcmd_numparameters, code by Zephyr (bugreport:7198).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-27 06:37:20 +00:00
cookiecrumbs
7b7e244fef Small fix (confirmed) to the barricade spawn coordinates in schg_cas02. This caused the cades to only be target-able via specific skills as they were lodged into the wall.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16741 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-03 22:58:09 +00:00
euphyy
2adc9cdf28 * Follow-up r16726, more standardization on docs.
* Replaced and added dividers in many script files with one standard divider.
* Other misc. cleaning...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16727 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-01 00:37:36 +00:00
euphyy
bd7de23625 * Attempted fix at a rare error in guild2 scripts where Emperium would respawn immediately and without an owner after breaking. If this still happens, please file a bug report.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-11 05:30:33 +00:00
euphyy
cfeba803ed * Fixed a critical typo in the new guild2 scripts - why hasn't anyone reported this? D:
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16620 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-10 18:09:57 +00:00
brianluau
eccf002de1 - Added svn:eol-style=native property on some recently added text files.
- Renamed upgrade_svn16517.sql to the correct SVN revision it was added in (r16518).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-09 18:01:21 +00:00
euphyy
9441082024 * You may notice that your /guild2/ folder shrunk considerably - you're welcome. x.x
* You may also notice that your /guild2/ folder no longer functions. If that's the case... blame Maki (you can find him on the forums, IRC, TS, TSR, etc...)

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