summaryrefslogtreecommitdiff
path: root/src/map/pet.c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-03Merge pull request #2693 from Kenpachi2k13/pet_ai_fixHaru1-3/+13
Fix conditions for calling pet_ai_sub_hard()
2020-04-14Apply code style to pet_ai_sub_foreachclient()Kenpachi Developer1-2/+12
2020-04-14Adjust conditions for calling pet_ai_sub_hard()Kenpachi Developer1-1/+1
2020-04-11Fix usage of *= operatorKenpachi Developer1-2/+2
2020-04-05Initialize pd->pet_hungry_timer to INVALID_TIMERKenpachi Developer1-0/+2
2020-04-05Remove (pd->petDB != NULL) check from pet_data_init()Kenpachi Developer1-9/+7
2020-04-05Implement usage of pet_catch_rate_official_formula battle flagKenpachi Developer1-1/+11
2020-04-05Apply code style to pet_read_db_sub_intimacy() functionKenpachi Developer1-7/+15
2020-04-05Apply code style to pet_read_db_sub() functionKenpachi Developer1-46/+63
2020-04-05Apply code style to pet_skill_bonus_timer() functionKenpachi Developer1-20/+29
2020-04-05Apply code style to pet_ai_sub_hard() functionKenpachi Developer1-64/+75
2020-04-05Apply code style to pet_food() functionKenpachi Developer1-10/+19
2020-04-05Apply code style to pet_menu() functionKenpachi Developer1-27/+37
2020-04-05Apply code style to pet_catch_process2() functionKenpachi Developer1-31/+30
2020-04-05Apply code style to pet_data_init() functionKenpachi Developer1-27/+32
2020-04-05Apply code style to pet_performance() functionKenpachi Developer1-6/+16
2020-04-05Apply code style to pet_hungry() functionKenpachi Developer1-27/+30
2020-04-05Apply code style to pet_target_check() functionKenpachi Developer1-32/+23
2020-04-05Apply code style to pet_create_egg() functionKenpachi Developer1-9/+22
2020-04-05Apply code style to pet_set_intimate() functionKenpachi Developer1-9/+17
2020-04-05Apply code style to pet_hungry_val() functionKenpachi Developer1-4/+12
2020-04-05Add pet_set_hunger() functionKenpachi Developer1-6/+18
2020-04-05Remove pet_equip_min_friendly config settingKenpachi Developer1-5/+1
2020-04-05Add new field Intimacy.StarvingDecrement to pet DBKenpachi Developer1-1/+8
2020-04-05Add new field Intimacy.StarvingDelay to pet DBKenpachi Developer1-4/+11
2020-04-05Add new field HungerDecrement to pet DBKenpachi Developer1-1/+7
2020-04-05Add default values and limits to pet DB fieldsKenpachi Developer1-21/+31
2020-04-05Change EggItem field in pet DB to be mandatoryKenpachi Developer1-8/+12
2020-04-05Remove SpriteName field from pet DBKenpachi Developer1-6/+1
Since it was never used for anything, the SpriteName field is removed from the pet DB. Internally it's kept and set to the sprite name corresponding to the defined monster ID, to not break plug-ins which may use it.
2020-04-05Add ID validation to pet_read_db_sub() functionKenpachi Developer1-0/+6
2020-04-05Add a base rate validation to pet_target_check() functionKenpachi Developer1-0/+3
2020-04-05Add a HungerDelay validation to pet_hungry() functionKenpachi Developer1-0/+11
2020-04-05Add pet_hungry_timer only if a pet's HungerDelay is greater than 0Kenpachi Developer1-8/+5
2020-04-05Adjust pet intimacy calculation when feedingKenpachi Developer1-15/+18
Adjusted the hunger level depending intimacy calculation when feeding the pet, to be closer to offical behaviour. (Thanks to @hemagx again.)
2020-04-05Adjust pet catch rate calculationKenpachi Developer1-1/+1
Thanks to @hemagx.
2020-04-05Add value capping to pet_set_intimate() functionKenpachi Developer1-10/+4
2020-04-05Add enum for pet intimacy levels and use its constantsKenpachi Developer1-13/+13
2020-04-05Add enum for pet hunger levels and use its constantsKenpachi Developer1-14/+14
2020-03-08Change the name of all functions which got their return-value meaning changedskyleo1-2/+2
2020-03-08Change returning error-code in unit->walktoxy to obey code-style guidelinesskyleo1-2/+3
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-07-30Fix missing file path in console.Emistry Haoyan1-1/+1
- show file path
2019-04-09Automatically migrate pets to the new system that keeps hatched eggs in the ↵Ibrahim Zidan1-0/+15
inventory - The pet evolution update caused all already hatched eggs to get lost cause the previous system would actually remove the egg unlike the new one, this code will ensure the return of it.
2019-04-07Rename clif_charnameack into clif_blname_ackAndrei Karas1-1/+1
2019-03-31fix pet autofeed featureAnnieRuru1-1/+1
2019-02-11Change type for class variables from short to intAndrei Karas1-3/+3
2018-12-14Add inventory size field into db and using it in server.Andrei Karas1-7/+7
2018-09-19Update inventory packet for 2018-09-12 RE.Andrei Karas1-1/+1
2018-07-28Merge pull request #2067 from dastgirp/1-achievementHaru1-2/+5
Implemented Achievement System and Title System
2018-07-24Implementation of the official Achievement System.smokexyz1-2/+5
Source: http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1 Script Commands - ``` achievement_progress(<ach_id>,<obj_idx>,<progress>,<incremental?>{,<char_id>}); ``` Includes an achievement_db.conf generator that reads from the item_db, mob_db (server side) and achievement_list.lub files to determine valid achievement entries based on item/monster availability. Achievements containing unsupported entries are commented out. This feature, although renewal-only in official servers, is capable of being used in pre-renewal mode on Hercules. Does not include the title system yet. A big thanks to - @MishimaHaruna for constantly reviewing. @4144 for all the support. @Asheraf for a lot of official information. Co-authored-by: "Dastgir" <dastgirp@gmail.com>