Bug Reports · Legacy archive

Character status

Started by Agar Feb 5, 2003 4 posts Locked

  1. Character status

    #1
    I noticed that all the character entries, no matter how many hits, one or five to six hundred, all the status of every one is Unknown. Is that not working or does it have different levels than the other submissions?
  2. Character status

    #2
    Will check it out this weekend. Thanks for pointing it out.

    I am not positive but I may not have any kind of ranking system for it....

    The others are up for any kind of editing as well. Will post them for comments and/or changes this weekend.
  3. Character status

    #3
    NPC thing should work now. Here are what I came up. Please suggest something better if you have something!!

    if ($item_hits > 550)
    {print 'Legendary Item';}
    elseif ($item_hits > 450)
    {print 'Coveted Item';}
    elseif ($item_hits > 375)
    {print 'Known Item';}
    elseif ($item_hits > 300)
    {print 'Rare Item';}
    elseif ($item_hits > 225)
    {print 'Known Relic';}
    elseif ($item_hits > 150)
    {print 'Rare Relic';}
    elseif ($item_hits > 75)
    {print 'Ancient Artifact';}
    elseif ($item_hits > 35)
    {print 'Lost Artifact';}
    elseif ($item_hits >= 0)
    {print 'Unknown';}
    --------

    if ($npc_hits > 550)
    {print 'Legendary Hero';}
    elseif ($npc_hits > 450)
    {print 'Hero';}
    elseif ($npc_hits > 375)
    {print 'City Hero';}
    elseif ($npc_hits > 300)
    {print 'Kingsman';}
    elseif ($npc_hits > 225)
    {print 'Respected Countrymen';}
    elseif ($npc_hits > 150)
    {print 'Respectable Citizen';}
    elseif ($npc_hits > 75)
    {print 'Farmer';}
    elseif ($npc_hits > 35)
    {print 'Drunkard';}
    elseif ($npc_hits >= 0)
    {print 'Unknown';}
    ------------

    if ($plot_hits > 550)
    {print 'Legendary';}
    elseif ($plot_hits > 450)
    {print 'Widespread Lore';}
    elseif ($plot_hits > 375)
    {print 'City Lore';}
    elseif ($plot_hits > 300)
    {print 'Widespread Rumor';}
    elseif ($plot_hits > 225)
    {print 'City Rumor';}
    elseif ($plot_hits > 150)
    {print 'Bar Gossip';}
    elseif ($plot_hits > 75)
    {print 'Ancient Myth';}
    elseif ($plot_hits > 35)
    {print 'Lost Knowledge';}
    elseif ($plot_hits >= 0)
    {print 'Unknown';}
  4. Character status

    #4
    you could probably replace the:
    elseif ($WHATEVER_hits >= 0)
    and replace it with "else" to be sure to get ever possible scenario including null values.

    i.e. make it inclusive instead of exclusive

Bug Reports · All categories · Guildhall