mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-21 18:35:11 -06:00
sendDialogueLines for no targetable Penance
This commit is contained in:
parent
7909bfe6f3
commit
e85833ffd9
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ class EggHopper : ComponentPlugin() {
|
|||
val eggCannon = findClosestNPCIDFromPlayer(player,NPCs.EGG_LAUNCHER_5026,2)
|
||||
val target = findClosestTargetNPCIDFromNPC(npcId, eggCannon as NPC ,14)
|
||||
|
||||
if (target == null) {sendMessage(player,"There are no targetable Penance ${type.name} within firing range.") ;return}
|
||||
if (target == null) { sendDialogueLines(player,"There are no targetable Penance ${type.name} within firing range.") ;return}
|
||||
//queueScript { }
|
||||
player.animate(Animation(5428))
|
||||
eggCannon.face(target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue