Item Level Restriction

02/25/2021 23:30 Lordblubb#1
Hello EPvP,

I have a little Question about Items and level Restriction's.
I mean that I know its possible to make as Example an Knockout Nostrum usable with a min. Level (31+), but is there a Way to make it usable from 31+ till 50? So you cannot use it with 51+?

<3
03/02/2021 08:00 anton1312#2
Quote:
Originally Posted by Lordblubb View Post
Hello EPvP,

I have a little Question about Items and level Restriction's.
I mean that I know its possible to make as Example an Knockout Nostrum usable with a min. Level (31+), but is there a Way to make it usable from 31+ till 50? So you cannot use it with 51+?

<3
Hello, you can contact with me in skype to discuss details ;)
03/03/2021 20:50 Elessar2#3
Code:
[ENABLE]
alloc(newmem,128)
label(return)
label(exit)
label(maps)
label(level)

newmem:
mov ecx,[ebx+30]
cmp [ecx],#100047 //skill reset stone
je maps

exit:
cmp dword ptr [ecx+000000A0],1A
jmp return

maps:
cmp byte ptr[ebp+00000160],#45 // AH
je level

level:
cmp byte ptr [ebp+136],#55 // If higher than level 55
ja 0047469F
jmp exit

00472E20:
jmp newmem
nop
nop
nop
nop
nop
return:

[DISABLE]
dealloc(newmem)
00472E20:
mov ecx,[ebx+30]
cmp dword ptr [ecx+000000A0],1A