Commit Graph

282 Commits

Author SHA1 Message Date
Lmctruck30 ee78d2cd05 Fix magic.rb (#344)
Fix magic level check
2017-09-10 14:02:27 +01:00
Promises 3ae6a1b290 Use current_level in Magic plugin. (#320) 2017-05-27 17:54:14 +01:00
Major 2878c637e0 Fix #308 2017-05-25 02:47:23 +01:00
Promises 6440e2d3d4 Wrong Button ID for "Protect from Melee" Prayer. 2017-05-24 02:26:33 +02:00
Gary Tierney e5a6638e2f Add support for player / npc following
Implements a new MobExtension plugin which adds 'follow', and 'chase'
mixins that allow the mob to follow behind another mob, and chase them
while keeping at a safe distance to fire projectiles.  Also adds a new
public method 'raycast' to CollisionManager, for drawing a line through
the world using bresenham's line algorithm whille checking for any impenetrable
objects.
2017-01-02 04:11:13 +00:00
Gary Tierney baa12ca446 Add a mob extension plugin for walking to entities
Adds a new mob extension plugin which creates a walk_to() method on
Mobs to allow walking to another entity (accounting for the size of the
entity) with an optional facing position.
2017-01-02 03:39:02 +00:00
Gary Tierney b047d0197a Add a plugin which allows creating mixins for Mobs
Adds a mob-extension plugin, which allows creating modules as mixins to
be monkey-patched into the Mob class.  Having a standard method of doing
this prevents confusing problems with mixin name conflicts, by allowing
the plugin to raise an error that 2 mixins with the same name exist.
2017-01-01 08:13:09 +00:00
CharlesVaneenoo d79d402394 Rename get_next_dialogue 2016-03-18 18:31:38 +01:00
Pierre Hequette a48d7cde38 remove old TODO 2016-03-18 15:00:57 +01:00
AymericDu 9dbb3e3233 Fix issue #178 2016-03-14 13:51:17 +01:00
Major bb5c75fa4a Fix #272 2016-03-14 08:40:53 +00:00
Major- dccfd38227 Ignore some bad rubocops 2016-03-13 09:21:10 +00:00
CharlesVaneenoo 168e8c44a1 Add text in instruction.rb
Add text in instruction.rb
2016-03-12 10:35:10 +01:00
munggs bf41915bcd Correct typo in survival.rb 2016-03-11 16:38:18 +01:00
CharlesVaneenoo 82f28b070e creation of drink.rb
fix bad name
2016-03-05 23:01:22 +01:00
CharlesVaneenoo cd3596ee61 name properly the rest of the facial emotes 2016-02-27 11:16:53 +01:00
AymericDu 92f3d91cb4 refactor wrap in dialogue.rb 2016-02-26 16:49:04 +01:00
Major- d3c5417403 Fix #218 2016-02-15 17:32:00 +00:00
Major- 8f5ddb0761 Fix #170 2016-02-14 16:25:38 +00:00
Major- 1a86e286bb Require shops to use names instead of ids 2016-02-14 16:12:57 +00:00
Major- 6eebdd1f11 Improve Falador/Varrock npcs.rb formatting 2016-02-14 16:11:31 +00:00
Jesse Woolsey f00998d58e Add Varrock shops 2016-02-13 17:54:57 -05:00
Jesse Woolsey ae9a3098e9 * Fix Prayer Burying Animation 2016-02-13 17:28:07 -05:00
Major- f83e8b3040 Fix many issues with the Tutorial Island plugin
Amongst other things, this:
* Stops the player from trying to leave the Runescape Guide's house if
  they have yet to speak to him.
* Fixes the hint icon for both the Runescape Guide and the door.
* Ensures all files pass rubocop.
* Generally improves the code throughout the plugin.
2016-02-13 17:49:44 +00:00
Major- 70c0856df8 Fix text-only dialogues with continues 2016-02-13 16:31:42 +00:00
Major- 8e6760c617 Only fire door events when the door is reached 2016-02-13 16:31:42 +00:00
Major- 9a920d95ee Add support for Events defined in Ruby
A slightly complicated and hacky change, because this requires working
around JRuby issue 2359.
2016-02-13 16:31:42 +00:00
Jesse Woolsey 931363ff4e * Npcs added to Falador 2016-02-13 10:18:06 -05:00
Jesse Woolsey d5aa94ab6c * Fix mob.stop_animation 2016-02-13 08:32:32 -05:00
Jesse Woolsey 574371f578 * Fix Spam Clicking for Magic
* Fix OverRide Magic Spells
* Fix Process Element check
* Runes Read In the correct of how Runescape does (primary, elemental)
* Changed MAGIC_SKILL_ID for add exp to Skill::Magic
2016-02-13 03:21:47 -05:00
Jesse Woolsey 8bc3ba60ac * Varrock Npcs
* Fixed The big indent so it should be readable now
2016-02-12 17:19:18 -05:00
WizardJesse1 31d8d9ab17 Added Edgeville Npcs 2016-02-12 06:47:56 -05:00
WizardJesse1 ca1f09aece Added Edgeville Npcs
* Added every npc that was missing from edgeville 
* Removed and moved any npcs that were not in the correct area
2016-02-12 06:23:55 -05:00
WizardJesse1 1162eac7ad More Npcs to Al-Kharid
* Added every npc that was missing from al-kharid
* Removed and moved any npcs that were not in the correct area
2016-02-12 03:42:17 -05:00
Ryley Kimmel dd9edb358d Merge pull request #202 from ryleykimmel/issue179
Rebase HintIconMessage
2016-02-11 11:36:05 -05:00
atomicint 437a664f00 Rebase HintIconMessage
- Split HintIconMessage into two separate classes (PositionHintIconMessage and MobHintIconMessage)
- Split HintIconMessageEncoder into two separate encoders (PositionHintIconMessageEncoder and MobHintIconMessageEncoder)

This resolves #179

Add PositionHintIconMessage#reset

Fix parse errors introduced in e799577
This also resolves #181

Order enumerators by value
Clean up PositionHintIconHintMessageEncoder for 377/317
2016-02-11 11:35:20 -05:00
Major- d6ac9eeeaa Remove message filtering 2016-02-11 13:07:02 +00:00
WizardJesse1 0fcd138f86 Fix Magic Check Issues
I forgot to check a few things when i changed magic check's

Issues Fix

* You couldn't teleport but now you can
* Illegal items would throw an error
* Process elements would get removed even if you couldn't cast the spell due to moving illegal items
2016-02-09 19:30:35 -05:00
WizardJesse1 74a8af7b91 Fixed Issue #186
It has the correct message now and it supports a/an
2016-02-09 17:54:55 -05:00
WizardJesse1 e5033965ee Fixed Enchant Ring Animation
Currently uses the correct animation now
2016-02-09 16:56:02 -05:00
Major d9cf285f5e Merge pull request #172 from ryleykimmel/issue169
Pass the new Position of Players to area listeners
2016-02-09 16:02:29 +00:00
atomicint 4a1c82da52 Let area listeners have access to the updated position from the MobPositionUpdateEvent
Fix issue #169
2016-02-08 17:44:25 -05:00
Major 732cb35dc7 Fix incorrect doc comment 2016-02-08 17:55:47 +00:00
Major b11d38a673 Merge pull request #166 from ryleykimmel/issue164
Notify area listeners upon login
2016-02-07 11:20:39 +00:00
WizardJesse1 84dcdc0761 Fixed Player Option Order
The order for player options were wrong. It's all in the correct order now
2016-02-07 04:18:30 -05:00
atomicint 18a4d69443 Notify area listeners upon login 2016-02-07 03:48:18 -05:00
atomicint 6bb0c70c07 Fixed "It heals some health" food consumable message. 2016-02-03 19:21:53 -05:00
thispixel e7229e7f61 separate potion and food consume delays 2016-02-02 11:10:44 +00:00
Gary Tierney 9720574310 Merge pull request #149 from thispixel/master
fixes issue #148 - add consumable delays
2016-02-01 20:42:02 +00:00
Gary Tierney b8e5cbacbe Merge pull request #147 from WizardJesse1/patch-13
Fixed food eating delays
2016-02-01 18:57:25 +00:00