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
ultramage
2352b1996e
Increased MAX_PACKET_DB to handle the new packet range.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-11 16:40:03 +00:00
ultramage
1db8d976fd
Added partylock/guildlock mapflag checking for @changeleader/@changegm (bugreport:72)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-11 13:02:16 +00:00
shadow
91f75e6d21
Fixed double attack working with unarmed attacks, as reported by Lone Wolf.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-10 16:09:16 +00:00
FlavioJS
c9a3dc80bf
* Added experimental code to set the socket limit at runtime.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12803 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 23:44:52 +00:00
shadow
233d15c130
Fixed SN_SHARPSHOOTING doing 100% atk less damage than it should, bugreport:1654
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12802 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 17:29:51 +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
ultramage
4ffe35e8bd
Corrected definition of 'delitem' and 'delitem2', which prevented the optional accountid parameter from working (bugreport:1512).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08 13:06:08 +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
ultramage
66fe96fbb0
Devotion links will now be sent properly in all situations (followup to 12171).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 11:37:52 +00:00
shadow
01cb41bb34
Fixed GD_EMERGENCYCALL not working inside gvg castles when WoE is off, bugreport:1637 fix by Meyraw
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 11:21:27 +00:00
ultramage
d5f1f0a910
Kaite should not work against high-level mobs - bug introduced in r11230 (bugreport:1623).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 10:22:33 +00:00
ultramage
9568930e99
Fixed 'soundeffectall' not reading its params correctly, since r10844 (bugreport:1627).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 03:27:38 +00:00
shadow
f292935743
Fixed PF_DOUBLECASTING casting % bugreport:140
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 03:00:00 +00:00
shadow
69089d210e
Fixed a few properties of NPC_CHANGEUNDEAD bugreport:79
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 02:52:03 +00:00
zephyrus
e595e1f69f
- Little cleanup to OnTouchNPC.
...
- Updating Release of Wish script.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-04 13:13:34 +00:00
zephyrus
41ee2c000b
- Fixed BugReport 1608. I forgot to merge npc.h sorry.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-03 01:09:40 +00:00
zephyrus
5c7a1807e4
- Added support for OnTouchNPC event, required for Monster Race. Script commands need to be tested. Already tested sc_start.
...
- Added status SC_WALKSPEED required in monster Race.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-02 15:54:50 +00:00
ultramage
37ddd1c503
Added Ai4rei's "gm can view all players' equips" feature (topic:186519).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-01 08:14:47 +00:00
Lupus
51b885b417
crashfix to attach/detach timers
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-31 07:23:43 +00:00
ultramage
5ae3401e2a
Removed the debug message from r12726 (bugreport:1587)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-31 01:53:51 +00:00