|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
Join Date: Dec 2006
Posts: 455
|
More Effective Fukiya and Fukiya Dart System Description: Hey guys, as you know I have been revamping my Ninja profession lately, and I redid the Fukiya system to make it more effective. for those of you that don't know the Fukiya is like a blowgun, that shoots Fukiya darts at enemies. What I did to revamp the system: just made it do more damage (random damage between 30 and 50) (this damage amount can be easily adjusted around line: 122 in Fukiya.cs). Also, now the Fukiya will have the following chances: 1 in 10 chance of applying Lesser poison to the target. 3 in 10 chance of applying Regular poison to the target 2 in 10 chance of applying Greater poison to the target. 2 in 10 chance of applying Deadly poison to the target. 1 in 10 chance of applying Lethal poison to the target. 1 in 10 chance of striking a fatal blow (killing target instantly). upon the target being hit with a fatal blow, they will receive a message saying they have been hit with a fatal Fukiya blow. so they know why they just dropped dead O_0 and the shooter will also be notified of the fatal blow. I have removed the option for players to add poison of their choice to the Fukiya darts, which will force the Fukiya dart to have one of the random 10 effects above. Installation: replace your current "Fukiya.cs" and "FukiyaDarts.cs" and "Poisoning.cs" scripts with the ones attached. Fukiya.cs path: Server/Scripts/Items/Skill Items/Ninjitsu/ FukiyaDarts.cs path: Server/Scripts/Items/Skill Items/Ninjitsu/ Poisoning.cs path: Server/Scripts/Skills/ If you don't wish to replace your poisoning.cs script, its an easy modification required. find: Code:
else if ( m_Target is FukiyaDarts )
{
((FukiyaDarts)m_Target).Poison = m_Poison;
((FukiyaDarts)m_Target).PoisonCharges = Math.Min( 18 - (m_Poison.Level * 2), ((FukiyaDarts)m_Target).UsesRemaining );
}
And delete all those lines of code. post any problems / bugs found please ![]() hope you enjoy this one, cause I'm sure all ninjas will! ![]() regards Typhoonbot
__________________
legendsofkaine.page.tl
Last edited by typhoonbot; 07-05-2008 at 12:43 PM. |
|
|
|
![]() |
| Bookmarks |
| Tags |
| advanced, fukiya |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|