38 Commits

Author SHA1 Message Date
Atemo
c098d0c518 Fixed wrong condition in monk.txt issue #2057
Thanks @TheNoobCompany !
2017-04-12 20:42:25 +02:00
Atemo
c6470ff4ff Clean-up permanent monster spawn: (#1831)
* Clean-up permanent monster spawn:
- <delay1>,<delay2>,<event> are actually optionnal field
- <event> value 0 and 1 are meaningless (actually event name with length < 4 are skipped)

* Exported monster AI constants

* Updated docs for monster size constants (already exported)
Notes:
- the default size for monster script cmd was small not medium
- monster script cmd now display a warning for size above SZ_BIG (previously SZ_ALL)

* - Fixed an issue to make <xs> and <ys> optionnals
- Updated npcs scripts

* Leftover in the docs for permanent monster spawn

* Corrected english docs. Credit to @aleos89
Added additionnal warning for xs / ys negative input. Credit @Lemongrass3110 

Thanks to @cydh for the idea
2017-01-22 19:03:08 +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
Atemo
d62f422e3d Corrected OnTouch/OnTouch_ in NPC script (#1548)
Some leftover from aegis convertion..

Skipped pre-re folder, I don't have old data.
2016-09-07 21:35:14 +02: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
bf68ccefa3 * Script style standardization.
- Standardized cases on constants (Zeny, Sex, BaseLevel, etc.).
- Replaced numerics with constants.
- Standardized parts of script headers.
- Changed some script styles to K&R.
- Added some official script file names as comments.
- Replaced most 'misceffect' commands with 'specialeffect'.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-27 03:28:41 -04:00
euphyy
62dee5b8c7 * Updated Geneticist, Warlock, and Sura job quests to their latest versions.
* Added a clearer example for party_even_share_bonus (tid:58005).
* Standardized job headers.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-08 18:18:36 +00:00
euphyy
31d2fe26b3 * Follow-up r16742, revised quest sample (doc\sample\npc_test_quest.txt) and whisper system documentation (doc\whisper_sys.txt)
* Follow-up r16745, fixed a few typos in atcommand documentation (doc\atcommands.txt)
* Minor cleaning - spacing, tabulation, comments, dividers

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-05 02:42:20 +00:00
euphyy
9800b743e6 * Raw revert of all job files back to r16578, prior to the rewrite in r16579. The updates will be re-applied after more testing is done.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-10 18:45:05 +00:00
masao87
44327805ca - This should fix all job quests which didn't work after the update.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-05 15:26:07 +00:00
masao87
93d361847e - Some little adjustments to the job change quests, also reverted some variables to the old job change files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-05 11:19:56 +00:00
masao87
9a71512a79 - Follow up r16579 .
* Added some missing Baby checks... This Update really started great didn't it ;)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-04 22:15:29 +00:00
masao87
b2dd8c722e - Here comes the big Job folder Update.
* Updated all 1-1, 2-1, 2-2 and the expanded files to the latest available official files and also added support for baby job change.
* There might be some optimizations still needed at some places and there maybe occur some errors as well or the job change isn't fully working anymore since I didn't test all the jobs through the end (Me = Lazy), if so then please fill out a bug report in our bug tracker: http://rathena.org/board/tracker/project-4-scripts/
* Ninja, Gunslinger and the other files will follow within the next days.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16579 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-04 21:45:50 +00:00
daegaladh
f49b3d6f55 Full npc folder reorganization. (I hope I didn't break anything D:)
-Now common scripts goes to the main npc folder, and pre-re-only/re-only ones goes to their respective folders.
-NPCs with practically the same script but little differences have been left in the main folder and uses the command checkre() for the differences.
-For those NPCs with different coordinates but same script, the script has been left in the main folder but the NPCs splitted as duplicates.
-All pre-renewal files has been reverted back to their pre-renewal behavior.

TODO:
-Correct pre-re quest rewards.
-Check for pre-re/re differences in mapflags.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-01 04:29:56 +00:00
shennetsind
086af74531 Okie ladies and gentleman if this commit breaks anything it's jman's and maki's fault, yes, blame them.
Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08 19:30:07 +00:00
mercurial123
0f47604f2d - Replaced all occurrences of "eAthena" to "rAthena" string
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24 21:30:42 +00:00
L0ne_W0lf
dc0977ed37 * Quest log kill count now updated properly. (Added from topic 253813)
* More battleground editing, and some bug fixes.
- * ALL BATTLEGROUNDS ARE NOW ACTIVE BY DEFAULT. PLEASE CONTINUE TESTING *
- Rewrote the Badge Exchange NPC in bg_common.txt, is official now.
- Other changes to the bg_common folder, including disabled GM NPC.
- Completely rewrote Flavius for the most part, from ground up.
- Moved old Flavius battlegrounds to /custom/battleground folder.
- Restored original bg_common, and KVM to /custom/battleground
- Fixed wall bugs in Tierra Gorge, and added an oninit to the timers.
- Other minor tweaks to both Tierra Gorge and KVM scripts.
- Fixed the pseudo-cooldown on KVM not working properly, I hope.
- Added global time2str function which will be used later in Endless tower.
* Applied Epoque's mapflag clean up, which removes flags from scripts.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-14 16:06:23 +00:00
L0ne_W0lf
f77b5c0727 * Removed usage of the 'goto' command from job quests.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-21 15:25:44 +00:00
Kisuka
7ba1afd5c5 - Added quest log commands to all job quests.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-11 04:52:10 +00:00
samuray22
1aa71f445e * Deleted unused variables in some Job Quest (2-1 & 2-2).
-Thanks to Ai4rei

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-12 13:47:54 +00:00
L0ne_W0lf
1607b50c59 Uncommented the ShowWarning and ShowDebug from rev. 11508, and cleaned up the warnings it produced.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 22:04:47 +00:00
L0ne_W0lf
7fd5c0f918 2-2 job quest update. Although completable, further testing (and optimizing) required.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-23 00:36:51 +00:00
Playtester
81bf36de72 Small fix in Monk Quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10124 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-02 17:39:50 +00:00
Lupus
c6d5f38b75 removed all .GAT from all the scripts and tested
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 20:32:55 +00:00
FlavioJS
637ae9a4dc - Massive EOL normalization & 'svn:eol-style native' flag setting for all txt/conf/h/c files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05 13:23:07 +00:00
KarLaeda
7935fd82c4 Fixed event's label for many quest-spawned monsters
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-02 02:20:32 +00:00
Lupus
9e4ba17a6d added missing line
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9076 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-26 11:00:15 +00:00
Playtester
db2a9e7c96 * Commited Silent's Fix to the duplicate NPCs
- needs testing
- can't be fully fixed because of length limitation of names

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7200 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-16 10:02:18 +00:00
Vicious
261c79eca2 constant-fied!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 02:15:34 +00:00
Zephiris
4ddb93520b - Fixed another bug in the monk quest. [Zephiris]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5131 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 12:22:56 +00:00
Valaris
2178a86317 AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.  EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:10:48 +00:00
Valaris
fd99753f8e Clearing trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:00:45 +00:00
Lupus
c0f36dac5f Fixed MONK JOB quest!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1184 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-26 22:32:35 +00:00
(no author)
934b36ecb4 Fixed some EOL issues
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-06 16:41:57 +00:00
celest
db576e8b6b Updated monk job quest script
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-30 19:04:52 +00:00
Lupus
efaeccbad4 fixed monk.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-30 06:34:09 +00:00
Lupus
62d49dbfea fixed monk.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-30 06:26:16 +00:00
celest
cfd39590db git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@865 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-12-30 03:31:20 +00:00