Cole1497 Posted April 19, 2012 Share Posted April 19, 2012 I need help in obtaining a script that I can attach to a weapon so that, while fighting with it, it has the chance of killing the opponent on strike (preferably a low percentage). Link to comment Share on other sites More sharing options...
TerraMcCloud Posted April 20, 2012 Share Posted April 20, 2012 Theres a legit weapon that does that, a dagger, called mehrunes razor. Im sure someone could copy the script from that. Link to comment Share on other sites More sharing options...
Lanceor Posted April 20, 2012 Share Posted April 20, 2012 Are you looking for a ready-to-go mod, or are you doing some modding and need just the script? If done as part of an enchantment, instakill would be very easy. For example: Fire damage 20 pts on strikeSoul Trap for 3 seconds on strikeScripted chance of instant kill. If you'd like something like this, just tell me precisely what effects you want, (including all effect magnitudes and durations, % chance to instakill, charges per use and total number of charges in the weapon) and I'll whip up a sigil stone for you. Or let me know if you're modding and want the script. Link to comment Share on other sites More sharing options...
Cole1497 Posted April 21, 2012 Author Share Posted April 21, 2012 I'm pretty sure mehrune's razor's instant kill is only in Skyrim, not Oblivion. Or let me know if you're modding and want the script. Yes, just the script would be nice. I'd like the percentage to be around 5-10. Anywhere in that margin will do. Link to comment Share on other sites More sharing options...
Lanceor Posted April 22, 2012 Share Posted April 22, 2012 Here you go. :) scriptname aaaInstakillScript Float InstakillChance Float RandomNumber BEGIN SCRIPTEFFECTSTART set InstakillChance to 7.5 ;<--------- Edit this to whatever number you want. Initially set at 7.5%. Set RandomNumber to Rand 0 100 ;<--------- Generates a random number from 0.0000 to 100.0000 if ( RandomNumber <= InstakillChance ) message "The victim was killed instantly!" ;<--------- Optional message - delete this line if you don't want it. Kill ;<--------- Kills the target! endif END Save this as a Magic Effect Script, not an Object or Quest Script. To add it to a weapon, create (or edit) an enchantment and add "Scripted Effect". Choose aaaInstakillScript (or whatever you renamed it to) as the script effect and edit the description to whatever you like. Oh BTW, in Oblivion, Mehrunes Razor has a chance to instakill Daedra. ;) Hope that helps! Link to comment Share on other sites More sharing options...
Cole1497 Posted April 22, 2012 Author Share Posted April 22, 2012 Wow, thanks :D Link to comment Share on other sites More sharing options...
jamochawoke Posted April 28, 2012 Share Posted April 28, 2012 In Oblivion Mehrune's Razor has a percent chance to insta-kill on any enemy type with some message claiming the soul for Mehrune's Dagon when it happens. It was my favorite DLC and I played with the dagger a lot. Link to comment Share on other sites More sharing options...
Recommended Posts