Search found 16 matches

by Azzerhoden
Thu Nov 24, 2022 3:55 am
Forum: The JScript Vault
Topic: Discord Bot for creating accounts, rules acceptance.
Replies: 0
Views: 9432

Discord Bot for creating accounts, rules acceptance.

On my discord server for the Hyperion UOX3 server, I have a discord bot up and running that, along with permissions, requires that players accept the server rules, then after accepting those rules, allows them to create their own accounts. This script was built for my own discord server, but you sho...
by Azzerhoden
Wed Nov 23, 2022 7:42 pm
Forum: The DFN Vault
Topic: Necromancer Summoned Creatures
Replies: 0
Views: 9502

Necromancer Summoned Creatures

As part of the necromancy spell line, these creatures can be summoned by necromancers. The necromancer_spells.js thread can be found here: https://www.uox3.org/forums/viewtopic.php?f=5&t=2758&p=13907#p13907 // Creatures summoned by a necromancer [zombie-summon] { NAME=#//a zombie ID=0x0003 SKIN=0000...
by Azzerhoden
Wed Nov 23, 2022 7:37 pm
Forum: The JScript Vault
Topic: Customized Necromancy Spells
Replies: 1
Views: 6467

Re: Customized Necromancy Spells

Here is the necromancer_spells.js code. For the necrosummoned.dfn file (source for necro summoned creatures, follow this link: https://www.uox3.org/forums/viewtopic.php?f=13&t=2759 For ghouls_touch.js: https://www.uox3.org/forums/viewtopic.php?f=5&t=2751 For life_drain.js: https://www.uox3.org/forum...
by Azzerhoden
Wed Nov 23, 2022 7:36 pm
Forum: The JScript Vault
Topic: Customized Necromancy Spells
Replies: 1
Views: 6467

Customized Necromancy Spells

This script was developed using dragon_slayers necro build out for guidance and inspiration. The spells contained here in are: # . . Spell Name . . . . . . . . . . Mana . . SKill . . . .Descptions 1 . . Call the Dead . . . . . . . . . . 7 . . . . 0 . . . . Summons Skeleton, Zombie, Wraith 2 . . Repa...
by Azzerhoden
Wed Nov 23, 2022 7:24 pm
Forum: The JScript Vault
Topic: Fear Aura
Replies: 0
Views: 9486

Fear Aura

As part of my Necromancy spell line, Necromancers can summon ghosts, and for ghost I have added this 'fear aura' ability. There is only a 25% chance that the aura will go off, and there is a chance for those caught in the aura to resist. This ability is based on the life_drain_aura.js script. // For...
by Azzerhoden
Wed Nov 23, 2022 7:21 pm
Forum: The JScript Vault
Topic: Life Drain (on attack)
Replies: 0
Views: 9553

Life Drain (on attack)

The following script applies a life drain effect on a successful attack. I use this on wraiths and the chance of a life drain during an attack is 25%. It's based on the life_drain_aura.js file // For creatures that can drain life of target when they are hit in combat. From the life_drain_aura.js scr...
by Azzerhoden
Sun Nov 06, 2022 10:28 pm
Forum: The JScript Vault
Topic: Customized Paladin Spells
Replies: 2
Views: 6895

Re: Customized Paladin Spells

I am sure this tithing script can be written better, but for now, here it is for your convenience. First I added a file for invisible floor tiles that I placed on the ankh tiles in the wilderness and within the Britain church. .\dfndata\items\building\floors\invisible_tiles.dfn // Invisible tiles th...
by Azzerhoden
Sun Nov 06, 2022 9:37 pm
Forum: The JScript Vault
Topic: Customized Paladin Spells
Replies: 2
Views: 6895

Re: Customized Paladin Spells

At some later point I will rebuild the book and allow for scribing of Paladin spells. Will also move the hard coded spell values to spells.dfn for easier tweaking. BUG FIXES (code above already changed) #1 - On the attached file, on the function function isTargetCriminal(pUser, myTarget) { if (myTar...
by Azzerhoden
Sun Nov 06, 2022 9:36 pm
Forum: The JScript Vault
Topic: Customized Paladin Spells
Replies: 2
Views: 6895

Customized Paladin Spells

Added the following paladin spells and attached them to the Paladin spell book. The spells added are: #. . Name . . . . . . . . . . Mana . . . .Skill . . .Tithing . . . . . Description 1 -- Create Food . . . . . . . 5 . . . . . 0 . . . . . . 5 . . . . . . . As Mage Spell 2 -- Divine Prayer . . . . ....
by Azzerhoden
Fri Oct 21, 2022 6:08 pm
Forum: The JScript Vault
Topic: Ghouls Touch
Replies: 1
Views: 6894

Ghouls Touch

Added the following script based on DragonSlayers advance spider ai script. This script add's similar functionality to the ghouls paralyzation special effects from D&D. The ghouls has to hit to cause damage, and by default there is a 25% chance for the special attack to come into play. There is also...
by Azzerhoden
Fri Oct 21, 2022 3:25 pm
Forum: The JScript Vault
Topic: Updates to Magic Item Generation
Replies: 1
Views: 6518

Re: Updates to Magic Item Generation

And now the changes to the magic_items.js file. // Magical Items, Pre-AoS style // v1.0 // by Xuri // Last updated August 25thrd, 2021 // // // Define the scriptID you've assigned to this script here: const magicItemScriptID = 3300; const accBonusScriptID = 3301; const armorSpellsScriptID = 3302; co...
by Azzerhoden
Fri Oct 21, 2022 3:18 pm
Forum: The JScript Vault
Topic: Updates to Magic Item Generation
Replies: 1
Views: 6518

Updates to Magic Item Generation

Attached is magic_items.js that includes some changes I made that include the following: Expanded the list of wands/staves to now generate up to 25 different types across the 5 levels. The number of charges in the wand varies based on level. Expanded Jewlery options. Instead of just magic rings, thi...
by Azzerhoden
Fri Oct 14, 2022 8:03 pm
Forum: Bugs & Errors
Topic: Incorrect tag entry for Elf male and Female ghosts
Replies: 0
Views: 9454

Incorrect tag entry for Elf male and Female ghosts

Capturing a discussion from discord in the bugs area. The entry for Elf Male Ghost and Elf Female Ghost incorrectly duplicates the values for Elf Male and Elf Female. The lines should read: [CREATURE 0x25f] { Elf Male Ghost ICON=0x2106 MOVEMENT=LAND } [CREATURE 0x260] { Elf Female Ghost ICON=0x2107 ...
by Azzerhoden
Wed Oct 12, 2022 11:21 pm
Forum: Bugs & Errors
Topic: Reagents Not Being Used
Replies: 0
Views: 9283

Reagents Not Being Used

This is for the spells Clumsy, Create Food, Feeblemind, Magic Arrow, Heal. Around lines 290-310 of level1targ.js, clumsy.js, and createfood.js the existing code is: else if( !mChar.npc && spellType == 0 ) deleteReagents( mChar, mSpell ); resulting in the deleteReagents call not executing. The code s...
by Azzerhoden
Wed Oct 12, 2022 3:16 pm
Forum: Bugs & Errors
Topic: Runebooks Not Reducing runebook.Count on drop
Replies: 0
Views: 8578

Runebooks Not Reducing runebook.Count on drop

Had an issue with Runebooks not recording that there was one less rune in the book when I dropped it. This lead to being told that a runebook was full, even though it only had a few runes in it. Used client output to confirm rouneCount. Confirmed in bugs section of discord by another. Had to add the...
by Azzerhoden
Wed Oct 05, 2022 3:17 pm
Forum: The DFN Vault
Topic: Elvan Names
Replies: 0
Views: 9104

Elvan Names

I found this site that randomly generated some 'Elvan' names for NPCs that I have added into the namelists.dfn file: https://www.fantasynamegenerators.com/elf-names.php // Male Elf Names [RANDOMNAME 19] { Onas Arapeiros Volodar Farphyra Ruehnar Ravavalur Silvyr Phithana Garrik Qiroris Aumanas Xyrcyn...