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

Spell to transform

Status
Not open for further replies.

Archez

'
Senator
Joined
Jun 26, 2008
Messages
6,589
Solutions
1
Reaction score
73
Location
Mexico
I've been working on this famous spell "transform" which you can find at http://dbv.hopto.org/, but it's been a pain for me as I am not a LUA scripter and it's a bit confusing.

So I would be very grateful if someone is able to do this script for me, if you feel it's too much to do it for free, set up a price.

The way it should work:

If I am level 29, I won't be able to cast "transform" yet, only if I am 30. Once I have reached 30 and transformed, I should be able to cast "transform" again when I reach level 60, and so on.

The advantages of being transformed:

- 30% more max_hp
- 30% more max_mana
- 10% more damage
- unlimited transform time, it shouldn't expire
- outfit change

Thank you. :peace:
 
Last edited:
Why thank you? That was a joke I hope ? :p

Well as I caught it, should be really easy... But I'm not sure how you want it. Will you get 30% more max mana of when you transformed and then continue getting max mana normally on each level... e.g. if I am level 30 and have hp 600 and transform, I get say 800 mana instead... And when I level will I get normally mana or is it 30% from the new level ??
Dunno if u understand, but if it is as I said last (30% from current levels max hp) then you'd just use maybe a storage value in onLogin:
LUA:
local transLevel = getPlayerStorageValue(cid, STORAGEVALUE_TRANSFORM)
if(transLevel == 1) then -- has transformed ONCE... 
    -- set max mana 30%
end

Do you understand what I mean? Not sure if this is how you wanted though xD
 
Last edited:
Why thank you? That was a joke I hope ? :toung:

Well as I caught it, should be really easy... But I'm not sure how you want it. Will you get 30% more max mana of when you transformed and then continue getting max mana normally on each level... e.g. if I am level 30 and have hp 600 and transform, I get say 800 mana instead... And when I level will I get normally mana or is it 30% from the new level ??
Dunno if u understand, but if it is as I said last (30% from current levels max hp) then you'd just use maybe a storage value in onLogin:
LUA:
local transLevel = getPlayerStorageValue(cid, STORAGEVALUE_TRANSFORM)
if(transLevel == 1) then -- has transformed ONCE... 
    -- set max mana 30%
end

Do you understand what I mean? Not sure if this is how you wanted though xD

That's exactly how I need this script to work, you understood my point very well. So, if you do have the time to do this and you want to, I would appreciate this a lot. And as I mentioned before, I am willing to pay if you request it so.
 
it shouldn't take mroe than 4 minutes to make lol...... if ever i'd ask for money is if i spent 50 hours on it xD

Anyway, if I am allowed to transform at 30 but decide to do it at 40, will my next transform still be 60 or will it be delayed to 70 because I waited 10 levels ?
 
Humm back, i want to know what should happen when the transform is removed ? the 30% he got will be removed?

And when you use transform in lvl 60 it will differ than from lvl 30?



@up

It was a joke.....
 
Last edited:
@colandus

What abut increasing damage percent, Me myself havnt try to do this before , or by other way i donno how to do that, and dont even know if this is possible anyway. ^_^

if one would tell me it is possible i would start trying :)
 
Last edited:
not sure, but which parametrs does onAttack have?

otherwise i could make a quick compile for him in the source he uses if its not possible in lua
 
only onStatsChange, but you would need to execute it for every creature. :p

source edit is better anyways ;/
 
Ye i thought of that too. There should be somthng like [registerCreatureEvent(monsters, "Idle")] :p that would regestire all monsters in mosters file or somthng.
 
yeh it would take a second to fix it in sources, that's how i would have done it anyway since it would probably take too much of the server to do all that shit each attack

if archez tells us which distro he uses (and even better if link sources) and also answer my question at #11
 
Status
Not open for further replies.
Back
Top