summaryrefslogtreecommitdiff
path: root/db
AgeCommit message (Collapse)AuthorFilesLines
2006-05-27- Added structure status_data which holds status-related information (str, ↵skotlex3-11/+30
agi, etc, speed, amotion, adelay, dmotion, weapon-damage, race, size, etc) and weapon_atk structure with the weapon specific info (atk, atk2, element) to be used by all combat structures (TODO: Homun needs to be updated to use it) - Cleaned up TBL_PC, TBL_MOB, TBL_PC and mob_db structures to use status_data. - Set the NPC-Change Attribute duration on Time1, updated their max to 1 in the db. - Berserk's HP cost interval is now defined as time2. - Split damage received functions into pc_damage/pc_dead and mob_damage/mob_dead - Rewrote the @heal related functions to use the new status_* healing functions. - Added status functions to deal with damage and healing (status_damage, status_heal, status_percent_change) and a bunch of defines for easier handling of them (status_percent_heal, status_percent_damage, status_fix_damage, status_kill, etc) - Splitted mob_once_spawn into two. mob_once_spawn_sub creates the mob instance without spawning it. - Added defines for Elements (ELE_*) - Modified battle_calc_(weapon/magic/misc)_attack to use the status data structure. - Rewrote and cleaned up battle_calc_misc_attack - Merged config options pc_attack_attr_none, mob_attack_attr_none, pet_attack_attr_none into attack_attr_none (type 4) - Removed config options player_defense_type, monster_defense_type, pet_defense_type in favor of weapon_defense_type - Cleaned up pet.c to stop invoking status_calc_pc when unnecessary - Modified skill_calc_heal to take into account the MEDITATION bonus. - Cleaned up code of Adjustment, Madness Cancel and other GS/NJ skills inside skill_check_condition - Added status change SC_MODECHANGE which handles mob state changes (this SC is continous until manually ended, eg: like Weight50) - Modified Slim Pitcher so it will work when casted by non-players. Will now also work with SP-healing items. - Rewrote Freedom of Cast code to use function status_freecast_switch to switch adelay/speed when cast begins/ends. - Modified Magic Power to store amplified MATK/MATK2 in val3/val4 for easier updating when used in conjunction with ground skills. - Fixed Asura Strike being usable from within a combo regardless of combo skill. - Modifed SC_DANCING to store speed-change in val3 (it is shared with skill duration...) - Added StatusChangeFlagTable to store which statuses are changed by each SC - Added SCB_* constants to specify the different stats that each sc changes. SCB_PC is the only one that means a change hardcoded in status_calc_pc, the rest are handled by status_calc_bl - Added some helper functions to simplify with basic status calculations (status_base_atk, status_calc_misc, status_base_pc_maxhp, status_base_pc_maxsp) - Added status_calc_mob which calculates initial status and special base status alterations (HP changes, stat changes due to big/small mobs, etc) - Made all the status_calc functions static. - Added status_calc_bl_sub_pc for PC related calculations that must happen after status-change adjustments. - Added status_calc_bl which does status-change related calculations using as base the base_status of the bl object and the SCB_* flag passed. - Added status_get_status_data and status_get_base_status to retrieve the bl objects current status_data and basic status_data (current never returns null, instead it returns a dummy structure with basic data) - The main switch in status_change_start now only sets the tick and val values, therefore it is skipped when loading (flag&4) - Cleaned up status_change_start and replaced many of the ex-japanese comments for english ones. - Changed Hiding to store the speed penalty on val3. val4 stores interval SP cost. - Changed Chase Walk to store Speed adjustment on val3, sp cost in val4 - Changed Cloaking to store speed penalty on val3, val4&2 signals wall-present, val4&1 is infinite cloaking. - Changed Wind walk to store speed bonus on val3 - Rewrote Marionette Control to store the status to add/substract in val3/val4, it now works on anyone (players/mobs) - Changed Improve concentration to store Card bonuses (which are not counted for total % increase) on val3/val4 - Changed SC_ADRENALINE, SC_CONCENTRATION, SC_ANGELUS, SC_IMPOSITIO, SC_MELTDOWN, SC_TRUESIGHT, SC_SUN_COMFORT, SC_MOON_COMFORT, SC_STAR_COMFORT, SC_QUAGMIRE, SC_GATLINGFEVER to store the bonus modifiers in their val values rather than calculate them in status_calc_* - Status_change_start/end will use clif_status_load rather than clif_status_change when related bl is not on a map. - Modified status_change_timer to use the status_charge function rather than directly substracting SP - Added SC_ELEMENTALCHANGE to modify someone's base defense element. - pc_clean_skilltree will now also remove item-granted skills. - Learning skills will now only invoke status_calc_pc when the skill is passive. - Cleaned up pc_steal_coin - Cleaned up pc_check_base/job_lvup to only invoke the lv-up related packets and functions ONCE regardless of skill-levls earned. - Cleaned up pc_ regen related functions. - Made player-sprite mobs have item pickup animation and walkdelay when taking items. - Cleaned up mob_dead code. - Removed paramb, parame from struct map_session_data, replaced them by param_bonus[6],param_equip[6] - mob special ai state 3 signals summon flora. - Moved petDB pet_hungry_timer vars from TBL_PC to TBL_PET - Cleaned up some pet functions, made the menu functions receive as argument both pet and master. - Clones will copy a player's base status rather than battle status (so status-change alterations are not cloned) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6791 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-27Added Red Chile drop to Kraben & small aMotion fixPlaytester2-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6788 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-27Temporary fix for Rebirth skillPlaytester1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-27Modified Kiel Lab spawns and changed Rebirth so it still works even with the ↵Playtester1-1/+1
dead skill not trigger bug git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6785 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26Uncommented Odin and Kiel spawn files, they are mostly safe to usePlaytester1-2/+2
- you still can't access Kiel's place, though git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26Added missing Odin drops (guessed)Playtester2-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26* Patches to allow everything to work right. + 1 more sample script.Lance3-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26Updated Kiel and added Odin mob dropsPlaytester2-12/+15
- low drop rates as long as not known - still missing Makeup Kit, Angel Hairband and not sure which Survivor's Rod git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26Added a few more events in..Lance1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26* Mob control engine tested 99% working so far.Lance1-0/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26fixed jeweled boxLupus2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26Fixed Thanatos Tower spawns + small fix to mob dbPlaytester1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25Modified some drops and added drops to Dragon Egg and Ferus.Playtester2-7/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25Updated the Exp of some mobs accordings to the last kRO patchPlaytester2-14/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25added noVending mapflag. Tested. + custom Market Place NPC, fixed MSG stringsLupus1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25More fixes on MVP exp and changed some mob modesPlaytester2-89/+90
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6754 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25Fixed Sidewinder card to raise the chance of Double Attack if you have ↵Playtester2-1/+2
mastered it git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25MVP Exp is now 1/2 of the Base Exp as pointed out by TharisPlaytester2-43/+46
- Removed MVP drops of Hydro and Event Kiel as they are supposely no MVPs - Need to figure out how ExpPer works... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24Added cooking drops to the mob_dbPlaytester2-43/+44
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6739 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24Final Aegis X.2 updatePlaytester3-266/+1089
- added mob_db_a.txt in case someone wants to use 100% official X.2 drop rates - now starting to add after-X.2 drops git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24- Corrected item script for dead branch and poring boxskotlex1-2/+2
- Removed that npc-warp warning as requested by Playtester. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-24- Merged item_db.sql from stable :Bskotlex1-2/+2
- Added a missing line (how did it get lost?) in mob_spawn to set aggressive state for angry mobs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6731 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23Amon Ra now uses Meteor Storm on self until we find out how it really worksPlaytester2-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21Incantation Samurai Card now ignores def of all non-boss racesPlaytester2-1/+4
- should include players now git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6678 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19Major fix to the mob_skill_dbPlaytester2-57/+60
- traps are now placed around2 rather than self - all idle skills should work now git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6662 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19More fixes on Amon RaPlaytester4-11/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19Fixed Bascojin's mob summoningPlaytester2-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19Fixed some sprite names of mobsPlaytester2-6/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19Fixed item names of new itemsPlaytester2-12/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18Amon Ra's and Dark Lord's Fire Pillar & Meteor Storm now have Level 11 ↵Playtester2-7/+8
rather than 30 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18Fixed MVP Fire Pillar --> 12 hits, 5x5 rangePlaytester2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18- Added 5 config settings to adjust damage in pk-mode servers (misc.conf)skotlex2-1/+2
- Corrected LoV's effect range for levels 11+ to range 8. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18new itemsLupus2-7/+27
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16More Aegis X.2 drop updatesPlaytester2-20/+23
- progress 50% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6623 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16- Fire Pillar will now do 200%MATK damage per hit when level is >10.skotlex1-1/+1
- Blood Drain always hits now. - Fixed Mob Area Skills not updating their use-time (rendering their skill delay useless) - Search free cell will now skip picking the center-tile as target location. Will prevent slaves from walking on top of their master, or mobs placing stuff right under themselves with the "around" target conditions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16Just a small fix(G_Khalitzburg speed 200 -> 175)Playtester1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15Just a minor fix to Amon Ra...Playtester1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15More Amon Ra related changesPlaytester4-9/+13
- Dark Blessing and Blood Sucker now have a range of 9 tiles - Small fixes on his skills again - G_Khalitzburg is a bit slower now Changes to skill.conf: -mobs now can stack ground skills by default -mobs can place unlimited ground skills -format for land_skill_limit changed git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15* Fixed implementation of MVP Meteor StormPlaytester4-5/+10
- Dark Lord and Amon Ra use it - Meteors drop in an area of 31x31 tiles - each Meteor has 7x7 tiles splash damage - each Meteor does 15 hits git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Soul Drain will now show the SP drained regardless of drain display settings.skotlex2-15/+16
- SC_COMBO state will now end in skill_attack rather than skill_check_condition (as it is required there to apply damage bonuses based on combo-casted skills) - Spirit skills now have 500ms delay. - KA skills can now be casted on other Soul Linkers as well without the Spirit requirement. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6607 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15Changed speed of G_Khalitzburg (very fast now)Playtester2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Fixed Option_Wedding in const.txt (0x1000 won't work, it has to be 4096)skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6604 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15Small skill fix on Amon Ra...Playtester1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6603 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15More fixed on Amon Ra, it works quite well now, mostly code fixes are needed...Playtester2-7/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14More drop updates...Playtester2-14/+15
- Progress 45% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6588 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14More Aegis X.2 drop updatesPlaytester2-16/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14Additional Skeggiold Fix...Playtester1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14Hopefully fixed Skeggiolds summoning endless slavesPlaytester2-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6583 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14Added a hopefully better implementation of Amon Ra thanks to TharisPlaytester3-28/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14Uncommented Summon skill of Katrinn and ShecilPlaytester2-4/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6580 54d463be-8e91-2dee-dedb-b68131a5f0ec