Spell Messages

General MajorMUD Discussion
Post Reply
Corvette
Posts: 66
Joined: Thu Dec 12, 2013 10:55 pm

Spell Messages

Post by Corvette »

What file or option do I edit the spell response messages? Not sure if I'm explaining this correctly. For example, I have a druid scripting MajorMUD using acid tempest. But the damage/cast % does not seem to pick up in the player statistics. I'm assuming this is due to it not recognizing the spell message.

Under Options --> Game Data... --> Spells

Looking up acid tempest:

It lists starting message "2305"
Cast on ending: drenched in acid

Where do I find this starting message "2305"

I found tempest (under messages/responses) that lists:

The wind and rain batter {target} for {dmg} damage!

Is this the message it is trying to use to record damage?

Do I need to change that description?

When casting it says this:

You summon a powerful tempest into the room!
Your foes are drenched in acid as the wind batters them for 340 damage!


sigma
Posts: 19
Joined: Fri Apr 29, 2011 11:59 am

Re: Spell Messages

Post by sigma »

Message 2305 is likely the "You summon a powerful tempest into the room!" line, which could be verified in NMR, but I don't have it available where I'm posting from. Either way, that line doesn't do anything with Megamud.

You're likely looking at the correct message entry, it's just not quite set up correctly (which makes sense considering Megamud wasn't updated for the very last versions of mud, so some pieces are missing/incorrect).

Without access to NMR, the easiest (and safest-- as in not breaking something else by changing the wrong message entry) way I can suggest to fix your data tracking issue is to add a new message/response entry, call it whatever the spell is labeled as in the spells tab in your game data (specifically "acid tempest" by default), then cut-and-paste the line showing how much damage your spell did... from your post above, it would be this line (note I replaced the number with the {dmg} variable):

Your foes are drenched in acid as the wind batters them for {dmg} damage!

IIRC, I had to do this with Eldritch Fury on my mage since there's no message entry for it at all in Megamud.


Corvette
Posts: 66
Joined: Thu Dec 12, 2013 10:55 pm

Re: Spell Messages

Post by Corvette »

Thanks, that worked! Also allowed me to fix ember as well using that as well.


Post Reply