View Single Post
  #22 (permalink)  
Old 09-18-2009, 04:55 PM
dgaud007's Avatar
dgaud007
Lurker
Offline
 
Join Date: Aug 2008
Posts: 3
Reputation: 5
dgaud007 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: MoonPhase Manila (regular and HD/Squished versions)

Thanks for the patch. I have it working in Mortscript 4.3b. For some reason, the new moon phase (ph) was being calculated as 2.4, instead of 24 (or > 23 = 0). I just needed to change this line:

b = Floor( jd, 1)

to

b = Floor( jd, 0 )

Is working now...