regen.ecl problem

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 097.
Note: Core 097 is no longer officially supported.
Post Reply
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

regen.ecl problem

Post by BELL »

Code: Select all

exported function GetLifeRegenRateExported(mob)
	var rate := GetObjProperty(mob, CPROP_NAME_PREFIX_REGEN_RATE+VITALID_LIFE);
	if( rate != error )
		rate := Cint(rate);
		if( rate != error )
			return rate;
		endif
	endif
	
	return 1200;
endfunction
this distro. If im create prop "NewRegenRateForLife" on char and set it, new regeneration speed begin if character get damage< about< on dungeon. What i manually start new regen rate?
Post Reply