2925 Commits

Author SHA1 Message Date
MasterOfMuppets
6ddc0020db Implemented a small quest in Einbroch and fixed the name of the spawning mobsters in Lighthalzen.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 19:37:15 +00:00
skotlex
f2cedb537e - Added functions status_revive, pc_revive and mob_revive to handle revival (it doesn't handles player respawning, though)
- Corrected alive, raisemap, raiseall to use these functions.
- Updated resurrection/mob-kaizel to use status_revive
- Added SC_BLADESTOP to the skill enum at the beginning of status.c (fixes Bladestop causing an unknown status change message)
- Fixed MSS_DEAD state skills not triggering.
- Corrected some compilation warnings on the merc.* files. 


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6807 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 17:58:56 +00:00
MasterOfMuppets
a3d351765f Changed undeads to by default always sustain 100% of the damage from firewalls.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6805 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 17:07:32 +00:00
MasterOfMuppets
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.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6804 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 17:05:19 +00:00
Playtester
fe12cfdd5b Readded some aDelay fixes which were accidentaly reverted
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6803 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 16:18:19 +00:00
Lance
f77f199488 - Reverted buildin_setd to use NULL as reference.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6802 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 14:11:01 +00:00
Lance
d9de89b463 [Fixed] script functions that doesn't pass references, thanks to End_of_exam.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 14:05:03 +00:00
MasterOfMuppets
d86077034d Bah, fixed..
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6800 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 12:52:19 +00:00
MasterOfMuppets
afcc753c69 Revert.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 12:51:08 +00:00
MasterOfMuppets
140c52ba99 Fixed a mistake causing an NPC to appear in bio labs 3 instead of Lighthalzen
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6798 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 11:54:32 +00:00
Lance
025d6e6a01 * [ Protected ] : clif_parse_LGMmessage from possible hacks
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 11:29:43 +00:00
evera
d1b8524fb8 DTS warper uses binary values; less variables.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6796 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 06:45:05 +00:00
skotlex
2466911af0 - Fixed unable to store n items into storage unless n was the total amount of items you had.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6794 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 05:29:01 +00:00
Lance
bb1b0409a1 - Suppressed compilation warnings (unsigned and signed mismatches)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-28 03:24:03 +00:00
skotlex
df08df8e5d - Addded missing include of limits.h to battle.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-27 19:10:21 +00:00
skotlex
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)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6791 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-27 18:08:30 +00:00
blackhole89
9cf042b0ee Fix possible compile mistakes in there. >_>
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6790 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-27 17:15:04 +00:00
MasterOfMuppets
80223f8a27 Implemented the friendship quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6789 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-27 11:45:47 +00:00
Playtester
3e96ba65b4 Added Red Chile drop to Kraben & small aMotion fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6788 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-27 09:52:55 +00:00
Playtester
542189737c Temporary fix for Rebirth skill
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-27 00:42:20 +00:00
Playtester
2652b07364 Modified Kiel Lab spawns and changed Rebirth so it still works even with the dead skill not trigger bug
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6785 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-27 00:07:15 +00:00
Lance
56a69db8bd And another possible crash
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 23:43:41 +00:00
Lance
4519951609 * Fixed crashing in mob.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 23:36:36 +00:00
Playtester
e96227c248 Uncommented Odin and Kiel spawn files, they are mostly safe to use
- you still can't access Kiel's place, though

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 22:48:31 +00:00
Playtester
6b483584c8 Added missing Odin drops (guessed)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 20:44:16 +00:00
Lance
2681e4127b * Patches to allow everything to work right. + 1 more sample script.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 18:54:07 +00:00
Playtester
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

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 16:13:15 +00:00
Lance
7e5a2c9c34 Added a few more events in..
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 11:58:13 +00:00
Lupus
2fcfdbdd46 updated desc
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 11:06:58 +00:00
Lance
1e01e1c404 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6773 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-05-26 10:18:06 +00:00
Lance
dffe836f3b git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6772 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-05-26 10:11:08 +00:00
Lance
b2b5a789a3 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6771 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-05-26 09:57:26 +00:00
Lance
8320520472 * Mob control engine tested 99% working so far.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 09:46:45 +00:00
Lance
e43f38bb0d * Change scripting engine's NPC scope vars to dot (.) style.
* Improved and (should be fully) fixed the mob control engine. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 07:21:48 +00:00
Lupus
11f49682aa fixed jeweled box
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 07:09:13 +00:00
Lance
63438cde12 * Fixed typos in char.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 06:11:35 +00:00
DracoRPG
d94ebfdd53 I'm still here!
Rewrote fame ranking lists

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 01:35:17 +00:00
Playtester
d6ecc8c5a0 Fixed Abyss Lake spawns
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 00:41:00 +00:00
Playtester
13904b651f Fixed Thanatos Tower spawns + small fix to mob db
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-26 00:13:18 +00:00
skotlex
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).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6760 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25 19:15:17 +00:00
Playtester
564a148eeb Modified some drops and added drops to Dragon Egg and Ferus.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6759 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25 18:04:29 +00:00
Playtester
f7d4d886c5 Updated the Exp of some mobs accordings to the last kRO patch
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25 16:40:33 +00:00
Lupus
d5dd578e57 added noVending mapflag. Tested. + custom Market Place NPC, fixed MSG strings
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25 16:26:17 +00:00
Playtester
1e745ca197 More fixes on MVP exp and changed some mob modes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6754 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25 16:00:47 +00:00
skotlex
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.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25 13:54:31 +00:00
Lance
453e3b3213 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6750 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-05-25 13:21:06 +00:00
Lance
c7535fdff4 * Fixed mob control commands.
* Fixed memory leak in scripts (again). Still have a few lying.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6749 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25 12:04:09 +00:00
Lupus
eb9892798b optimized warps scripts
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25 11:14:20 +00:00
Playtester
c8ccdb7c2a Fixed Sidewinder card to raise the chance of Double Attack if you have mastered it
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25 10:16:17 +00:00
Playtester
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...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-25 09:55:36 +00:00