662 Commits

Author SHA1 Message Date
Playtester
38228062e2 * Fixed the awfully coded Baseball Cap script
- please use CONSTANTS!
- please use RC_Nonboss and RC_Boss for "all mobs" instead of listing all the races!
- please don't stack RC_Nonboss with RC_(some race)!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-14 17:46:04 +00:00
Playtester
179ee8b849 Correct implementation of Detale & Abyss/Thanatos spawn update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-13 20:05:19 +00:00
Playtester
36480324dc Fixed the names of the Lotto items
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-13 18:43:46 +00:00
Playtester
e20b719299 Garm Claw now has 152 Attack Power rather than 115
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-13 08:44:15 +00:00
skotlex
0158ab793e - Fixed npc_checknear's distance check returning the opposite of what it should (false when the range is correct and viceversa)
- SL_STIN/SL_STUN have dex-reducable casting times now.
- Added a warning on item loading when an item is of equippable type but has no equippable position.
- Turning an alliance to an opposition won't work now during WoE
- Slaves can summon other mobs now. The only ones who can't do this are player summoned mobs.
- Merged the following functions for faster processing of items:
  clif_storageitemlist + clif_storageequiplist = clif_storagelist
  clif_guildstorageitemlist + clif_guildstorageequiplist = clif_guildstoragelist
  clif_itemlist + clif_equiplist = clif_inventorylist
- Increased max knockback value support to 25.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-12 21:14:28 +00:00
Vicious
ec14525181 Rachel/Ice Dungeon temp-ness.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-12 14:44:31 +00:00
MasterOfMuppets
5a9a1411ae Fixed the mode of monemus.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-12 14:21:49 +00:00
Playtester
7c2ed6cb63 * Commented some unused mobs in the mob_db
* Goggles are worth 10k now

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-11 18:24:38 +00:00
Playtester
d30ce6eb23 Slotted Crown and Tiara only have +1 int
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-10 20:33:31 +00:00
Playtester
94dd77de2f Added the new cards to the drops
-probably needs some testing

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-10 17:41:31 +00:00
Playtester
026b38745d Implemented Electric Wire
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-08 22:48:54 +00:00
Playtester
936830ab46 Stormy Knight card now freezes when attack rather then when hit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7029 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-07 13:12:53 +00:00
Playtester
31e5d08931 * Fixed Owl Duke not having boss mode
* Fixed Osiris's slaves

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 19:03:33 +00:00
Playtester
f7d4f1ec4c Hopefully fixed all the Unbreakable bonuses
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 18:20:13 +00:00
Playtester
cdaca25d83 Fixed Valkyrie skills and Magnum Break of all mobs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 17:56:21 +00:00
Playtester
916d0098f8 Sunflower Hairpin now can't be refined anymore
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7006 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-06 16:49:55 +00:00
MasterOfMuppets
4a337cdd2f Added some sign quest related item restrictions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 23:58:06 +00:00
MasterOfMuppets
f4d62aa1fa Fixed the item bonus of baseball cap.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 22:23:56 +00:00
MasterOfMuppets
a9199062f7 A typo fix, thanks to DracoRPG.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6977 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-05 12:18:46 +00:00
Playtester
c924c9b2da Fixed Archdam Card
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-03 22:40:37 +00:00
Playtester
7eecc6fd72 Fixed Skeggiold's drops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-03 21:19:26 +00:00
Playtester
9cefa0b019 * Fixed MVP Jupitel to do 30 Hits
* Fixed some typos and warps in Einbech

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6961 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-03 20:47:49 +00:00
MasterOfMuppets
f4348ee1f4 Updated offensive use of Sanctuary to function like on the official servers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6946 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 19:46:54 +00:00
MasterOfMuppets
9acadb7b13 Removed the walk delay from firewall and changed its knockback to 1 tile to make it act more like in the official servers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6941 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 18:14:28 +00:00
Playtester
10878c9ee5 Removed the job bonuses of High Novice and Baby Novice
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 16:48:01 +00:00
skotlex
cb8cc2d8a7 - Moved setting a mob's level from mob_spawn to status_calc_mob, resetting their level on death has also been removed (as it is handled now on spawn)
- Fixed a bug in status_revive
- Updated Holy Cross, Investigate and Finger Offensive to be usable by all weapons.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 16:27:21 +00:00
Playtester
9153b86059 Gave several MVPs their MVP skill versions
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6937 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 16:06:57 +00:00
skotlex
3fd0a5fecc - Made Grandcross usable with all weapons.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6935 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 15:45:20 +00:00
Playtester
dc3188152e Added Can Attack to various G_mobs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 14:58:09 +00:00
Playtester
a0a2078cd6 * Removed the Novice Job bonuses again
- http://www.eathena.ws/board/index.php?showtopic=93893
* Small adjustments of the Orc Lord and Valkyrie Randgris drops

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-02 14:18:24 +00:00
Poki#3
b171a0b597 * Readded Novice Job bonusses [Poki#3]
- Just why where they removed? http://guide.ragnarok.co.kr/JobNovicestatus.asp still lists them...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 21:13:32 +00:00
Playtester
94069beced Fixed mode of G_Whisper_Boss
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 19:31:59 +00:00
Playtester
4d5b7c1834 Only fixed some descriptions in create_arrow_db.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-01 18:30:58 +00:00
Playtester
53587352da Fixed mode of Rafflesia and reduced Chung E spawn in Louyang to 1
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6898 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 20:38:51 +00:00
Playtester
c63a113ff8 Fixed Arrow Crafting, now using the official X.2 values
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 19:52:00 +00:00
Playtester
80dcbfcd7e Updated item_db according to info provided by Haplo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 19:16:24 +00:00
MasterOfMuppets
a1b68c9071 Changed the range of Rotar Zairo to 7, as it should be.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-31 10:53:24 +00:00
MasterOfMuppets
82671670bc Fixed the mode of Monemus to prevent it from getting knocked back.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30 22:14:23 +00:00
MasterOfMuppets
5a3ddec53d Updated the modes of Gremlin and Beholder according to iRO.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6862 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30 21:30:16 +00:00
skotlex
ba6216e43e - Rewrote/cleaned up @petfriendly.
- Cleaned up final part of status_calc_pc (flags 2/4 do not exist)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30 18:56:49 +00:00
Lance
b192d414c5 [Fixed]
- Missing ';' in item #4358 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30 07:41:10 +00:00
Lance
26185554a1 [Fixed]
- Missing maps in map index database.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30 07:37:42 +00:00
Vicious
0e42a69087 slot update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6834 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30 06:33:01 +00:00
Vicious
237e0ee722 5/30 item update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-30 06:19:35 +00:00
skotlex
1adeac2c7a - Updated ASC_BREAKER's range to 9.
- Removed speed penalty from SC_SKA
- Fixed SC_SPURT triggering on Soul Linkers.
- SC_DODGE won't be dispelled on death now.
- Removed Undead being inmune to poison status.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6823 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29 16:36:17 +00:00
MasterOfMuppets
e89dfda110 Fixed Green Ale's effect, thanks to NLZ.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-29 15:11:28 +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
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
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