Age | Commit message (Collapse) | Author | Files | Lines |
|
getiteminfo() / setiteminfo() fixes
|
|
Applied standardization to EndlessTower script
|
|
The function now handles multi-slot headgears and other uncommon cases better.
Signed-off-by: Haru <haru@dotalux.com>
|
|
ammunitions
Both functions have now been updated to only check the subtype if the
item type is correct (IT_AMMO for F_GetAmmoType, IT_WEAPON for
F_GetWeaponType)
Signed-off-by: Haru <haru@dotalux.com>
|
|
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>
|
|
Update F_GetArmorType()
|
|
Applied standardization to SealedShrine script
|
|
Applied standardization to OrcsMemory script
|
|
Applied standardization to saras_memory script
|
|
Applied standardization to ghost_palace script
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added mesf and sprintf commands where needed.
- Added _$() and _() macros where needed.
- Added curly brackets, paragraph breaks, parentheses and spaces to fit Hercules' Standards.
- Changed numeric arguments for constants.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Added var .@str$ in a select() menu for HULD compatibility.
- Sincronized (2) messages to fit official behaviour.
- Changed function F_Tower_Warp to use arrays instead of a large switch.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Change in functions_kafras to show a different text between normal characters and Doram characters.
Credits to RagEmu.
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- update missing equip types.
|
|
weight incorrectly.
|
|
* Update airship quest
* airship quest coding style fixes
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
|
|
Enriched refine chance correction
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
Normal Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941553&curpage=1
Enriched Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941565&curpage=1
Event Normal Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941558&curpage=1
Event Enriched Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941567&curpage=1
|
|
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.
|
|
Implemented official Giant Fly Wing Effect
|
|
Removed the usage of deprecated command goto from npc scripts (except custom folder)
|
|
Update the *warpparty script commmand, credits to Dastgir
Coding-style fixes & whitespace adjustments in warpparty part in script.c
|
|
|
|
Fix wrong order of dialogue at Crusader Jobchange Quest.
|
|
Fixes #1625. Fixes checks on Guild Dungeon Investment and separates Guild Dungeon mapflags for pre-renewal and renewal
|
|
Fixes #1626. Adds missed mapflags on instances.
|
|
Dungeon mapflags for pre-renwal and renewal.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
- Mapflags are moved into map_zone_db, this will make easier and more intuitive in the future to add mapflags to new instances and avoid miss any mapflag.
- Zone mapflags for renewal instances are moved into renewal folder.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
Fixes #1293. Attaches [Yggdrasil Gatekeeper] NPC to make him capable of read instance variables.
|
|
folder).
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
instance variables.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
|
|
function
|
|
Change variable type on the sign quest
|
|
Update Global Function - Remove F_SexMes
|
|
credit rathena/rathena@800f22b77bb63c2305d05956de8fbe5db0327ded
|