summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2016-09-03Add some missing functions in skill.c into interface.Andrei Karas1-6/+9
2016-08-14Update pc_steal_coin parameterEmistry1-1/+1
Added skill_lv as parameter to *pc_steal_coin() Closes #1395 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-07-19Add skill atributes for allow moving while casting skill.Andrei Karas1-3/+14
New SkillInfo attributes: FreeCastReduced - allow move while casting with slowdown FreeCastNormal - allow move while casting with normal speed
2016-07-17Removed Leftover of skill_db.txtDastgir1-7/+0
2016-07-14Changed mmo_charstatus::base_level and mmo_charstatus::job_level to intHaru1-2/+2
Fixes several -Wsign-compare issues Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Add into skill.c some handling for unknown skills/skill units.Andrei Karas1-42/+58
Also improve a bit cast end functions call.
2016-07-12Interface random.chemagx1-2/+2
2016-07-12Fix reading skill_db.confAndrei Karas1-27/+34
2016-07-09Merge pull request #1333 from Smokexyz/SkillDBLibHaru1-231/+1297
Skill DB TXT files to LibConfig + converter
2016-07-09SkillDB TXT to Libconfig + converterSmokexyz1-231/+1297
The conversion of 5 skill database files - skill_require_db.txt skill_unit_db.txt skill_cast_db.txt skill_castnodex_db.txt and skill_db.txt to Libconfig file skill_db.conf a PHP CLI converter is included to read from the above mentioned files and create a skill_db.conf in the same directory.
2016-07-05Move static methods into interface in skill.cAndrei Karas1-27/+32
2016-07-02Trivialities: indentation fixesHaru1-18/+18
Signed-off-by: Haru <haru@dotalux.com>
2016-07-01Merge pull request #1328 from HerculesWS/exp_fixesHaru1-2/+2
Fix EXP modifiers to match aegis modifiers calclution.
2016-06-30Use item attribute as flags varible. Now only ATTR_BROKEN flag exists.Andrei Karas1-4/+5
2016-06-29Fix EXP modifiers to match aegis modifiers calclution.hemagx1-2/+2
- Now Renewal Level Penalty being calculated in pc_calcexp only - Now Guild Tax is being paid after experience modifiers and not before - Now Experience modifiers being calculated in right way as in aegis (Race modifiers -> PK modifiers -> Premium modifiers -> Buff modifiers)
2016-05-08Fixed various issues pointed out by cppcheckHaru1-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2016-04-29Fix issues found by new warnings.Andrei Karas1-1/+1
2016-04-23Changed map_session_data::chatID to int (and renamed to chat_id)Haru1-3/+4
- Chat IDs are signed integers. - Resolves various warnings, depending on the compiler settings. Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Dropped typedefs from union DBKey and struct DBDataHaru1-1/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-03-19status_get_name returns NULL instead of Unknown, Changed all functions to ↵Dastgir1-4/+4
use clif_get_bl_name
2016-03-11Merge pull request #1192 from 4144/extendlogHaru1-6/+6
Add new logging types.
2016-03-10Add new logging types.Andrei Karas1-6/+6
2016-03-06Fixes #1114Jedzkie1-3/+2
2016-02-28Changed mob mode field to 32 bit, for future expansionHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-02-28Added NoKnockback Mode for monstersDastgir1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-02-27Replaced various '-1' with the correct constantHaru1-21/+21
INFINITE_DURATION, INVALID_TIMER, SC_NONE, INDEX_NOT_FOUND, depending on context. Signed-off-by: Haru <haru@dotalux.com>
2016-02-24Edited skill->changematerial() and skill->elementalanalysis() to use the new ↵Haru1-14/+21
struct itemlist - The skill-side code no longer depends on the client packet data layout. - Some data validation has been added. Signed-off-by: Haru <haru@dotalux.com>
2016-02-19Fix all known warnings from compiler flags -Wformat*Andrei Karas1-4/+4
Add all missing -Wformat flags into configure.
2016-02-05Merge pull request #1087 from csnv/songsDastgir1-17/+62
Revamped Aegis style songs behavior. Fixes #835
2016-01-14Apple of idun re-adjustment. Thanks @KyemeJorge C1-33/+16
2016-01-13Added support to mark constants in db/constants.conf as deprecatedHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-01-12Whitespace cleanup (removed alignment tabs or trailing whitespace at line end)Haru1-3/+3
Signed-off-by: Haru <haru@dotalux.com>
2016-01-10Revamped Aegis style songs behavior. Fixes #835Jorge C1-13/+75
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!
2016-01-09Added support for MC_CARTDECORATE skill.Jedzkie1-1/+8
*This skill is supported only by 2015-08-05aRagexeRE clients onwards.* Closes #1025 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-08Fixed a mapserver crash (too small allocation)Haru1-1/+1
- Follow-up to e3eac134b1607cfe78331e298aaa20b260662571 - Fixes #1074 Signed-off-by: Haru <haru@dotalux.com>
2016-01-08Cleaned up the pilebunker item checkHaru1-6/+4
- 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>
2016-01-07Skill Update:Jedzkie1-3/+7
- According to this kRO's Patch Note: https://rathena.org/board/topic/101392-4082015-maintenance/ • Mechanic's Pile Bunker added 3 new weapons.
2016-01-06Replaced the remaining explicit casts with BL_CAST/BL_UCASTHaru1-46/+55
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCASTHaru1-58/+66
- Replaced safe casts (bl type already checked) Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some map->id2sd calls with the proper map->id2XX functionHaru1-7/+13
- Also added new map->id2XX convenience functions for the other bl types. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCAST/BL_UCCASTHaru1-110/+177
- Replaced casts in foreach callbacks. - Added assertions and nullpo checks where applicable. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCAST/BL_UCCASTHaru1-1/+1
- Replaced the map-iterator related casts. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_NPC to struct npc_data as per style guidelineshemagx1-2/+3
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PET to struct pet_data as per style guidelineshemagx1-8/+10
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_SKILL to struct skill_data as per style guidelineshemagx1-5/+5
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_MER to struct mercenary_data as per style guidelineshemagx1-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_HOM to struct homun_data as per style guidelineshemagx1-5/+5
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_MOB to struct mob_data as per strly guidelineshemagx1-8/+9
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PC to struct map_session_data as per style guidelineshemagx1-32/+33
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Revert the changes in scope. thanks @dastgir.Jedzkie1-1/+2