Go Back   RunUO - Ultima Online Emulation > RunUO > Core Modifications > Other

Other Cant find a category above, use this one! Core mods not listed above go here!

Reply
 
Thread Tools Display Modes
Old 11-29-2005, 08:04 AM   #1 (permalink)
Forum Novice
 
Join Date: Jun 2005
Location: Turkey
Age: 24
Posts: 105
Default PoisonStrike bug

hi i find a bug in the PoisonStrike spell. if a murderer throw poision strike spell to any one if one or more innoncent near(1 square) the target(player or npc) affect by the spell but caster dont be a agressor the innoncents(dont do criminal action).

note:i am using runuo1.0.0 (may i wrote wrong but i am using latest release) and i dont change anything on the necromancer spells.
hollysong is offline   Reply With Quote
Old 11-29-2005, 12:15 PM   #2 (permalink)
Forum Expert
 
Tannis's Avatar
 
Join Date: Feb 2004
Age: 26
Posts: 2,047
Default

This isn't really the place to post this problem. If indeed it really is a bug, there is a bug tracker around somewhere I think.
Tannis is offline   Reply With Quote
Old 11-29-2005, 12:42 PM   #3 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by Tannis
This isn't really the place to post this problem. If indeed it really is a bug, there is a bug tracker around somewhere I think.
The bug tracker has been down for like 2 months.

It wasn't really used and was a total and complete mess, those were the words of Asayre more or less ;-)
Phantom is offline   Reply With Quote
Old 11-29-2005, 02:42 PM   #4 (permalink)
Forum Expert
 
arul's Avatar
 
Join Date: Jan 2005
Location: Hiding in your room.
Age: 21
Posts: 1,272
Send a message via MSN to arul
Default

Quote:
Originally Posted by hollysong
hi i find a bug in the PoisonStrike spell. if a murderer throw poision strike spell to any one if one or more innoncent near(1 square) the target(player or npc) affect by the spell but caster dont be a agressor the innoncents(dont do criminal action).

note:i am using runuo1.0.0 (may i wrote wrong but i am using latest release) and i dont change anything on the necromancer spells.
Just open your PoisonStrike.cs and add the code in red
Code:
					for ( int i = 0; i < targets.Count; ++i )
					{
						Mobile targ = (Mobile)targets[i];

						int num;

						if ( targ.InRange( m.Location, 0 ) )
							num = 1;
						else if ( targ.InRange( m.Location, 1 ) )
							num = 2;
						else
							num = 3;

                                                 targ.RegisterDamage(((int)damage / num), Caster);
                                                 Caster.DoHarmful(targ);

                                                 SpellHelper.Damage( this, targ, damage / num, 0, 0, 0, 100, 0 );
					}
It's not maybe the best way how to do it, but it's working
arul is offline   Reply With Quote
Old 12-01-2005, 03:31 AM   #5 (permalink)
Forum Expert
 
Join Date: Oct 2002
Location: Germany (american though)
Age: 32
Posts: 957
Default

Quote:
Originally Posted by Phantom
It wasn't really used and was a total and complete mess, those were the words of Asayre more or less
hehe Phantom rhyming
Jarrod is offline   Reply With Quote
Old 01-19-2006, 09:56 PM   #6 (permalink)
Forum Novice
 
Join Date: Jun 2005
Location: Turkey
Age: 24
Posts: 105
Default

thanx arul i will try ...
hollysong is offline   Reply With Quote
Old 02-01-2006, 04:12 PM   #7 (permalink)
Forum Novice
 
Join Date: Jun 2005
Location: Turkey
Age: 24
Posts: 105
Default

thanx arul i tried(finished my final exams and i am ok now ) and good worx thanx for your help
hollysong is offline   Reply With Quote
Old 02-02-2006, 12:23 PM   #8 (permalink)
 
Join Date: Oct 2002
Age: 22
Posts: 4,689
Default

Isn't this a problem with many of the necro spells?
XxSP1DERxX is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5