Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
Change the official message for NC_MAGICDECOY.
|
|
|
|
- extremely useful when writing algorithm functions
Closes #1012 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
Arrow Shower now has 3x3 AoE on level 1~5 and 5x5 AoE on level 6~10
Arrow Shower now has a fixed after cast delay of 500ms
Thanks to @Playtester
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Thanks to @Playtester.
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
|
|
Follow-up to 5020a123570a7b263f6b742df5891a36434473a0
Signed-off-by: Haru <haru@dotalux.com>
|
|
Closes #1067 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
This is kRO's mob name in prontera.
Closes #1064 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
- client can't handle value over 21474836
- SQL also can't save value over 16777215 due to mediumint unsigned
Closes #965 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
|
|
https://github.com/HerculesWS/Hercules/issues/1050
|
|
Closes #974 as merged
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Monster Transform Update:
|
|
Spear Stab damage adjustment
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Enchantment Stones Update:
|
|
|
|
|
|
|
|
|
|
Fix *getitem2 and @item2 refine bug.
|
|
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Skill tree fix
|
|
- Fixes an issue that prevented skills with more than 4 pre-requisites
or more than 3 pre-requisites and a minimum level from being parsed
correctly (and without any warning or error messages).
- Removes the limit on 5 pre-requisites (replaced a fixed size array
with a VECTOR)
- Reduces memory usage of skill_tree from 794kB to 440kB (32 bit) or
523kB (64 bit).
- Fixes an issue that prevented multiple inheritance from working
correctly in rare cases (incorrect definition order), without any
warning or error messages. Now a warning is displayed if a job is
inherited before being defined.
- Fixes an issue that prevented skills inherited from being correctly
merged with the skills defined for the current job.
- Prevents a job from inheriting itself by accident.
- Correctly detects skills defined twice for the same job.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
This reverts commit 6c4b4009038ba2de8d2d4239c8becdec94ec92d9.
This commit wasn't based on regular server data (it looks like a f2p
server)
|