runtime error: Undefined operation
proc name: monthlyincrease (/mob/proc/monthlyincrease)
source file: yearlywages.dm,123
usr: null
src: Troy (/mob/pc/Snow_Lords)
call stack:
Troy (/mob/pc/Snow_Lords): monthlyincrease()
loopy()
mob/proc/monthlyincrease()
if(src.medicines>=1)
var/MM=round(src.medicines/(277*src.citylvl/src.gharmony))
src.medicines=0
src.medicine+=MM
proc/loopy()
spawn()
for(var/mob/M as mob in world)
if(istype(M,/mob/pc))
spawn()
M.monthlyincrease()
ID:261501
May 16 2002, 4:49 pm
|
|
Two questions: 1) are you sure that all of the variables are numbers (not text strings, etc.), and 2) which line exactly is line 123?