Age | Commit message (Collapse) | Author | Files | Lines |
|
- 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>
|
|
Follow-up to 5020a123570a7b263f6b742df5891a36434473a0
Signed-off-by: Haru <haru@dotalux.com>
|
|
Closes #1067 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>
|
|
Closes #974 as merged
|
|
Monster Transform Update:
|
|
Spear Stab damage adjustment
|
|
|
|
|
|
|
|
Fix *getitem2 and @item2 refine bug.
|
|
- 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>
|
|
- Negative refine value isn't allowed.
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Set the skillratio to 20*skill_lv as mentioned in skill describtions.
|
|
|
|
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>
|
|
Sniper)
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- MOBID_ constant names now follow the Mob DB spritenames.
- The following names were changed:
* MOBID_EMPERIUM => MOBID_EMPELIUM
* MOBID_TREAS01 => MOBID_TREASURE_BOX1
* MOBID_TREAS40 => MOBID_TREASURE_BOX40
* MOBID_BARRICADE1 => MOBID_BARRICADE
* MOBID_BARRICADE2 => MOBID_BARRICADE_
* MOBID_GUARIDAN_STONE1 => MOBID_S_EMPEL_1
* MOBID_GUARIDAN_STONE2 => MOBID_S_EMPEL_2
* MOBID_FOOD_STOR => MOBID_OBJ_A
* MOBID_BLUE_CRYST => MOBID_OBJ_A2
* MOBID_PINK_CRYST => MOBID_OBJ_B2
* MOBID_TREAS41 => MOBID_TREASURE_BOX41
* MOBID_TREAS49 => MOBID_TREASURE_BOX49
- Added several missing items
Signed-off-by: Haru <haru@dotalux.com>
|
|
Useful for scripts that temporary adjust the group id of players.
|
|
- this is unofficial behavior, so it has to be in battle config
Related to #579
Closes #882 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
Added Costume/Shadow Atk/Def refine bonus setting
|
|
ItemDB Updates
|
|
https://github.com/Jedzkie/Hercules/commit/3f13598714f2d6cecb1c1e5c382592a904798624, thanks to dastgir.
|
|
Closes #868 as merged
|
|
|