• 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!

Szukam prostego skryptu & problem

Myszax

New Member
Joined
Jan 6, 2009
Messages
10
Reaction score
0
Witam!
Szukam skryptu creaturescript z funkcją onAdvence.
Chodzi o to, aby po wbiciu lvl maglvl i skila (każdego) mana i hp rosło na maxa.

A problem mam z accmakerem Gęsiora.
W Library>Spells nie piszę mi vocation np.: sorc, drut, knight, pall tylko Array wiecie o co chodzi? Mam TFS 0.3.4 i to tego acc makera gęsiora.
 
Code:
function onAdvance(cid, skill, oldLevel, newLevel)
	if (oldLevel < newLevel) then
		doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
		doCreatureAddMana(cid, getCreatureMaxMana(cid))
	end
	return TRUE
end


@Asta:
Co ma whoisonline.php do tablicy w spells? :x
 
Code:
function onAdvance(cid, skill, oldLevel, newLevel)
	if (oldLevel < newLevel) then
		doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
		doCreatureAddMana(cid, getCreatureMaxMana(cid))
	end
	return TRUE
end


@Asta:
Co ma whoisonline.php do tablicy w spells? :x
Dzięki :P a na gg nie chciałeś pomóc :D

whoisonline.php też się zastanawiałem :P
wie ktoś jak to naprawić?
 
PHP:
function onAdvance(cid, skill, oldLevel, newLevel)

        if skill == SKILL__LEVEL then
	if (oldLevel < newLevel) then
		doCreatureAddHealth(cid, getCreatureMaxHealth(cid))
		doCreatureAddMana(cid, getCreatureMaxMana(cid))
	end
        end
	return TRUE
end
 
Back
Top