[VERIFIED] About magic fire field and poison field

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
Blue Dragon
UOX3 Apprentice
Posts: 159
Joined: Mon Jan 09, 2012 1:43 am
Has thanked: 0
Been thanked: 0

About magic fire field and poison field

Post by Blue Dragon »

I'm not sure, but I think the magic fire field can be bug.

It is very, say, powerful. For a fourth magic circle, it is taking damage absurd, very strong and very fast.

Within seconds it kills an NPC with 1000, 1500 life.

Also do not know if it should be so, however unlike the others magics that in a configuration of parameters you can control the distance that it can be cast, the field spells (fire field, poison field and derivatives) not have distance limits.

And lastly, I'm not sure, it seems that the NPC does not consider a fire field as an attack by a player, because if you attack him from a distance that the NPC does not appear on the screen, through the bar of his life, he is taking damage from magic and no reaction. Apparently will only attack when they see the player and not because he was attacked by magic.


I do not know if it would be so, but when poison fields gets a deadly poison on a npc with greatest life, he takes more damage from poison, soon just a deadly poison quickly decreases to zero the life of any NPC.
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 »

You can control the damage a magic field put sout in spells.dfn same to all spells :)
Blue Dragon
UOX3 Apprentice
Posts: 159
Joined: Mon Jan 09, 2012 1:43 am
Has thanked: 0
Been thanked: 0

Post by Blue Dragon »

I understand the part of spells.dfn, but did not understand the rest, could be more specific?

Has to change speed and damage of fire field in spells dfn? How? I did not understand that part.

But the question of range/distance, normal?


Enjoying the moment a doubt ... Where controls the summons summon creature created by magic? I edited the npcs and now does not invoke any more ...
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 »

the range of the spells is controlled in uox.ini This controls all spells ranges.

danmage a spell gives is controlled in the spell.dfn

should be a tagged called BASEDMG=17.

Now remind your self spells do double damage to Monsters and animals and NON player chars.

One other thing is make sure your monster or animal has MAGICRESIST=500 1000 TAG or it will not have any magic resists against spells.
Blue Dragon
UOX3 Apprentice
Posts: 159
Joined: Mon Jan 09, 2012 1:43 am
Has thanked: 0
Been thanked: 0

Post by Blue Dragon »

Hummm...

I tried using this BASEDMG in fire field and put damage = 1, only to test, but even so the damage to the npc continued taking 40, 40, 40, 40, and sometimes 20 ... And the damage occurred at a rapid speed too. RS of npc was 400.

Yes, the distance of the spells are controlled in uox.ini. There are SPELLMAXRANGE=10, but even so the cast of spells listed in this topic goes beyond that. A flame strike or another magic of direct damage is not cast in distance allows placed, but the "fields" allow...
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 »

So magic fields might be bugged. I guess xuri would have to look at code as I'm not sure about the coding part of uox :)


i tryed to help. we will get this bug fixed I'm sure
Blue Dragon
UOX3 Apprentice
Posts: 159
Joined: Mon Jan 09, 2012 1:43 am
Has thanked: 0
Been thanked: 0

Post by Blue Dragon »

Okay, :mrgreen:.
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 »

A fix for distance-check (now uses same distance-check as other spells, CombatMaxSpellRange in UOX.INI) for Field-spells will be in my next CVS commit. Also fixed an issue where it would display the wrong gfx for field-spells oriented north/south; it would always use the east/west gfx.

As for the damage part... field-spells do not currently take damage-values from the BASEDMG tag in spells.dfn, but use the following formulas:

Fire-field: If resisted, damage equals caster's magery skill / 100. If not resisted, damage equals caster's magery skill / 50. Example: 75.5 magery skill equals 755/100 = 7.55dmg when resisted, and 755/50 = 15.1dmg when not resisted.

Poison-field: If resisted, apply weakest poison (Random 1-2 dmg). If not resisted, and caster's magery is under 99.7, apply moderate poison (mChar.GetHP() * RandomNum( 2, 5 ) / 100 ) + RandomNum( 0, 2 )). If not resisted, and caster's magery is over 99.7, apply strong poison (mChar.GetHP() * RandomNum( 5, 10 ) / 100 ) + RandomNum( 1, 3 )).
-= 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 »

Very good. :D
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 »

Also note that when testing these, make sure you use magery skill comparable to what a normal player would have (i.e. max /set magery 1000 or whatnot), and that you're not invulnerable/GM. Easiest when testing is probably to do something like 'MAkE PLAYER on yourself. If you're on the admin account you'll keep all your GM powers but will be have player-status and not GM.
-= 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 »

Yes, this was tested with a friend playing with player account, possessing magery and eval in 1000 points. I tested it with the command "make player" here now and the aggressiveness of the magic remained the same. A energi bolt taking out of 15 up to 42 damage in npc, already fire field taking almost always 40, and very few times 20 damage and this occurring with a speed somewhat faster. Both were tested in same npc, with a player magery and eval by 1000.

I also noticed that apparently a "fields" of GM does not disappear. This proceeds?
Post Reply