1. I have corrected the e-mail settings so that outgoing e-mails from these forums should be sent now. If you tried to Register or Reset your Password, please try again!
    Dismiss Notice

discrepancy between item modifier_list and typeinfo.itemmodifier_list format

Discussion in 'Census: General Discussion' started by Quicktiger, Feb 8, 2012.

  1. Quicktiger

    Quicktiger Guest

    Modifers are of the format:

    <span style="font-family: monospace; font-size: 13px;"><span><modifiers>
    <span><agility<span> <span>displayname="<span>agi"<span> <span>type="<span>attribute"<span> <span>value="<span>12"/>
    <span><strength<span> <span>displayname="<span>str"<span> <span>type="<span>attribute"<span> <span>value="<span>24"/>

    <span></modifiers>
    <span>




    while typeinfo.itemmodifiers are of the format:

    <span style="font-family: monospace; font-size: 13px;"><span><typeinfo<span> <span>damage="<span>8"<span> <span>damagetype="<span>piercing"<span> <span>damagetypeid="<span>2"<span> <span>name="<span>ammo">
    <span><itemmodifier_list>
    <span><itemmodifier<span> <span>desc="<span>range modifier"<span> <span>name="<span>range"<span> <span>type="<span>range"<span> <span>value="<span>5"/>
    <span><itemmodifier<span> <span>desc="<span>accuracy modifier"<span> <span>name="<span>accuracy"<span> <span>type="<span>accuracy"<span> <span>value="<span>1.200000"/>

    <span></itemmodifier_list>



    <span style="font-family: monospace; font-size: 13px;"></typeinfo>

    I believe the former is the one we are going for as it is searchable.  Should the second also change format?  Ideally it should also contain the same fields, such as displayname rather than desc.

     
  2. DanKinney

    DanKinney Guest

    I believe you are correct.  They should be consistent.

    -dan

     

Share This Page