ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sun Dec 17, 2017 10:13 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Bone Grab change
PostPosted: Fri Dec 31, 2010 5:11 am 
Offline
Perspiring Physicist

Joined: Tue Jul 13, 2010 2:53 pm
Posts: 1332
Currently bone grab finds any open tile near the player and places the grabbed creature there. I propose we change that so the grabbed creature is placed in the first tile along the line between the player and the creature's original tile. Here is the code to do that:

Code:
local l = line.new(self.x, self.y, px, py)
local nx, ny = l()
if not nx then return end


This should work since the targeting is already a bolt and that tile needs to be open.

_________________
Quote:
<DarkGod> lets say it's intended


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group