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

NPC Transformation player.

Mexa94

New Member
Joined
Dec 26, 2009
Messages
7
Reaction score
0
Location
Poland
Hi, I need a code for the NPC for TSF 0.3.5pl1.r88 Tibia: 8.50

NPC has transformed the player here is like this:

Code:
doPlayerSetVocation (cid, 20)
doSendMagicEffect (getCreaturePosition (cid), 10)
doCreatureChangeOutfit (cid, {lookType = 261})
local maxHp = getCreatureMaxHealth (cid)
local newHp = (3000 + maxHp)
setCreatureMaxHealth (cid, newHp)
local maxMp = getCreatureMaxMana (cid)
local newMp = (3000 + maxMp)
setCreatureMaxMana (cid, newMp)

This transformation has to be constant and you can do it only once.
all this is to take place in the channel NPCs.
 
Yeah, I'll join to this request.
He wants something like this:
- If player say to npc - "word", than if player got level = 50, the npc do him:
doPlayerSetVocation (cid, 20)
doSendMagicEffect (getCreaturePosition (cid), 10)
doCreatureChangeOutfit (cid, {lookType = 261})
local maxHp = getCreatureMaxHealth (cid)
local newHp = (3000 + maxHp)
setCreatureMaxHealth (cid, newHp)
local maxMp = getCreatureMaxMana (cid)
local newMp = (3000 + maxMp)
setCreatureMaxMana (cid, newMp)
 
Back
Top