Jump to content

Anisotropic Defixation

Members
  • Content Count

    122
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Anisotropic Defixation


  1.  

    Did anyone figure out how to remove the weight from costumed items (or anything worn in the costume tab)?

    Try editing the item db and edit the weight of the costume item.? 

     

    Costumed stuff aren't new items.


  2. Create a function script and make the item usage call it with callfunc.
     
     

    function    script    Random_Box_Script    {    .@[member=Rand] = rand(1,3);    switch(.@[member=Rand])    {        case 1:            getitem 1001,1;            end;        case 2:            getitem 1002,1;            end;        case 3:            getitem 1003,1; // The special item            announce strcharinfo(0)+ " was lucky and obtained the special prize!",bc_map,0x00FF00; // Map announcement            end;    }}

     
     

    {    Id: 1000    AegisName: "Random_Box"    Name: "Random Box"    Type: 18    Buy: 0    Weight: 0    Script: <" callfunc "Random_Box_Script"; ">},

  3. From:

     

     

           	 if( !skill_id ) {                if( sc->data[SC_ENCHANTBLADE] ) {                    //[( ( Skill Lv x 20 ) + 100 ) x ( casterBaseLevel / 150 )] + casterInt                    i = ( sc->data[SC_ENCHANTBLADE]->val1 * 20 + 100 ) * status->get_lv(src) / 150 + status_get_int(src);                    i = i - status->get_total_mdef(target) + status->get_matk(src, 2);                    if( i )                        ATK_ADD(i);                }                if( sc->data[SC_GIANTGROWTH] && rnd()%100 < 15 )                    ATK_ADDRATE(200); // Triple Damage            }

     

    To:

     

     

           	 if( sc->data[SC_ENCHANTBLADE] ) {                //[( ( Skill Lv x 20 ) + 100 ) x ( casterBaseLevel / 150 )] + casterInt                i = ( sc->data[SC_ENCHANTBLADE]->val1 * 20 + 100 ) * status->get_lv(src) / 150 + status_get_int(src);                i = i - status->get_total_mdef(target) + status->get_matk(src, 2);                if( i )                    ATK_ADD(i);            }            if( !skill_id ) {                if( sc->data[SC_GIANTGROWTH] && rnd()%100 < 15 )                    ATK_ADDRATE(200); // Triple Damage            }

  4. You're wrong on this, some people just find plugins cumbersome and hard to deal with. I mentioned this because you already had a normal patch available but decided to remove it.


  5. The easiest way would be to adjust SC_ARMOR_PROPERTY value in sc_config.txt, just change it from 29 to 25.

     

    Be aware that this is the same status used by armor element change scrolls and NPC elemental change skills so those would become dispellable as well. If you don't want this behavior then you would need to create a new SC_ status to be used by SA_ELEMENT skills and ranger traps.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.