Explosion Potion. Help!
Posted: Tue Jul 06, 2010 12:02 am
I noticed that "explosion potion" and "greater explosion potion" were missing from the DFN. Is this how UO originally was?
In any case, the lesser explosion potion is worthless with its 4 second timer and 8-10 damage done.
I was thinking of upping the damage of lesser explosion and adding and even greater "explosion" and "greater explosion".
It'd make alchemy a bit more interesting anyway.
So I opened the script for potions. The type of potion is govered by "morey". Explosion potions are set at morey ==3. Here is what we have:
I can't see anything in the swtich or the rest of the script (potion.js) that governs the damage being done. (For an example, the healing potions seem to do 5, 10, and 15 + a random 5, 10, 20 roll afterwords.)
If anyone can tell me how the explosion potions work, that would be awesome.
And thanks again for everyones help!
In any case, the lesser explosion potion is worthless with its 4 second timer and 8-10 damage done.
I was thinking of upping the damage of lesser explosion and adding and even greater "explosion" and "greater explosion".
It'd make alchemy a bit more interesting anyway.
So I opened the script for potions. The type of potion is govered by "morey". Explosion potions are set at morey ==3. Here is what we have:
Code: Select all
case 3: // Explosion Potion
var pRegion = pUser.region;
if( pRegion.isGuarded )
{
socket.SysMessage( GetDictionaryEntry( 1347, socket.Language ) ); //You can't use that in town!
return false;
}
else
{
socket.tempObj = iUsed;
DoTempEffect( 0, pUser, pUser, 16, 0, 1, 3 );
DoTempEffect( 0, pUser, pUser, 16, 0, 2, 2 );
DoTempEffect( 0, pUser, pUser, 16, 0, 3, 1 );
DoTempEffect( 1, pUser, iUsed, 17, 0, 4, 0 );
socket.CustomTarget( 0, GetDictionaryEntry( 1348, socket.Language ) ); //Now would be a good time to throw it!
}
break;
If anyone can tell me how the explosion potions work, that would be awesome.
And thanks again for everyones help!