ultramage
d8ce1f4aa5
storage code cleanup (no behavioral changes yet)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-13 11:21:33 +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
ultramage
bfd5397913
Renamed 'storage_' to 'items' in the storage_data structure.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-10 08:42:41 +00:00
ultramage
a35279667d
Renamed 'struct storage' to 'struct storage_data' (to make 'storage' available as a variable name).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-10 08:27:03 +00:00
FlavioJS
9df0adf347
* Users can't click floating npcs directly. (quick fix for bugreport:1814)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-10 00:37:07 +00:00
shadow
b851a4ee69
Fixed SG_FUSION hp penalty (0.5% to 2%), bugreport:1805
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-09 13:14:00 +00:00
ultramage
df7e9922e9
Small cleanup of sql storage code (useless data structure allocation)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-09 06:03:26 +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
1df733fb4b
Small cleanup of leftover Grimtooth data (followup to r12917)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 08:03:30 +00:00
akrus
a4c55c070a
Fixed a typo :o
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 07:25:09 +00:00
sketchyphoenix
c63756b74b
* Players autotrading will not be able to recieve whispers (bugreport:1804)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07 06:18:16 +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
ultramage
0c9d9f5a48
* Slight cleanup of item-based walk speed bonuses
...
- removed bSpeed bonus code (was just disabled until now)
- changed speed_rate to use base value 0% instead of 100%
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-06 03:46:00 +00:00
sketchyphoenix
263261d9f6
* Moved the mob killmonster flag to a more appropriate area. (bugreport:1795)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-05 07:54:53 +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
L0ne_W0lf
cce663f625
* Homunculus will no longer auto-vaporize on master death.
...
- Added config option to allow for this to be turned on or off.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12912 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-04 20:44:33 +00:00
zephyrus
af3f27d933
- Timer set to -1 soon, previous to timer deletion :O
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-04 10:51:36 +00:00
Lupus
ae9e0179f6
added missing 'e' logs
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-04 03:54:35 +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
zephyrus
fc312a5088
- Added support to Cash Shop for script command callshop
...
- Fixed a bug in OnTouchNPC
- Cleanup in barricade code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-29 15:16:51 +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
L0ne_W0lf
eb8748ca5d
* Increased Item group limit for new item groups.
...
* Added several new item groups, and updated some existing groups.
- IG_RedBox, IG_GreenBox, IG_OldYellowBox, IG_OldGiftBox IG_MagicCardAlbum, IG_HometownGift, and IG_Masquerade.
- IG_CardAlbum no longer gives Ghostring or Angeling Cards.
- Added Hahoe Mask to Wrapped Mask list.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-24 22:41:24 +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
d218e11636
Added support for killmonster to fire OnMyMobDead optionally.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22 14:22:08 +00:00
zephyrus
6fb09d253c
- Basilica knockback effect is only for mobs, not everybody x.x
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22 10:09:30 +00:00
sketchyphoenix
03a1f29549
Forgot to switch function names out from r12873 >_>
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22 00:39:13 +00:00
sketchyphoenix
1cb87e882f
* Modified *killmonsterall to support a new argument that will allow it to kill monsters using the new OnMyMobDead behavior (in order to avoid breaking older scripts) (bugreport:1734)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22 00:27:30 +00:00
sketchyphoenix
a3f49e9826
Fixed a not-so-well implemented basilica fix that was reverted in 12869.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-21 22:01:37 +00:00
FlavioJS
57cfa2d794
* Extended script command 'set' to return the variable reference (topic:190602).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-21 21:46:24 +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
ultramage
0860dc9583
Reverted the basilica knockback patch (r12852( because it causes bad position desync (bugreport:1710).
...
Needs a correct implementation.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-21 02:46:55 +00:00
ultramage
801084a7c0
Basic cleanup of the SQL charserver homunculus code.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-19 20:26:02 +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
290ca7eec3
Fixed a bug in the timer code which made it impossible to delete a timer with id '0' (since pre-svn, still present in jAthena).
...
Fixed wrong order of parameters in a ShowWarning call when freeing a locked DBMap, which caused a segfault when executed (since initial implementation in r4859).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-18 10:59:40 +00:00
sketchyphoenix
159e55e3d1
Fixed cash shop not using points to make up the cash difference when purchasing an item.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-18 10:39:20 +00:00
sketchyphoenix
935ec01db7
Fixed basilica behavior not knocking back monsters 2 cells should one attempt to enter the field.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-18 08:44:37 +00:00
sketchyphoenix
85e23b586c
Added a fix for refresh properly displaying dead and sitting players.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-18 08:02:47 +00:00
L0ne_W0lf
4ba16a2c0d
Forgot to commit source modification from r12833 (Updated Novice grounds.)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-17 12:27:39 +00:00
FlavioJS
2fdf093539
* Made the socket limit not be set in cygwin, which has bogus behavior. (bugreport:1684)
...
* Made the socket limit be set to the maximum allowed value when setting to FD_SETSIZE fails.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-16 05:07:56 +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
09e7cb0515
Fixed PF_FOGWALL working on Boss monsters.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-14 11:49:07 +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
ultramage
06f9538ece
Added check to prevent crashing on logmes with no player attached (bugreport:1648).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-12 09:59:46 +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