Age | Commit message (Collapse) | Author | Files | Lines |
|
This fixes several rounding errors happening in various places (i.e.
the base exp for HORONG being calculated as 819 instead of 820 when the
server rates are set to 1x)
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Separated load and validation logic.
- The load/validation functions now return the loaded mob ID
Signed-off-by: Haru <haru@dotalux.com>
|
|
- To be used by the constdb2doc plugin
Signed-off-by: Haru <haru@dotalux.com>
|
|
Now packet id will be passed to Hercules Plugin Manager instead of let it figure it on itself
|
|
|
|
|
|
to the status of the source.
Blame goes to 6f264513.
|
|
|
|
source of damage.
This cleans up the various badly-named duplicates that have accumulated in local scopes over time.
The unusual name, s_sd (with underscore), was chosen to prevent interaction with any existing custom code.
|
|
Fixes monsters not taking rude attack when OFFICIAL_WALKPATH is used.
|
|
|
|
Added OneClickIdentify packet
|
|
|
|
|
|
|
|
|
|
Fixes speed given by cloaking exceed
|
|
|
|
custom permissions are added.
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- This is necessary for upcoming improvements
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
implementation
As per ultramage's suggestion in #926
Signed-off-by: Haru <haru@dotalux.com>
|
|
Follow-up to a0f25125a6239894a86d51ae8dcf6a06a4d0a380
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Now it will automatically update with new values (according to the
current song properties) when the status change is about to finish.
Thanks Kyeme for the necessary proofs and reminders!
|
|
- Fixes a warning when including map.h and not using those functions,
depending on the compiler verbosity
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Functions should always specify their arguments, even if they take
none. In C, not specifying arguments is different than specifying
(void).
Signed-off-by: Haru <haru@dotalux.com>
|
|
*This skill is supported only by 2015-08-05aRagexeRE clients onwards.*
Closes #1025 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Cloaking Exceed speed must 140%, not 200+%.
|
|
- PR_MAGNIFICAT HP Regeneration applies only in PRE-RENEWAL.
|
|
Rude attack was not checking for this setting.
|
|
- Follow-up to e3eac134b1607cfe78331e298aaa20b260662571
- Fixes #1074
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Follow-up to e3da170660e8c52ec5657c086057085ef20e382f
- Removed redundant checks for sd->equip_index[EQI_HAND_R] validity
- Added itemid_is_pilebunker macro
- Restored correct indentation of the return instruction
Signed-off-by: Haru <haru@dotalux.com>
|
|
- According to this kRO's Patch Note: https://rathena.org/board/topic/101392-4082015-maintenance/
• Mechanic's Pile Bunker added 3 new weapons.
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Replaced safe casts (bl type already checked)
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The macros were very specific to a small set of functions, they don't
belong to status.h.
- The macros have been edited to take two parameters instead of relying
on external variables.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Also added new map->id2XX convenience functions for the other bl
types.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Replaced casts in foreach callbacks.
- Added assertions and nullpo checks where applicable.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Replaced the map-iterator related casts.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The benefit of using BL_UCAST() instead of an explicit cast is that it
produces a compiler error if the argument is not a block_list.
- The benefit of using BL_UCAST() instead of BL_CAST() is that the
block_list argument is guaranteed to be evaluated only once. As such
it can be used in places where the argument is a function.
- No block_list type checking is done. As such, if a different
block_list type is passed, behavior is undefined. The user should do
the checking beforehand.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|