Commit Graph

  • a3d351765f Changed undeads to by default always sustain 100% of the damage from firewalls. MasterOfMuppets 2006-05-28 17:07:32 +00:00
  • 695c50d514 Implemented the second entrance to biolabs and added some crap NPCs. The sewer pipe does no longer require a lab passport, but it requires completion of the cube quest. The second entrance to biolabs does not require completion of the cube quest, but it does require a lab passport. MasterOfMuppets 2006-05-28 17:05:19 +00:00
  • fe12cfdd5b Readded some aDelay fixes which were accidentaly reverted Playtester 2006-05-28 16:18:19 +00:00
  • f77f199488 - Reverted buildin_setd to use NULL as reference. Lance 2006-05-28 14:11:01 +00:00
  • d9de89b463 [Fixed] script functions that doesn't pass references, thanks to End_of_exam. Lance 2006-05-28 14:05:03 +00:00
  • d86077034d Bah, fixed.. MasterOfMuppets 2006-05-28 12:52:19 +00:00
  • afcc753c69 Revert. MasterOfMuppets 2006-05-28 12:51:08 +00:00
  • 140c52ba99 Fixed a mistake causing an NPC to appear in bio labs 3 instead of Lighthalzen MasterOfMuppets 2006-05-28 11:54:32 +00:00
  • 025d6e6a01 * [ Protected ] : clif_parse_LGMmessage from possible hacks Lance 2006-05-28 11:29:43 +00:00
  • d1b8524fb8 DTS warper uses binary values; less variables. evera 2006-05-28 06:45:05 +00:00
  • 2466911af0 - Fixed unable to store n items into storage unless n was the total amount of items you had. skotlex 2006-05-28 05:29:01 +00:00
  • bb1b0409a1 - Suppressed compilation warnings (unsigned and signed mismatches) Lance 2006-05-28 03:24:03 +00:00
  • df08df8e5d - Addded missing include of limits.h to battle.c skotlex 2006-05-27 19:10:21 +00:00
  • 856240443d - Added structure status_data which holds status-related information (str, 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) skotlex 2006-05-27 18:08:30 +00:00
  • 9cf042b0ee Fix possible compile mistakes in there. >_> blackhole89 2006-05-27 17:15:04 +00:00
  • 80223f8a27 Implemented the friendship quest. MasterOfMuppets 2006-05-27 11:45:47 +00:00
  • 3e96ba65b4 Added Red Chile drop to Kraben & small aMotion fix Playtester 2006-05-27 09:52:55 +00:00
  • 542189737c Temporary fix for Rebirth skill Playtester 2006-05-27 00:42:20 +00:00
  • 2652b07364 Modified Kiel Lab spawns and changed Rebirth so it still works even with the dead skill not trigger bug Playtester 2006-05-27 00:07:15 +00:00
  • 56a69db8bd And another possible crash Lance 2006-05-26 23:43:41 +00:00
  • 4519951609 * Fixed crashing in mob.c Lance 2006-05-26 23:36:36 +00:00
  • e96227c248 Uncommented Odin and Kiel spawn files, they are mostly safe to use - you still can't access Kiel's place, though Playtester 2006-05-26 22:48:31 +00:00
  • 6b483584c8 Added missing Odin drops (guessed) Playtester 2006-05-26 20:44:16 +00:00
  • 2681e4127b * Patches to allow everything to work right. + 1 more sample script. Lance 2006-05-26 18:54:07 +00:00
  • 2e8e53738f Updated Kiel and added Odin mob drops - low drop rates as long as not known - still missing Makeup Kit, Angel Hairband and not sure which Survivor's Rod Playtester 2006-05-26 16:13:15 +00:00
  • 7e5a2c9c34 Added a few more events in.. Lance 2006-05-26 11:58:13 +00:00
  • 2fcfdbdd46 updated desc Lupus 2006-05-26 11:06:58 +00:00
  • 1e01e1c404 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6773 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-05-26 10:18:06 +00:00
  • dffe836f3b git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6772 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-05-26 10:11:08 +00:00
  • b2b5a789a3 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6771 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-05-26 09:57:26 +00:00
  • 8320520472 * Mob control engine tested 99% working so far. Lance 2006-05-26 09:46:45 +00:00
  • e43f38bb0d * Change scripting engine's NPC scope vars to dot (.) style. * Improved and (should be fully) fixed the mob control engine. Lance 2006-05-26 07:21:48 +00:00
  • 11f49682aa fixed jeweled box Lupus 2006-05-26 07:09:13 +00:00
  • 63438cde12 * Fixed typos in char.c Lance 2006-05-26 06:11:35 +00:00
  • d94ebfdd53 I'm still here! Rewrote fame ranking lists DracoRPG 2006-05-26 01:35:17 +00:00
  • d6ecc8c5a0 Fixed Abyss Lake spawns Playtester 2006-05-26 00:41:00 +00:00
  • 13904b651f Fixed Thanatos Tower spawns + small fix to mob db Playtester 2006-05-26 00:13:18 +00:00
  • 7ff7ce4a39 - Simplified ASC_BREAKER by making it a BF_WEAPON attack with an additional int-based damage component (which is added right before elemental modifiers). skotlex 2006-05-25 19:15:17 +00:00
  • 564a148eeb Modified some drops and added drops to Dragon Egg and Ferus. Playtester 2006-05-25 18:04:29 +00:00
  • f7d4d886c5 Updated the Exp of some mobs accordings to the last kRO patch Playtester 2006-05-25 16:40:33 +00:00
  • d5dd578e57 added noVending mapflag. Tested. + custom Market Place NPC, fixed MSG strings Lupus 2006-05-25 16:26:17 +00:00
  • 1e745ca197 More fixes on MVP exp and changed some mob modes Playtester 2006-05-25 16:00:47 +00:00
  • 0840bc1c5a - Increased capacity for Account Variables to 64 - Reverted Intravision implementation to that of stable's. - Corrected Login Server taking it's first argument as both login config and lan config. skotlex 2006-05-25 13:54:31 +00:00
  • 453e3b3213 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6750 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-05-25 13:21:06 +00:00
  • c7535fdff4 * Fixed mob control commands. * Fixed memory leak in scripts (again). Still have a few lying. Lance 2006-05-25 12:04:09 +00:00
  • eb9892798b optimized warps scripts Lupus 2006-05-25 11:14:20 +00:00
  • c8ccdb7c2a Fixed Sidewinder card to raise the chance of Double Attack if you have mastered it Playtester 2006-05-25 10:16:17 +00:00
  • 40a72a53bd MVP Exp is now 1/2 of the Base Exp as pointed out by Tharis - Removed MVP drops of Hydro and Event Kiel as they are supposely no MVPs - Need to figure out how ExpPer works... Playtester 2006-05-25 09:55:36 +00:00
  • 6fed5cb476 * Whoops, forgot changelog ._. eaac 2006-05-25 01:02:40 +00:00
  • 5df56ea5bc * Fix to the slave AI problem, by Skotlex eaac 2006-05-25 00:42:49 +00:00
  • d3ecfa4e72 Removed Blue Potions from Yuno Shops Playtester 2006-05-24 21:57:29 +00:00
  • 3998eb7779 Added cooking drops to the mob_db Playtester 2006-05-24 21:53:19 +00:00
  • 4ca6de52d2 Final Aegis X.2 update - 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 Playtester 2006-05-24 20:04:22 +00:00
  • 2fe91c5e7d - Item sharing now shares the same rules as exp sharing (no sharing when dead, or idle, etc) skotlex 2006-05-24 19:15:27 +00:00
  • e6d15ee6a9 - Fixed summoned slaves being able to cast onspawn summon-skills (slaves aren't supposed to be able to call minions) skotlex 2006-05-24 18:45:25 +00:00
  • 8c547af427 - The clif_skill_poseffect packet will not be invoked in Snap unless the skill was successful. May fix the client-position lag. skotlex 2006-05-24 18:09:58 +00:00
  • 9eb0eab0a7 - Corrected item script for dead branch and poring box - Removed that npc-warp warning as requested by Playtester. skotlex 2006-05-24 17:29:58 +00:00
  • 1641349382 - Merged item_db.sql from stable :B - Added a missing line (how did it get lost?) in mob_spawn to set aggressive state for angry mobs. skotlex 2006-05-24 16:47:10 +00:00
  • 0cabc2525a Fixed the Thanatos Floor 12 warp - coordinates are just guessed - whoever does the quest should fix the warps there anyways Playtester 2006-05-24 16:27:46 +00:00
  • 9776045b22 - Corrected SL KA* spells not working on other Soul Linkers. skotlex 2006-05-24 14:45:30 +00:00
  • 6a7fd3930f - Corrected mob angry mode, now it only "restores" itself after being hit when the mob has no target within their range of sight rather than on picking a new target. - Corrected a pair of incorrect sql query parsing logic in the login-sql ban request packet. skotlex 2006-05-24 13:42:12 +00:00
  • 2ab10f916a Commented the custom Geffenia Fountain by default Playtester 2006-05-24 08:41:05 +00:00
  • 8fddaaddb8 Tested the Novice Exchange Quest by Dr.Evil and added it to the default NPCs Playtester 2006-05-24 08:31:18 +00:00
  • 28454d3044 Added Novice Exchange Quests provided by Dr.Evil, not tested yet Playtester 2006-05-23 23:13:27 +00:00
  • 3d73de5545 - Fixed wedding sprite staying active after unequip. Zido 2006-05-23 20:40:41 +00:00
  • 8b29b1574f - Some cleanup of run_script, should fix the memory leak there. skotlex 2006-05-23 18:16:25 +00:00
  • e67e4d983d Amon Ra now uses Meteor Storm on self until we find out how it really works Playtester 2006-05-23 15:58:53 +00:00
  • 0c8a59d012 - the charname request hack message has been downgraded to only include GM-invisible characters. - corrected clif_charnameack to send negative ID when a disguised player asks for it's own disguised name. - Cleaned up the disguised target-id checks taking into considering that the only character that sees a negative ID is the same disguised character. skotlex 2006-05-23 15:43:40 +00:00
  • ed8a9e9848 - Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce defense), Investigate and Icepick will now use the final def/vit-def values rather than the base ones. - The move-enable condition checks for skills are now checked for only when on skill use, not at cast-end time. skotlex 2006-05-23 15:08:37 +00:00
  • b842e93beb Fixed a bug in the new Job Master - he rebirthed you even if you haven't reached level 99 Playtester 2006-05-23 14:47:15 +00:00
  • bfae5bbeae Changed the questions of the Wizard Quiz to official ones Playtester 2006-05-23 14:19:09 +00:00
  • e7a25fdeac - Corrected clif parse name request failing on disguised characters. - Corrected Soul Drain draining from all non-ground-based skills including non-magic attacks. - Corrected pc_setoption to change the option and then change class. changing option-wedding will automatically convert the view-class as well. - Corrected the 15% drop rate increase when killing higher level mobs in pk-mode triggering for all mobs with lower level than yourself. Thanks to Vayu. skotlex 2006-05-23 13:51:42 +00:00
  • 81efffac73 * Fixed typo (this time it's not my fault) in script_reload() clearing the same db each time o_o Lance 2006-05-23 10:59:36 +00:00
  • 6dc8e549e4 Reloadscript cleanup Lance 2006-05-23 10:40:54 +00:00
  • c243406d9e Crash prevention Lance 2006-05-23 10:34:08 +00:00
  • 56005cb610 * Fixed sleep command. Lance 2006-05-23 09:54:27 +00:00
  • fa084e111c * Added 'setd' support for local NPC scope (') variables. Lance 2006-05-23 08:35:22 +00:00
  • 5120d7677c * [Scripting Engine Update] New variables are ready to be used. Lance 2006-05-23 08:22:53 +00:00
  • aaa3738ed9 Dunno what the hell the causing the errors when using '@variables, 'variables works fine.. something is messing up.... Lance 2006-05-23 08:01:40 +00:00
  • 1a06a9a6f4 - Updated skill_delayfix to return 0 for mobs since they have no skill delay other than the one specified in mob_skill_db skotlex 2006-05-22 19:56:26 +00:00
  • 8e1cd35c5a - Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to Vayu for pointing it out. skotlex 2006-05-22 17:33:58 +00:00
  • b59d433a35 - Fixed a pair of compilation logic errors. - status_get_sc_tick will now use directly Stun's formula rather than invoking the status sc chance once. skotlex 2006-05-22 15:58:49 +00:00
  • 98de35a4f7 - Fixed a possible null pointer in script command misc_effect - Modified Investigate to take into consideration final def/vit-def rather than base values for damage adjustment. - Added missing include unit.h in pet.c skotlex 2006-05-22 14:38:18 +00:00
  • 80fd709fbb - eAAC Update for Donation Girl [erKURITA] eaac 2006-05-22 13:07:47 +00:00
  • 4284e3352a git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6693 54d463be-8e91-2dee-dedb-b68131a5f0ec Lance 2006-05-22 12:40:05 +00:00
  • 0867d2e23e * Looks like I fixed all of the leaks.. need someone to check :P Lance 2006-05-22 12:39:47 +00:00
  • 2870364349 - Fixed some of the leaks.. still fixing.. Lance 2006-05-22 12:38:12 +00:00
  • a7e5993400 * WARNING: New scripting system contains memory leak TODO: Free all scripts using script_free_code() instead of old methods. Lance 2006-05-22 12:15:49 +00:00
  • afdee66062 Forgot to uncomment jobmaster from npc-loading list -.- Lance 2006-05-22 09:44:24 +00:00
  • 5dbe5de760 * Excluded idle and auto-trade party members from TK_POWER list. Lance 2006-05-22 09:40:18 +00:00
  • daaf8a0d13 * Global_Functions fix. Jobmaster fix. Lance 2006-05-22 09:07:50 +00:00
  • 6ae92d0a86 * Fixed compilation errors. * Tidy up jobmaster for easy debugging. Lance 2006-05-22 08:52:56 +00:00
  • 64a604f58e added thanks Lupus 2006-05-22 08:34:16 +00:00
  • 24beddd3ae SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name Lupus 2006-05-22 04:49:33 +00:00
  • 6a3fbf2605 * eAAC Update + Fix [erKURITA] eaac 2006-05-21 20:10:42 +00:00
  • 752cd268ef * Part A of the Homunculus code. This only features the structures, status_* and clif_* (packets) and is not functional yet in any conventional way, but doesn't interfere with present functionality either. I would only forget half of this stuff if I tried to do all at once. Expect the rest somewhen within the upcoming week. (This is not similar to jA's implementation.) blackhole89 2006-05-21 18:59:13 +00:00
  • 9e7055026e Bugfix wrong code block. Lance 2006-05-21 16:33:06 +00:00
  • 4908a915e7 Incorrect dates in changelog :( Lance 2006-05-21 13:37:55 +00:00
  • c23da643c3 Incantation Samurai Card now ignores def of all non-boss races - should include players now Playtester 2006-05-21 12:08:39 +00:00
  • c10e8877aa - Fixed the "fake" mute status bug Zido 2006-05-21 11:55:20 +00:00