[ScryMUD] SVN Commit Info r857 - trunk/mud/grrmud/server

scrymud at wanfear.com scrymud at wanfear.com
Sat Feb 3 15:39:39 PST 2007


Author: eroper
Date: 2007-02-03 15:39:39 -0800 (Sat, 03 Feb 2007)
New Revision: 857

Modified:
   trunk/mud/grrmud/server/misc2.cc
Log:
Fixes: MUD-372
ostat now displays the snum for spells.


Modified: trunk/mud/grrmud/server/misc2.cc
===================================================================
--- trunk/mud/grrmud/server/misc2.cc	2007-02-03 23:23:30 UTC (rev 856)
+++ trunk/mud/grrmud/server/misc2.cc	2007-02-03 23:39:39 UTC (rev 857)
@@ -1437,9 +1437,10 @@
 
        // If being called from ostat, show spell level. 
        if (show_ostat_dat_flag) {
-           Sprintf(buf, "(%s %i) ",
-                   SSCollection::instance().getNameForNum(ptr->stat_spell),
-                   ptr->bonus_duration);
+           Sprintf(buf, "([snum: %d][lvl: %i] \"%s\") ",
+                   ptr->stat_spell,
+                   ptr->bonus_duration,
+                   SSCollection::instance().getNameForNum(ptr->stat_spell));
        } else {
            Sprintf(buf, "(%s) ",
                    SSCollection::instance().getNameForNum(ptr->stat_spell));




More information about the ScryMUD mailing list