Age | Commit message (Collapse) | Author | Files | Lines |
|
Refactor scripts that use OnTouch Logic to use areawarp instead
|
|
Fix Moscovia quests getting stuck in infinite loop
|
|
This fixes a few bugs and possible exploits, some OnTouch-Warp-NPCs didn't cover the entire
area they intended to areawarp. If you have any NPC Dialogue open, you
will not trigger the OnTouch and thus not get warped. Areawarp though
will ensure that you are guaranteed to get warped.
This also fixes some poor timer usage in juperos quest for example,
where one of the NPCs just won't ever get enabled again.
|
|
As many players as wanted could remain in the battle area, where the
dokebis and am muts spawn, as long as you have a dialogue open, which
the script provides. One could even keep a certain part of the dialogue
open right before the am muts spawn. Making you able to abuse this quest
in order to have your own am mut farming map, since they drop loot
and give exp. If you have any NPC that you can whisper to trigger a
dialogue, you could even do this more efficiently and kill am muts per
run. First run you kill 3. Second you can kill 6. Third 9.
So once you got 10 players in there, you will have killed 135 Am Muts
and can kill 30 more.
|
|
circumstances
|
|
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
add getguildinfo()
|
|
https://github.com/rathena/rathena/commit/ce42168b0d2d25f66ab8a5fc5e2ef24d988274ae
|
|
|
|
* delitem should be called before getitem.
Fixes #1934
|
|
Fix Wounded Morocc Cooldown
|
|
- avoid potential hacks for old scripts that use `input()` script
commands.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Fixed an issue with a cooldown after killing Wounded Morroc.
|
|
|
|
also fix quests_rachel, now support with *unitemote
|
|
|
|
Replacements are as follows:
0 => ITEMINFO_BUYPRICE
1 => ITEMINFO_SELLPRICE
2 => ITEMINFO_TYPE
3 => ITEMINFO_MAXCHANCE
4 => ITEMINFO_SEX
5 => ITEMINFO_LOC
6 => ITEMINFO_WEIGHT
7 => ITEMINFO_ATK
8 => ITEMINFO_DEF
9 => ITEMINFO_RANGE
10 => ITEMINFO_SLOTS
11 (Subtype, for weapons and ammunitions) => ITEMINFO_SUBTYPE
11 (ViewSprite, for other item types) => ITEMINFO_VIEWSPRITE (NOT AVAILABLE YET)
12 => ITEMINFO_ELV
13 => ITEMINFO_WLV
14 => ITEMINFO_VIEWID
15 => ITEMINFO_MATK (NOT AVAILABLE YET - this was documented but never implemented)
Calls to getiteminfo() and setiteminfo() have been replaced with the
newly introduced constants. Other constants (such as W_ weapon subtypes)
in related code have been replaced as well, to improve code readability.
This fixes an issue in the Eden Tutorial script "Tutorial Goal", where
ITEMINFO_ATK was accidentally used instead of ITEMINFO_WEIGHT.
Note: calls to getiteminfo or setiteminfo with numeric type arguments in
third party scripts must be replaced with the respective constants. The
use of numeric literals is no longer recommended, and those values may
change in the future without notice. See the getiteminfo documentation
for details.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
* Update airship quest
* airship quest coding style fixes
|
|
|
|
|
|
|
|
Uwe Kleine NPC had a lot of repetition, solved by using functions.
There was a case where you'd select the option "About Cooking"
which only displays text when ein_cook % 2 == 1 and ein_cook < 10,
for any other case it would fallthrough to the next option.
Wrong grammar and typos have been corrected as well,
some of them outside of the Uwe Kleine NPC.
|
|
Removed the usage of deprecated command goto from npc scripts (except custom folder)
|
|
folder).
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
function
|
|
credit rathena/rathena@800f22b77bb63c2305d05956de8fbe5db0327ded
|
|
remove useless check for questprogress
|
|
Add quest log for moscovia quests
|
|
|
|
|
|
* also change name of 2 variables to the official names
- yuno_hist -> yuno_book
- jupe_hist -> jupe_book
partial merge of
rathena/rathena@c488268d8c2fa74e1d16daf0c04a6bf2d36e2350
|
|
|
|
Credit: rathena/rathena@a9faab82cbcfbdb3009c5584032505e8617310bd
|
|
|
|
disabled npc's do not show the effects
|
|
This removes the remaining unsupported symbols (despite they being
official names) in AegisNames: The apostrophe (`'`) sign is suppressed.
The full replacement rules (cumulative with the step 1 commit) are thus:
- Any apostrophe is suppressed.
- Any non-`[A-Za-z0-9_]` character is replaced with an underscore (`_`).
- If the replaced symbol is at a word boundary (beginning or end of the
string, or next to another underscore), it is suppressed instead.
- If the replacement causes an AegisName conflict, underscores are
appended appropriately.
Signed-off-by: Haru <haru@dotalux.com>
|
|
This removes some unsupported symbols (despite they being official names) in
AegisNames. The replacement rules used are:
- Any non-`[A-Za-z0-9_']` character is replaced with an underscore (`_`).
- If the replaced symbol is at a word boundary (beginning or end of the string,
or next to another underscore), it is suppressed instead.
- If the replacement causes an AegisName conflict, underscores are appended
appropriately.
Signed-off-by: Haru <haru@dotalux.com>
|
|
followup 2f06704ee
introduced in 6006bca05 when the script was rewritten.
|
|
Fix cases were player were executed
|
|
On Aegis players set their HP to 0 by script are still alive. Since we don't want to copy this, scripts that set HP to 0 and expects the player to stay alive are changed.
Additionally some scripts where changed where the HP were set to 1% instead to 1 HP and also the percentheal -100 with intended death set into close2. In megingard_seal.txt a end; was missing.
|
|
|
|
|
|
- NPC_NAME for the whole npc name including hidden part
- NPC_NAME_VISIBLE for the visible part of the npc name
- NPC_NAME_HIDDEN for the hidden part of the npc name
- NPC_NAME_UNIQUE for the npc unique name
- NPC_MAP for npc map
|
|
|
|
Fixes to Doctor Quest, Crazy Uproar Quest, Kafra HQ's Potato Trader
|
|
(Questlog wouldn't be cleaned before)
|
|
needed to be JLVL 15 or higher.
|