|
||
|
|||||||
| Script Support Get support for modifying RunUO Scripts, or writing your own! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
Join Date: Jan 2004
Location: UK, Essex
Age: 19
Posts: 1,166
|
I am trying to alter the weapon damage that exceptional weapons recieve to 15%.
I have changed the code to the following: Code:
//if ( Attributes.WeaponDamage > 35 )
//Attributes.WeaponDamage -= 20;
//else
//Attributes.WeaponDamage = 15;
#region New Code
Attributes.WeaponDamage = 15;
#endregion
.I remember running into this issue before but I cannot remember for the life of me where the incriminating code is. Any ideas? Thanks ,
__________________
It is not the hand that creates worlds, It is the mind controlling it ! The New Dawn Network |
|
|
|
|
|
#2 (permalink) |
|
Master of the Internet
|
you must be using a runic tool for crafting with
just use a regular tool for crafdting with
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#3 (permalink) |
|
Forum Expert
Join Date: Jan 2004
Location: UK, Essex
Age: 19
Posts: 1,166
|
Can't be, no runic tools even exist on my shard atm it's a fresh server.
__________________
It is not the hand that creates worlds, It is the mind controlling it ! The New Dawn Network |
|
|
|
|
|
#4 (permalink) |
|
Master of the Internet
|
then i do not know how you are getting bonus weapon damage (like the 41%) unless you have modified some other files to produce weapon damage
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#5 (permalink) |
|
Forum Novice
|
I ran across this problem last year also ... if I remember correctly the same code appears in CraftItem.cs and BaseWeapon.cs and you need to change both files...
.... perhaps ... and isn't there something about a bonus being applied if the smith is GM somewhere too? Again if memory serves a non GM smith makes +20 exceptional weps where a GM one makes +35?
__________________
The Hand Controls The Sword, The Mind Controls The Hand. Last edited by Bujinsho; 07-04-2008 at 05:41 AM. |
|
|
|
|
|
#6 (permalink) |
|
Master of the Internet
|
it is gm of armslore bonus you are thinking about
15% & 20% are the 2 diffferent bonuses (exceptional and armslore) at least they USED to be I had to manualy put them back in for them to show up correctly not sure when they where lost in code - could have been distro change or maybe a package i put in long long ago, but the bonus went poof but for the Exceptional bonus damage - anyways it is NOT shown on the weapons display - it is only figured out when the weapon actualy hits and is calculating damage
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#7 (permalink) |
|
Forum Novice
|
hrrrm .... could be ... I'm still trying to remember what the hell I was up to last year *grins* I can hardly remember why I was doing some things, never mind how
Still .... on my shard I have this code .... Code:
if ( quality == 2 )
{
//if ( weapon.Attributes.WeaponDamage > 35 )
// weapon.Attributes.WeaponDamage -= 20;
//else
weapon.Attributes.WeaponDamage += 5;
}
Perhaps the bonus for resource used is calculated first and thats where the problem lies?
__________________
The Hand Controls The Sword, The Mind Controls The Hand. |
|
|
|
|
|
#8 (permalink) |
|
Master of the Internet
|
those are from if it was made with a runic tool and had the bonuses added that way
osi believed you should loose your bonuses from skill if using a runic tool (i modified those sections 2 years ago lol - i believe runic is bonuses to your skill)
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|