Fabi Marzan
Well-Known Member
- Joined
- Aug 31, 2020
- Messages
- 135
- Solutions
- 6
- Reaction score
- 67
I use TFS 1.5
Good, I had thought about how to make a script that when you take a look at the monster it shows you the experience that it is going to give you.
Something like an example, using the (MonsterType("name of monster"):experience())
This scripts is an example, it doesn't work for what I want.
But I really want you to show me the real experience that it will give me, depending on the stage
So it would look like:
Experience: XXXX for your level.
Good, I had thought about how to make a script that when you take a look at the monster it shows you the experience that it is going to give you.
Something like an example, using the (MonsterType("name of monster"):experience())
This scripts is an example, it doesn't work for what I want.
Lua:
function Player:onLook(thing, position, distance)
if thing:isMonster() then
local description = ""
description = string.format("%s\nEXP: %d", description, thing:getType():getExperience())
self:sendTextMessage(MESSAGE_INFO_DESCR, description)
end
end
But I really want you to show me the real experience that it will give me, depending on the stage
So it would look like:
Experience: XXXX for your level.
Last edited: