A Few Problems

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.
Post Reply
Daroth
New User
Posts: 15
Joined: Sun Apr 02, 2006 10:01 am

A Few Problems

Post by Daroth »

Alright, i've had people testing a few things, and here is what i'm trying to do:
:arrow: Take off the dexterity minus when wearing armor
:arrow: Allow mages to cast spells while wearing staves
:arrow: Make the best armor equiped while being able to cast bone armor (Leather, studded leather, bone armor. No metal armors)
:arrow: Allow players to drink potions while holding a weapon
:arrow: When a player has a stack of potions, and goes to drink them, it uses the entire stack instead of just 1 potion, I'm trying to fix this.

Well, that's about all i've ran into now. Also, I should have mentioned that I'm a huge noob when it comes to scripts and the like :wink:
I'm not asking for a full explination of what to do, just maybe what file to take a look at, and which part of that file.

Thanks in advance.
drath
New User
Posts: 7
Joined: Tue May 30, 2006 2:44 am

Re: A Few Problems

Post by drath »

Daroth wrote:Alright, i've had people testing a few things, and here is what i'm trying to do:
:arrow: Take off the dexterity minus when wearing armor
:arrow: Allow mages to cast spells while wearing staves
:arrow: Make the best armor equiped while being able to cast bone armor (Leather, studded leather, bone armor. No metal armors)
:arrow: Allow players to drink potions while holding a weapon
:arrow: When a player has a stack of potions, and goes to drink them, it uses the entire stack instead of just 1 potion, I'm trying to fix this.
All this stuff is very very simple to edit. Perhaps you should have just looked around?

1) Look in itemdesc.cfg in the combat folder and remove the dexpenalty cprop on platemail.
2) I believe this is also in the same file, controlled by a cprop.
3) Ditto.
4) This is in drinkpotion.inc, it's documented where the code is to do this function, so just comment everything you don't need.
5) Instead of DestroyItem, use SubtractItem in the drinkpotion.inc include aswell.
Post Reply