[INVALID] Npc not consume / spend mana

Here we stuff all the bugs we've managed to squash/squish/squelch.
Post Reply
Blue Dragon
UOX3 Apprentice
Posts: 159
Joined: Mon Jan 09, 2012 1:43 am
Has thanked: 0
Been thanked: 0

Npc not consume / spend mana

Post by Blue Dragon »

I've been repairing and NPCs definitely do not spend mana to cast a spell. And do not even need to have mana to cast spells, will then cast spells infinitely, with or without mana.
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

npcs don't need regs either.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

I'm not sure if it's true that NPCs don't use mana. Spawn a lichlord, then do 'CSTATS on him to display his mana-stat at different times after he's been casting spells at you, and you'll see the mana-stat go down.

Note that if you tested this with regular liches, there is a bug in their setup where it says MEDITATION=851 9500 ... or... randomize between 85.1 and 950.0 meditation skill :P That high meditation-skill completely breaks the mana-regen, and as such they would regain instantly whatever mana they used :P I've fixed that one for the next version heh.
-= Ho Eyo He Hum =-
Blue Dragon
UOX3 Apprentice
Posts: 159
Joined: Mon Jan 09, 2012 1:43 am
Has thanked: 0
Been thanked: 0

Post by Blue Dragon »

Sorry, was mistake my . They are using mana yes! But I watched it for the command. "Tweak". In it, the life and stamina always updated, but the mana no update, then I thought it did not consume mana, but with the command ". Cstas" I saw that they use mana yes. Ok then!
Post Reply