1197 Commits

Author SHA1 Message Date
L0ne_W0lf
339fd39352 Corrected Lex Divina not showing animation on fail. (bugreport:1740)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13226 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-21 13:36:57 +00:00
zephyrus
1046d7eaed - Some corrections to Basilica.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13217 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-18 10:06:00 +00:00
zephyrus
2513d01bee - Full implementation of mercenary skills.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13203 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-10 14:30:25 +00:00
L0ne_W0lf
331e0a0a15 Enabled WoE SE to be run independently of WoE. Let's see how long it is before something blows up, or Ultramage pulls out his hair while cursing my existence.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-09 17:33:10 +00:00
zephyrus
4d3666cf1e - Fixing some linux warnings (uninitialized variable).
- Other cleanups.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13196 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-07 10:38:46 +00:00
zephyrus
5acebe170f - Starting Mercenary Skill implementation.
- MS_BASH Completed.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13189 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-03 13:32:38 +00:00
zephyrus
ef61b07219 - Implementing a correct update of mercenary status window on status change updates.
- Fixed Mercenary Heal is reduced 50%.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-02 16:29:29 +00:00
zephyrus
c562d05efc - More code for mercenaries and starting work on restrictions.
* Heal and Sanctuary skills have their effectiveness on mercenaries reduced by 50%.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 22:19:18 +00:00
akrus
65939ee758 * Fixed: several compiler warnings [akrus]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13129 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-25 00:56:11 +00:00
zephyrus
be66dce771 - Fixed skill problems (who did this? Mercenary skills values are big than homunculus).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13124 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-24 16:02:26 +00:00
zephyrus
c5cc2257d3 - Moving all content of Homunculus code to a proper file Homunculus.c/h
- Update of all project files.

NOTE: All functions on homunculus.c should be renamed i think, to remove all the merc_*.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-24 15:00:26 +00:00
zephyrus
c6af5ab8d5 - Big update to Basilica, implementing official behavior.
* Basilica caster cannot walk.
* On Basilica area, only caster can use Basilica again to stop it.
* On Basilica no one can use skills. (Previous bug on eA because you can use support skills on it, also caster).
* Only Pressure can bypass Basilica protection.
* Any enemy of the caster bounce 2 cells back from basilica, except Boss type. (Bugreport 2099).
* Any monster can target you on basilica and try to attack you, also with skills, but damage is reduced to 0, except Boss.

Notes:
- Basilica Cell stuff is not used anymore... is it required?
- Still need to add a check previous to cast basilica because if there are mobs, items, npcs, walls, skills around the caster (7x7 i think) the skill should fail.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21 20:38:32 +00:00
zephyrus
75acf439cf - Fixed a bug. Warp portal cannot be casted on dead players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13104 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21 15:28:09 +00:00
zephyrus
ab500d3207 - More cleanup of Barricades (final i think)
- Fixed a bug, missing sizeof(add_steal_rate).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 20:08:00 +00:00
L0ne_W0lf
a4a518d6cc * Implemented Brainstorm's and SketchyPhoenix's fixes for Flying side kick.
- Skill will now remove KA-type statuses and not remove stalker's link while preserved.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 19:47:02 +00:00
zephyrus
6ff274c89c - Fixes on schg_cas02 and arug_cas01.txt
- Official Meteor Storm. Meteors can fail and just not fall, and only fall where you can get a shootable path.
* Tested on Aegis with help of ultramage.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 19:24:19 +00:00
zephyrus
83f55ea8bf ** Please update your server ASAP. **
- Fixed a wrong auth process, setting account offline in Login server when accessing Char server. (OMG!)
- Fixed a bug on TK_JUMPKICK. It should only do damage if can reach target.
- Fixed bug on Arug_cas01 script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-17 00:21:13 +00:00
ultramage
5f31620e6a Some skill corrections based on bugreport:1945
- enabled WZ_FIREWALL and NJ_KAENSIN effect stacking (for more damage)
- blocked stacking of Warp Portal and Flip Tatami land skills
- reverted r12798's land-protector code change (incorrect and also doesn't have any effect)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 13:22:53 +00:00
ultramage
eb99fad326 Added itemid defines for Stone and Skull_ (used by Pick Stone skill and pvp skull drop, respectively).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-02 12:18:24 +00:00
ultramage
dac1c2d2df Removed unused guardian hp columns from the guild castles table in main.sql (should have been done in r11915).
Corrected incorrect use of the datetime column in the `login` table (bugreport:1962). Refreshed txt account savefile.
Cleaned up some random minor source code glitches.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-01 07:05:16 +00:00
ultramage
582c36c11e Renamed struct 'skill' to 's_skill' to remove naming collisions.
Added defines for mercenary skill ranges.
Added a mapping of mercenary skills to the skill db (700-799 atm).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29 08:19:07 +00:00
ultramage
6c8cf8d611 Replaced occurences of '-1' with the more appropriate 'INVALID_TIMER' value where appropriate.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26 14:22:28 +00:00
zephyrus
d48a482180 - Implemented official Convex Mirror (With help of Yomanda and Sirius White)
- Fixed SC_WARN don't receiving reflecting damage (Bug Report 1854).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26 11:13:39 +00:00
FlavioJS
99a1aaa9e1 * Simplified the search in pop_timer_heap and added more debug info to help determine the source condition of timer errors. (bugreport:1860)
* Fixed crash in skill_castend_id. (bugreport:1860)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-20 01:16:59 +00:00
shadow
dde58291e4 Fixed TK_JUMPKICK, should not jump over objects and cliffs.
- This also might fix them being able to jump barricades on WoESE.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12962 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-16 00:07:16 +00:00
shadow
6eda4e104a Fixed a bad check on NPC_EVILLAND, actually healing players instead of doing damage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-12 00:31:51 +00:00
FlavioJS
cdda61ce1b * Added const to the return value of get_timer.
* Added a maximum timer interval. Avoids server shutdowns being delayed for ~10 seconds under some circumstances on windows.
* Replaced the fake timer heap (ordered array) with a binary min heap.

(actually, this is just a merge and has been in use for months)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-09 01:25:19 +00:00
ultramage
d40b9b93d4 First attempt at implementing the official walk speed system
* separated speed modifiers into bonuses, penalties and other statuses
 * no bonuses stack, instead the maximum is taken
 * no penalties stack, instead the maximum is taken
 * Union, Riding and Pushcart are the only other statuses that stack
 * both bonuses and penalties are linear modifiers of the base walk speed
 * 'other' statuses are applied after bonuses and penalties

Changed many equations to match official walk speed system
 * Steel Body now sets a fixed walk speed of 200 (bypassing everything else)
 * Defender now caps the walk speed to a minimum of 200
 * Slow Grace now uses official equation for aspd/walk speed decrease
 * Pushcart's speed penalty is now halved
 * Free Cast now changes walk speed to a fixed value, bypassing bonuses and penalties
 * Wedding clothes now have a penalty of +100%, not +200%
 * rogue's Tunnel Drive and stalker's Chasewalk ignore all penalties
 * taekwon's Running is now 5% faster
 * Frenzy is now 5% faster
 * Gospel's offensive slowdown is now +75% instead of +33%
 * Quagmire now slows down by +50% instead of +100%
 * Gatling Fever now slows down by +100% instead of +33%
 * Cloaking modifier is now a bonus/penalty, depending on presence of wall
 * Longing for Freedom overrides the song/dance penalty (bugreport:416)
 * Bard/Dancer Spriit now properly affects song/dance penalty (bugreport:1019)
 * item-granted speedup no longer stacks with speed bonuses (topic:145019)
 * removed some status code that pre-calculated speed bonuses/penalties, to make calculations more localized and less messy (see song/dance code)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 11:40:57 +00:00
ultramage
35c93c2cab Removed stop/slowdown effect from Grimtooth (bugreport:1806)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 04:50:58 +00:00
shadow
4e1d094db0 Fixed AM_PHARMACY produce chances based on info gathered by flaviojs, aegis zone ep 11.2, of 20070629
Added missing version on my last commit on dancer.txt script (added by akrus on stable branch already)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-05 00:21:16 +00:00
ultramage
8d6505fdee Adjusted Free Cast code so that its walk penalty gets calculated in status_calc_speed and nowhere else.
Removed aspd penalty from Free Cast since tests show it's not there, even though RO sites claim it is.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03 03:24:58 +00:00
shadow
901d311735 Fixes regarding bugreport:1727 (undead element/race skill behaviors) follow up on revisions r12820 r12821 and r12822
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12903 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03 02:18:44 +00:00
ultramage
7444eb572c Random assortment of various small corrections and tweaks.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-29 06:00:05 +00:00
ultramage
39c437346f Cleaned up unconditional calls to status_change_end().
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-24 14:23:15 +00:00
sketchyphoenix
285e8e1f36 Changed a if statement around because gcc emocries over it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22 21:42:16 +00:00
sketchyphoenix
e25af12edf * Fixed a bug where the "OnMyMobDead" event wouldn't trigger if the mob was killed and never attacked. (bugreport: 1725)
* Reworded a comment in can_copy to make more sense.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-21 20:45:40 +00:00
sketchyphoenix
7173c6123f * Fixed SC_CHANGEUNDEAD behavior: Blessing and Increase AGI deals 1 damage and does not apply buffs to those inflicted by it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12862 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-19 08:05:57 +00:00
sketchyphoenix
7340e02d5b Added Sirius_White's fix for sense working on emperium. (bugreport: 1679)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-19 07:35:03 +00:00
ultramage
696ac9ce34 Fixed Icewall not restoring the original cell type (mistake in r11175).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-15 03:34:46 +00:00
shadow
76274aa15f Fixed Evil Land working versus undead element instead of undead race.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 14:40:55 +00:00
shadow
491d146d39 Fixed Grandcross and darkgrandcross, should only cause blind against undead race.
Also confirmed that ME, evil land, sanctuary, grandcross/DGC and status recovery are versus element, not race.
Removed confusion effect part from AL_CURE, it doesnt work on official anymore.
Partial revert of signum crucis modification, it doesnt work against players, but work on ELEMENT undead monsters.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 13:22:36 +00:00
shadow
a80253d14f Fixed some skills working on undead element when they were supposed to work on undead race.
Skills Fixed: GrandCross, Dark GrandCross, Cure, Head Crush, Signum Crusis, Blessing, Demons Bane, Divine Protection.
Skills needing confirmation: Magnus Exorcismus, Evil Land, Sanctuary, Status Recovery.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 11:39:13 +00:00
FlavioJS
625f9f62fd * Added support for skill names to script commands:
- skill, addtoskill, guildskill, getskilllv, getgdskilllv, itemskill, petskillattack, petskillattack2, petskillsupport, skilleffect, npcskilleffect, unitskilluseid, unitskillusepos
- bonus/bonus2/bonus3/bonus4/bonus5 for bonuses bAutoSpell, bSkillAtk, bSkillHeal, bAutoSpellWhenHit, bAddSkillBlow, bCastrate

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-12 09:30:12 +00:00
shadow
a7f7dae99d Fixed 1734,Orc_Archer_Bow working with Iron Arrow instead of Steel Arrow. Thanks Muad Dib for reporting.
Fixed Active Guild skills not working when WoE is OFF, follow up on r12770, bugreport:1653 and bugreport:1637

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12800 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 12:43:08 +00:00
shadow
542867516d Fixed Fire Pillar (and any future splash damage magical trap) not working on Land Protector.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12798 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 09:20:50 +00:00
shadow
097072f1fe Fixed reject sword having a infinite duration, bugreport:695 (both stable and trunk)
Fixed 13007,Jitte and 13008,Jitte_ break chances (5->2%).
Fixed 1535,Hollgrehenn_Hammer break chances without combo (2->1%) and with combo (12->10%), also has no chance of breaking user equip.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 00:33:09 +00:00
ultramage
5d98e5cbf4 Implemented the two-handed staff/rod type (thanks to Muad_Dib).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08 13:17:51 +00:00
shadow
55f8ddeb2f Fixed SA_DISPELL removing SC_CRITICALWOUND.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08 03:42:49 +00:00
ultramage
4517a5c8e2 Swapped the weapon type IDs of Shotgun and Gatling Gun weapons to match aegis.
Added Mace Mastery bonus to 2handed maces, and made them unbreakable.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 17:01:29 +00:00
ultramage
91e7ba7d50 Usage of map_flag_gvg2() in Emergency Recall code (minor followup to r12770).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 12:07:41 +00:00