• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Alkoholizm

Erazma

Banned User
Joined
Sep 3, 2012
Messages
265
Reaction score
4
Witam potrzebujuę funkcji która spradza czy gracz jest najeb - any %

if itemEx.itemid == 7175 and getPlayerStorageValue(cid, 8000) == 8 and NAJEBANY then nie wiem jaka jest funkcja czy wg istnieje :P
 
LUA:
	if (getCreatureCondition(cid, CONDITION_DRUNK)) then
		-- akcja
	end
 
trochę zjebane bo nie jest to jak na rl tibii, na rl masz poziom upicia, tak jak kondycje typu trucizna:

nie ma 1 stopnia upicia, tylko jak np. djin upije to jesteś pijany przez bardzo długo ale średnio, jak wyverna upije, to jesteś pijany krótko ale bardzo mocno

dawno nie grałem, ale to chyba nie tylko zależy tam od czasu, ale też od poziomu, bo np. trucizna startuje od 90 i z umiarem czasu zawsze tak samo schodzi w dół, a upicie chyba jest zrobione trochę inaczej - jest X czas, Y moc, oraz Z utraty mocy upicia do stosunku czasu


ale nie jestem pewny xD

w każdym razie napewno są mocniejsze stany upicia i słabsze, a także różnice czasowe

- - - Updated - - -

btw wy też pomyśleliście wchodząc do tematu, że chodzi o prawdziwy alkoholizm?xD
 
ta, drugi raz sie nabralem, kur... na global jest dokladnie tak jak piszesz
 
Back
Top