Lance
5dbe5de760
* Excluded idle and auto-trade party members from TK_POWER list.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 09:40:18 +00:00
Lance
6ae92d0a86
* Fixed compilation errors.
...
* Tidy up jobmaster for easy debugging.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 08:52:56 +00:00
Lupus
24beddd3ae
SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 04:49:33 +00:00
blackhole89
752cd268ef
* Part A of the Homunculus code.
...
This only features the structures, status_* and clif_* (packets) and is
not functional yet in any conventional way, but doesn't interfere
with present functionality either.
I would only forget half of this stuff if I tried to do all at once.
Expect the rest somewhen within the upcoming week.
(This is not similar to jA's implementation.)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 18:59:13 +00:00
Zido
c10e8877aa
- Fixed the "fake" mute status bug
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6677 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 11:55:20 +00:00
Lance
3fbb543cfc
* Speed up array size calculation and deletion.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 08:09:20 +00:00
Lance
f0d3a6cb54
* Player must learn the skill before doing auto-spell
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 02:48:25 +00:00
Lance
2e341e2a76
And again
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 02:39:32 +00:00
Lance
90d285dbd9
* Fix the fix: Should be sd->npc_str[message_len]=0;
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 02:38:34 +00:00
Lance
2a38662225
* Exploit prevention in clif_parse_NpcStringInput
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 02:37:36 +00:00
Lance
58204d275e
* Ammendment: battle_config.skill_sp_override_grffile
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20 15:23:01 +00:00
Lance
96817a95ec
* grfio_final moved back (with condition) if any of GRF overriding is enabled so servers with such configuration will not have different values after reloading.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20 15:17:18 +00:00
Lance
720879a767
* grfio_final moved back to do_final since it's used by @reloaditemdb.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20 15:08:31 +00:00
Lance
fdfaf7ba79
* jA1983 script.c buildin_menu fix. Thanks to End_of_exam.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20 15:01:47 +00:00
Lance
a233231e4c
* Abit of alterations to login-server.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20 08:14:35 +00:00
Lance
025ee8cbb4
* Minor unsigned/signed alteration in pc_additem to shut the compiler up.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 17:12:01 +00:00
skotlex
1f864cfee8
- Small change in pc_additem that could be fixing the current bug with it.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6660 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 16:52:38 +00:00
skotlex
078cab13fd
- Fixed loginlog definition in main.sql, thanks to Tempesta
...
- Likely fixed the mob-skill random picking behaviour causing infinite loops sometimes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 16:27:14 +00:00
skotlex
1b2a882dc3
- Added some braces to clear up the code in pc_additem, even though I doubt it'll fix the problem :X
...
- Modified mobskill_use behaviour to pick a random starting point and check skills from that, rather than always checking from first to last. Fixes skills with high priority blocking skills lower down in the list from triggering.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 15:38:15 +00:00
skotlex
0d31063329
- Corrected number of water-ball hits when used by mobs and not consuming deluge cells when using lv1 (Thanks to Kyoki).
...
- cardillust_read_grffile, item_equip_override_grffile, item_slots_override_grffile, and item_name_override_grffile are set to 0 after map-server loads to prevent crashes on item_db reloading.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 14:42:52 +00:00
skotlex
5e600508f8
- Updated mob ai behaviour so that mobs use IDLE state skills when their current target cannot be reached for melee fighting.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6655 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 14:03:40 +00:00
skotlex
d16d7e47b4
- Added 5 config settings to adjust damage in pk-mode servers (misc.conf)
...
- Corrected LoV's effect range for levels 11+ to range 8.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18 21:14:18 +00:00
skotlex
55d19e5598
- Fixed mob_max_skilllvl being capped to 11!
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18 17:49:15 +00:00
skotlex
e5f005cc1d
- Rewrote/cleaned up several functions in storage.c
...
- Optimized pc_additem comparisons to account for items with more than four slots.
- Updated clif.c to enable retrieval of items from cart/storage while trading. Exception is retrieving items from the cart while vending.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18 16:55:07 +00:00
skotlex
862dde5c5b
- Some code cleaning of the skill reiteration/nofootset code.
...
- skill reiteration code now does not checks for the trigger-area of the skill in the case of non-players, which means mobs can now place traps in cells adjacent to each other.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18 14:37:48 +00:00
skotlex
0aed0eaa95
- Applied an experimental weather code that should lower bandwidth usage to near-none, which's only disadvantage should be the weather not clearing out until moving to another map (even when the mapflag is removed from the current map).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18 14:11:16 +00:00
skotlex
f56c98572b
- NPC_AGIUP will now give movement boost of 50%
...
- Fixed WZ_WATERBALL number of hits when used by non-players.
- MO_BODYRELOCATION will send the slide packet with the actual src's coordinates rather than selected tile.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18 13:52:56 +00:00
skotlex
e2ba12927e
- Modified mob_can_changetarget to return true always when the new target is the provoked-by character. Fixes provoke not making the mob change target when it already is locked on another player.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17 15:23:25 +00:00
skotlex
af26a46c9b
- Added check to clear previous skill when combo time ends. Should fix TK Rankers being unable to initiate a combo with the same kick their previous combo was finished with.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17 14:23:00 +00:00
skotlex
c042d6153c
- Power Up and Agi Up now increase Hit/Flee by 20%/lv
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17 13:46:05 +00:00
reddozen
0277ebc706
Removed AtCommand_Monster and replaced it with AtCommand_Spawn for Skots [Reddozen]
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17 01:03:22 +00:00
skotlex
4fcac3b2f9
- Modified "hide woe damage" to send the number of hits rather than 1 as damage Because when the damage is less than the number of hits, the client will display MISS.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16 18:51:20 +00:00
skotlex
99dbd259be
- Added a check to map_searchfreecell to handle the case when no ranges are specified (returns the center tile).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16 14:54:37 +00:00
skotlex
1bac98be0c
- Fire Pillar will now do 200%MATK damage per hit when level is >10.
...
- Blood Drain always hits now.
- Fixed Mob Area Skills not updating their use-time (rendering their skill delay useless)
- Search free cell will now skip picking the center-tile as target location. Will prevent slaves from walking on top of their master, or mobs placing stuff right under themselves with the "around" target conditions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16 14:42:54 +00:00
skotlex
1b1249c5d8
- When reading mapflags, when a map is set to be pvp or gvg, the other will be turned off (disables pvp mapflags in gvg maps for pk-servers)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 21:09:45 +00:00
skotlex
c832510453
- Firepillar's damage per hit is now 100% MATK (rather than 20%) when the skill level is above 10.
...
- Sorted out the item_data structure, getiteminfo should work correctly now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 20:24:37 +00:00
skotlex
96c03caf7e
- Soul Drain will now show the SP drained regardless of drain display settings.
...
- SC_COMBO state will now end in skill_attack rather than skill_check_condition (as it is required there to apply damage bonuses based on combo-casted skills)
- Spirit skills now have 500ms delay.
- KA skills can now be casted on other Soul Linkers as well without the Spirit requirement.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6607 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 19:30:35 +00:00
skotlex
b2b800212c
- Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode servers.
...
- When removing a castle's owning guild, the char servers will erase the guardian data now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 18:35:18 +00:00
skotlex
aed41cb881
- Changed the behaviour of immobile mobs when they can't chase their target. Rather than using a longrange skill and then unlocking, they will use an attack/angry state skill and then unlock.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 17:10:41 +00:00
skotlex
2c902be399
- Removed Lance's checks in clif.c to prevent sending packets when a player is in OPTION_INVISIBLE mode. Now pc_disguise won't change your viewclass when you diguise while hiding. The disguise should "show up" when you uncloak, instead.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 15:22:02 +00:00
skotlex
eb63227578
- Fixed clif_GlobalMessage being the exact same function as clif_message (the fiirst should send to ALL_CLIENT and the later should send to AREA_CHAT_WOS). Should fix globalmes script command.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 14:43:22 +00:00
skotlex
125e05d3cd
- Added SC_BLADESTOP to the switch listing in status_change_start
...
- Characters in vending are now always considered "idle" if the idle_no_share setting is active.
- Corrected 10 Geminis spawning in Lhz1 rather than 2.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 14:15:04 +00:00
Lance
6fa0186000
* Players with OPTION_INVISIBLE should not be sent to clients.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 10:19:14 +00:00
Lance
38703db7c9
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 09:55:50 +00:00
Lance
f5631c0f3f
* Added NPC event deprecated warnings to ease debugging old scripts.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6592 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 09:54:51 +00:00
Lance
164ac7c02a
* Supplied fake NPC ID in sd->npc_id for item scripts.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6590 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15 09:10:56 +00:00
Lance
dd4a935ce2
@_@ this is getting more confusing...
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14 13:08:26 +00:00
Lance
05736737c7
* Bugfix on fake npc
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6585 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14 12:57:50 +00:00
blackhole89
96bf1fd79e
data.x=x; data.y=y was not done at all except when using random coordinates. dfhsdfhsdfh
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14 11:01:13 +00:00
skotlex
a7301992bc
- Reverted again the change that stuns the caster on Ske, Ska, Swoo when the target is a nonplayer (rather than always)
...
- Modified mob_spawn_once so that coordinates -1,-1 are "random around the player" while 0,0 are random around the whole map (regardless of whether there's a player attached or not)
- Knockback will no longer work on traps during woe.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-12 21:16:44 +00:00