summaryrefslogtreecommitdiff
path: root/src/map/pet.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-22Remove ancient FIXME comment related to deleting taming items of type ↵Kenpachi Developer1-2/+0
IT_DELAYCONSUME
2020-06-22Remove/move unnecessarily calling clif_send_petstatus()Kenpachi Developer1-1/+0
2020-06-22Centralize pet spawn code in pet_spawn() functionKenpachi Developer1-15/+37
2020-06-22Remove unnecessarily sending of pet's accessory dataKenpachi Developer1-3/+0
2020-06-22Send pet's hunger data only in pet_set_hunger()Kenpachi Developer1-2/+3
2020-06-22Send pet's intimacy data only in pet_set_intimate()Kenpachi Developer1-2/+2
2020-06-22Add check if pet belongs to character in pet_food()Kenpachi Developer1-0/+1
2020-06-22Add battle flag for immediately removing the pet when its intimacy drops to 0Kenpachi Developer1-2/+4
2020-06-22Remove pet if intimacy drops to 0Kenpachi Developer1-11/+11
2020-06-22Implement intimacy display in pet egg's item description windowKenpachi Developer1-3/+34
2020-06-22Update inventory in pet_return_egg() only if egg was foundKenpachi Developer1-1/+1
2020-05-27Save a pet's rename flag when returning it to its eggKenpachi Developer1-0/+1
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