Jump to content

ewanjeli

Members
  • Posts

    41
  • Joined

  • Last visited

Posts posted by ewanjeli

  1. expanded area is for heal.. this is the script

    this is not my script buut i need to edit it

    dicastes01,197,183,4 script Come here#sanctuary 742,2,2,{
    npctalk "Can you feel my healing powers?";
    if (.npc_map$=="") donpcevent strnpcinfo(3)+"::OnInit";
    end;
    
    OnInit:
    getmapxy .npc_map$,.npc_x,.npc_y, 1;
    setarray .@dx[0], -1, 0, 1,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-1, 0, 1;
    setarray .@dy[0], -2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2;
    for (set .@i,0; .@i<getarraysize(.@dx); set .@i,.@i+1) {
      movenpc "sanctuary#"+.@i, .npc_x+.@dx[.@i], .npc_y+.@dy[.@i];
    }
    OnTimer10000:
    specialeffect 83;
    initnpctimer;
    end;
    
    OnTouch:
    while (getmapxy(.@map$,.@x,.@y,0) == 0) {
     if (.npc_map$!=.@map$ || distance(.@x,.@y, .npc_x,.npc_y) > 2) break;
     if (Hp < MaxHp) {
    percentheal 100,100;
      specialeffect2 312;
      sc_start SC_BLESSING,360000,5;
      sc_start SC_INCREASEAGI,360000,5;
     }
     sleep2 1000;
    }
    end;
    }
    

  2. i want to expand the area 5x5 cell around npc to 15x15 cell

    setarray .@dx[0], -1, 0, 1,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-2,-1, 0, 1, 2,-1, 0, 1;
    setarray .@dy[0], -2,-2,-2,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2;
    

    can someone explain....

  3. i have restart server after edit it. and create new char. but start map still at new_1-1

    thx administrator. i have done that still not change.

    i have test @warp dicastes01 198 179, sure i can

    can i ask does this have anything todo in src file?... im blank now

    here my error video.. need some help me

  4. i want to make custom armor with sprite.. but when the armor is put on. noting happen..

    here my script

    item_db2

    25029,4th_Hokage,4th_Hokage,5,,,10,0,10,,1,0xFFFFFFFF,7,2,16,,0,1,966,{},{},{}

    accessoryid

    ACCESSORY_Hokage = 966,

    accname

    [ACCESSORY_IDs.ACCESSORY_Hokage] = "_yondaime",

    idnum2itemdisplaynametable

    25029#4th_Hokage#

    idnum2itemresnametable

    25029#yondaime#

    itemInfo

    [25029] = {

    unidentifiedDisplayName = "",

    unidentifiedResourceName = "",

    unidentifiedDescriptionName = {

    },

    identifiedDisplayName = "4th Hokage",

    identifiedResourceName = "yondaime",

    identifiedDescriptionName = {

    },

    slotCount = 1,

    ClassNum = 0

    },

    itemslotcounttable

    25029#1#

    idnum2itemdesctable

    25029#

    Cloth of a legendary Hokage Yondaime

    Defense :^777777 10^000000

    Weight :^777777 10^000000

    Applicable Job :^777777 All Classes^000000

    #

    here sprite..

    http://www.mediafire.com/?oaep8o88j6ypak4

  5. start map and starting zeny wont change after edit in char_athena.conf

    // Start point, Map name followed by coordinates (x,y)

    start_point: dicastes01,198,179

    // Starting zeny for new characters

    start_zeny: 50000

    after change in char_athena.conf... the start pont still at new_1-1 nad amount zeny still 0..

    please help me

  6. im adding custom item in my server.. but item just show apple..

    i still dont understand what is iteminfo.lub and where to get,where to put it...

    here my

    data\luafiles514\lua files\datainfo\accessoryid.lub

    ACCESSORY_White_Aura = 935,

    data\luafiles514\lua files\datainfo\accname.lub

    [ACCESSORY_IDs.ACCESSORY_White_Aura] = "_White_Chakra",

    idnum2itemdisplaynametable

    20005#White_Aura#

    idnum2itemdesctable

    #20005#

    A pure aura.

    Class :^777777 Headgear^000000

    Weight :^777777 10^000000

    Applicable Job :^777777 Every Job^000000

    #

    idnum2itemresnametable

    20005#White_Chakra#

    iteminfo

    [20005] = {

    unidentifiedDisplayName = "",

    unidentifiedResourceName = "",

    unidentifiedDescriptionName = {

    },

    identifiedDisplayName = "White Aura",

    identifiedResourceName = "White_Chakra",

    identifiedDescriptionName = {

    "A pure aura.",

    "Class :^777777 Headgear^000000",

    "Weight :^777777 10^000000",

    "Applicable Job :^777777 Every Job^000000",

    },

    slotCount = 1,

    ClassNum = 0

    },

    item_db2

    20005,White_Aura,White_Aura,5,20,,10,,10,,1,0xFFFFFFFF,7,2,1,,0,1,935,{},{},{}

×
×
  • Create New...