2131 Commits

Author SHA1 Message Date
skotlex
81acdb7a46 - Fixed Venom Splasher doing half-damage instead of full-damage to the "exploding" character.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07 19:54:14 +00:00
skotlex
71b9605a0c - Removed the setting of blow-count to 0 when the target is a boss on the battle_calc_* functions, now skill_blown will fail when the source is different from the target and the target is a boss.
- Some parenthesis cleanup before invoking battle_calc_base_damage, could be fixing the current issue with arrow attacks not adding the arrow damage.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07 19:07:37 +00:00
skotlex
6daec0f2c0 - Cleaned some of mpeg's updated work.
- Fixed HT_BLITZBEAT hitting neutral characters when it auto-triggers.
- Simplified the Tatami Gaeshi code.
- Fixed AS_SPLASHER doing full damage on everyone except targetted char instead of the other way around.
- Fixed KAENSIN clearing out SUITON cells and viceversa.
- The spawn area is now seen as range rather than absolute for mob spawn lines. This means that x,y,10,10 will spawn the mob on a 21x21 grid around the given x,y point.
- Some clean up of the mob-spawn code. Now you can specify negative areas, so that a spawn location such as 100,150,0,-1 will spawn a mob always on x=100, but any Y value of the current map.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8165 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07 17:43:53 +00:00
skotlex
26a6620863 - Some code cleaning in status.c
- Reflected damage will now also have a chance of draining hp/sp.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8164 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07 16:53:10 +00:00
Vicious
6cb68e6f4a mpeg's ninja work
http://gpegon.free.fr/ea/ninja_08-07-06_mpeg.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8160 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07 15:12:05 +00:00
skotlex
8fa60b9249 - Adjusted Battle_check_target so that alchemist summoned mobs are targetted by everyone as long as 1. The top-level master is a player and 2. the actual attacker is not a mob-type.
- Added config force_random_spawn which overrides the spawn-files defined coordinates to make all mobs always spawn randomly on the map.
- SC_SPEEDUP0 is no longer dispellable by SA_DISPEL


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-07 14:38:23 +00:00
skotlex
5ef4f71588 - Removed settings enemy_critical_rate, homun_critical_rate. Added settings enable_critical (defaults to specify only players), mob_critical_rate and critical_rate. The last applies to all non-mobs and non-players (battle/battle.conf)
- Removed settings mob_npc_warp, mob_warpportal. Replaced with setting mob_warp which specifies which types of warp can a mob step into (battle/monster.conf)
- Updated status_calc_misc so that it also handles the BL_PC case, removed redundant info from status_calc_pc, and moving the SNovice Max Hp bonus to status_base_pc_maxhp


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8135 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04 19:30:15 +00:00
skotlex
c79270a22f - Some minor code cleanups.
- Cleaned up skill code for NJ_BAKUENRYU
- Unified splash-damage packet display for NJ_HUUMA and other splash skills (like Brandish spear)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8134 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04 18:20:02 +00:00
skotlex
f029f7bc6e - Hide/Chasewalk will again stop screaming skill name (I guess displaying the skill animation wasn't such a good idea afterall)
- Soul Breaker will no longer receive Mastery damage.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8126 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-04 13:43:44 +00:00
skotlex
b0d9f8bbd3 - Reverted the previous change, chasewalk has no icon, only the str-bonus has that fist icon now.
- Allowed chase-walk to display a skill animation when using it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03 21:19:46 +00:00
skotlex
5d9e6b4a71 - GAHH, I am sick tired of typing TBL_HOMUNCULUS/BL_HOMUNCULUS all over the place. The idea is that the TBL* versions are supposed to be easier to use than the standard structure definition, but using TBL_HOMUNCULUS as an alias to struct homun_data kinda beats the purpose! Renamed them all to TBL_HOM/BL_HOM.
- Fixed using the right-hand weapon's size modifiers regardless of which weapon was being used.
- Simplified the ignore-size check by making the Weapon Perfection check be done when specifying the flag, also moved the size-fix property of riding spear-knights to status_calc_pc.
- Removed variable hd from status_calc_bl as it's not needed.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8112 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03 19:45:12 +00:00
skotlex
5f6f6ff55e - Some adjustments so that the last-skill-used will be correctly cleared when your combo-time ends.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03 15:30:48 +00:00
DracoRPG
ac75d02b8a Cooking fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03 14:56:07 +00:00
skotlex
34eea8ae57 - Cleaned up the last NJ update code.
- Added @ command `charspeed`
- Fixed @jailfor using MAP_PRONTERA as jail instead of MAP_JAIL
- Removed case for GS_SPREADATTACK on damage packets to see if the skill displays correctly now.
- Corrected Deluge/Volcano/V. Gale overlaps so that the placing tiles are removed, NOT the ones who were already placed.
- Made SC_SPEEDUP0 and SC_SPEEDUP1 use different icon IDs, to fix icon-confusion when both are enabled at a time.
- Mob rude-attacked count is not reset now on picking a new char (gotta investigate this further)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03 14:39:38 +00:00
skotlex
f131a8bda7 - Moved Full Buster blind penalty to skill_counter_additional_effect
- Added a dummy blind duration of 10 secs to FullBuster.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-03 00:27:22 +00:00
skotlex
8961bc591d - Fixed failing to create Deadly Poison Bottles damaging 50% of your max life instead of 25%
- Added the missing status-change flags to SC_FREEZE to signal it should modify def and magic def


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8070 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 21:00:45 +00:00
toms
28a6fc49c1 Little add on NJ_HUUMA
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8069 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 20:32:43 +00:00
toms
20da0f1913 Merged Mpeg's work on Ninja skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8068 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 18:33:34 +00:00
skotlex
19a4f0b31a - Recoded the GuildAura code to use val3 & val4, allowing much greater stat bonuses (in case someone wants to get Guild Skill level 20 or something crazy like that)
- Fixed compilation error...


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8053 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 14:55:14 +00:00
skotlex
7a082b02a8 - Updated battle_check_target so that all alchemist summoned mobs can be target by everyone.
- Cleaned up skill_check_condition_mob_master_sub, it will now count both total number of summoned mobs and amount that belong to the same type.
- Corrected AM_CANNIBALIZE so it will fail if you already have plants of another type out.
- Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
- Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now Volcano/Deluge/V. Gale will get that funky icon instead.
- Changed clif_hominfo to receive both sd and hd as parameters
- Some redundancy cleaning in mercenary.c
- Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 14:27:17 +00:00
skotlex
6ef71063cb - Fixed NPC_SELFDESTRUCTION damaging yourself, causing the source to be knocked back, as well as making others in the splash damage not receive any damage if they are hurt after the caster.
- Fixed NPC_RUN not setting the mob's state to MSS_WALK (normally not set by the mob ai)
- unit_walktoxy flag&2 setting will now also ignore unit_can_move, for a forced walk. 
- Adjusted NPC_RUN level of Marine Spheres (5->7 cells)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8044 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 04:09:01 +00:00
skotlex
14b59636c7 - Made Deluge/volcano/v. gale be castable on top of each other again
- Modified unit_walktoxy and NPC_RUN to enable running even when the caster does not has the MD_CANMOVE bit on.
- PF_MINDBREAKER will now silently fail if you try to use it on someone who already has the status active.
- Cleaned up yet again skill_landprotector, now new cells of Deluge/Volcano/V.Gale will delete previous cells when they are recasted on top of each other.
- Summoned Marine Spheres no longer get the MD_CANMOVE bit.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 18:37:16 +00:00
skotlex
2d7b332124 - Should have fixed the cooking sets not displaying all cooking available items.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8036 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 16:08:43 +00:00
skotlex
cd50714a47 - Figured out and fixed the issue with Volcano/Deluge/Violent Gale not really working. Thanks to Mpeg for noting it out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 16:02:19 +00:00
skotlex
4550e45f33 - Modified Self Destruction, so that Marine Spheres in non-versus maps will hurt only enemies, while in all other situations this skill will hurt everyone around them.
- Expanded setting debuff_on_logout so that &1 removes negative buffs and &2 removes positive buffs.
- Food status boosts will no longer end on death, but they will end when you respawn or logout.
- Added battle config file status.conf, moved some settings from skill.conf and battle.conf to it since they are entirely Status-Change related.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 15:56:57 +00:00
skotlex
7f0c0e574c - Added the missing lines to enable script command "kickwaitingroomall"
- Magic Rod's can-act delay will no longer be applied when you absorb a spell.
- Fixed Don't Forget Me increase speed instead of decreasing it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 14:52:22 +00:00
skotlex
010bec3575 - Updated Poison React chance to counter and number of counters as per skill description updates.
- Fixed Sharpshooting being counted as a magic attack, and hence, using your MATK as base damage.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 01:54:20 +00:00
skotlex
cd1b6a71e9 - Fixed NPC_STOP id value in skill_cast_db
- Bladestop will no longer stop when you push either of the characters around.
- Fixed Enchant Poison having a near 100% chance of poisoning target on attack.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8015 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 00:32:54 +00:00
toms
5e47973166 Merged mpeg's fix on ninja skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 20:19:56 +00:00
skotlex
56580d56f0 - Removed incorrect "Waterball range+1 when standing on suiton" feature.
- Corrected the Speed update code to prevent sending "walk to xy" packets twice when the affected character is a player.
- Expanded mob can't move warning to print out where this mob was stuck at (map, x,y)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 14:26:04 +00:00
skotlex
2922c98e81 - NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill level, so that at level 1 they can attack, use skills and receive no walking penalty.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7989 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 02:50:17 +00:00
skotlex
8c1698e2e5 - Mob casted Sanctuary will no longer always heal it's targets regardless of element/race
- Status change packets will now use as criteria for sending the actual view_class instead of player/not-player. This will fix status-changes displaying improperly on clones, and also possible crashes with disguised players.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7984 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-30 20:43:57 +00:00
toms
d05578fe70 Merged mpeg's fix on ninja skills and SA_VOLCANO,SA_DELUGE,SA_VIOLENTGALE
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7983 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-30 19:32:53 +00:00
Vicious
f0d0180409 GS Skill updates/fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-30 15:48:12 +00:00
skotlex
b10a96995e - Made the SQL ping interval default to 7 hours.
- Memorize cast time now can't be reduced by status changes neither.
- Made skill_unitsetting remove the group when no unit-cells were placed down. basicly this means that if landprotector blocks all tiles, the group will be removed from memory, preventing said group from counting to the total number of skills you can set.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 17:39:36 +00:00
skotlex
1d577c9f75 - offensive heal/sanctuary will only happen when the source of the heal is a player, mob/pet casted heal will now always heal regardless of target.
- Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
- Removed pretty much every comment from skill.c as they were not even in ex-japanese, but they are now in butchered ex-japanese.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-29 02:55:10 +00:00
skotlex
4e0fca85cf - Some cleaning in the order of cases in castend damage id.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 20:28:59 +00:00
skotlex
40e5f13ec9 - Self destruction will now hit all characters in range, not just enemies.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 19:41:04 +00:00
skotlex
7cdbea9cf2 - Cleaned up the NJ update code.
- Restored code which was removed (stuff like SC_SKA)
- Fixed possible crashes on some NJ skills if used by non-players.
- Fixed most NJ magic spells doing more damage than they should.
- Fixed ZenyNage being able to do more damage than zeny you have.
- Cleaned up skill setting code for Suiton and Kaensin
- Ordered SC_* definitions in status.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 15:11:17 +00:00
skotlex
1d754d8cd8 - Some cleaning of battle_drain, Evil Druid card should work now.
- Made status_damage allow damaging of objects not on a map, this should fix pet-catching making the mob never respawn again.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7946 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 13:33:51 +00:00
toms
31a0d55fb9 Fixed : - "uninitialized local variable 'i' used" in skill.c
- "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7943 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 11:04:44 +00:00
toms
c7d47f2325 Fixed duplicate case value on NJ_SUITON
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7937 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 09:17:11 +00:00
Vicious
52e67c144d Commiting mpeg's NJ work(from jA). some things might have gotten reversed/broken, so please do check, and don't kill me! D:
thread: http://www.eathena.ws/board/index.php?showtopic=105413&view=findpost&p=610877

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-28 06:07:07 +00:00
skotlex
5ccb5a9525 - Added config setting party_update_interval so you can specify how often the party-mate minidots should be updated (defaults to 1 sec).
- Removed a bunch of broken comments in skill.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 23:52:18 +00:00
skotlex
932107f772 - Now when you set the guardian's HP, if the guardian is spawned, it's HP will be updated accordingly (and if you set it to 0, the guardian is killed)
- Added functions status_set_hp/status_set_sp to set hp/sp to a given value. Applied usage of these on the Berserk and Soul Change code.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 15:44:57 +00:00
skotlex
7cf5521c32 - Readded the check which prevents Cloaking from activating when your learned level is less than 3 and you aren't next to a wall.
- Some cleanups to the Frenzy/Berserk status change, it should probably work correctly now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 13:53:52 +00:00
toms
ee5ee4fcd0 * Fix homunc & code cleanup [Toms]
- Timer problems on delete_timer
  - Intimacy problem (overflow & new values)
  - Homunc deleted if intimacy < 0
  - base exp is now given to master
  - Homunc sometimes not saved

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 11:56:22 +00:00
skotlex
9572db00eb - Enabled changing of equipment while stunned/asleep/petrified/etc
- Cleaned up a bit the skill_castend_id dead checks.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 14:30:34 +00:00
skotlex
b2a4d6446c - Cleaned up the skill_landprotector function to correctly block only magic skills from being placed on land protectors.
- Corrected itemdb_group so that it will not return the random item givers (should give priority to actual item groups, so that the item heal bonuses work correctly)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 00:42:38 +00:00
skotlex
91cae9f29b - Cleaned up the Mistress Card related code so that the no-gemstone bonus reduces item requirements by one rather than totally skip them.
- Cleaned up the logs "can log"function to use the IT constants. Also corrected the "only log large amounts" setting not working on negative values (trades).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 20:29:18 +00:00