Fix mana potion display

Requests of new features and reports on bugs needs to be fixed

Moderators: Murderator+, Murderator

Post Reply
DogStyle
Posts: 17
Joined: 2007-03-19 18:25:51

Fix mana potion display

Post by DogStyle »

hey, i dont know why, but since i use injection for the first time, i never see correctly how many mana potions i have in my bag.

heal potions display OK but mana potions not.


some reason for that?

can i fix this?

HELP!

thx a lot
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Code: Select all

sub ShowMeMyPotions()
  var tMana = # input here type of your mana potions
  var cMana = # input here color of your mana potions
  uo.Print('I have ' + STR(uo.Count(tMana,cMana)) + ' mana potions.')
end sub
aRTha
Posts: 4
Joined: 2010-01-15 17:04:00

Post by aRTha »

Dude,

I wonder how I put my type of mana to appear in the DISPLAY of my client. Is it possible?
Xpree
Posts: 19
Joined: 2010-01-06 17:18:40

Re: Fix mana potion display

Post by Xpree »

artha se voce usa injention use o comando ,info , vai aparecer uma janela com todos os detalhes do item que voce quer saber.
aRTha
Posts: 4
Joined: 2010-01-15 17:04:00

Re: Fix mana potion display

Post by aRTha »

Ae Xpree

uso sim, mas queria que aparece no DISPLAY lá em cima, ou um script descente que ao usar a mana ele contasse eu tentei editar um aqui mas ele n faz a contagem correta vê:

Code: Select all

sub showmana2()
if uo.injournal('Voce tomou') then
UO.Count('0x0F82','0x00C8')
uo.charPrint('11','' + STR(uo.Count('0x0F82','0x00C8')) + ' mana.')
End if
end sub
Post Reply