Jump to content

_Dynosawr_

Members
  • Posts

    69
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by _Dynosawr_

  1. If you want it to ADD stats then it should look like this.

    -<TAB>script<TAB>StatBonus<TAB>-1,{
    OnNPCKillEvent:
    if ( BaseLevel >= 1000 ) {
    statusup2 bStr, 32000;
    statusup2 bAgi, 32000;
    statusup2 bVit, 32000;
    statusup2 bInt, 32000;
    statusup2 bDex, 32000;
    statusup2 bLuk, 32000;
    }
    end;
    }

    If you want it to SET their stats...

    -<TAB>script<TAB>StatBonus<TAB>-1,{
    OnNPCKillEvent:
    if ( BaseLevel >= 1000 ) {
    set bStr, 32000;
    set bAgi, 32000;
    set bVit, 32000;
    set bInt, 32000;
    set bDex, 32000;
    set bLuk, 32000;
    }
    end;
    }

    PS: Highest stat you can get before it resets is around 32,250.

  2. I don't know if this will work but you can try.

    -<TAB>script<TAB>TestChecker<TAB>-1,{
    OnInit:
    defpattern 1, "([^:]+):.*\\(@go|@warp|<INSERT OTHER WARP COMMANDS WITH | BETWEEN EACH>)(\\s.*)?","warped";
    activatepset 1;
    end;
    
    warped:
    dispbottom "You've changed maps.";
    end;
    }

  3. He wants to give TCG out for the winner though

    When using the getitem command, + and - don't work. @bet, if it's 5, meaning the player bet 5, will get 5 of them, or delete 5 of them. It's not based on + or -, but rather the command itself. delitem is the opposide of getitem, so it will instead of giving 5 tickets, it will delete 5 of them.

  4. [color="#000000"]if ( countitem(19252) < 1 || countitem(19251) < 1 || countitem(7227)[color="#000000"] < 2000 || countitem(7539) < 2000[color="#000000"] || countitem([/color]969) < 30000 || Zeny < [color="#006666"]1000000000 ) {[/color][/color][/color]
    [color="#000000"][color="#000000"][color="#006666"]mes "You do not have the required items.";[/color][/color][/color]
    [color="#000000"][color="#000000"][color="#006666"]close;[/color][/color][/color]
    [color="#000000"][color="#000000"][color="#006666"]}[/color][/color][/color]
    [color="#000000"]delitem [/color][color="#006666"]19252[/color][color="#666600"],[/color][color="#006666"]1[/color][color="#666600"];[/color][color="#000000"] 
    delitem [/color][color="#006666"]19251[/color][color="#666600"],[/color][color="#006666"]1[/color][color="#666600"];[/color][color="#000000"] 
    delitem [/color][color="#006666"]7227[/color][color="#666600"],[/color][color="#006666"]2000[/color][color="#666600"];[/color][color="#000000"] 
    delitem [/color][color="#006666"]7539[/color][color="#666600"],[/color][color="#006666"]2000[/color][color="#666600"];[/color][color="#000000"] 
    delitem [/color][color="#006666"]969[/color][color="#666600"],[/color][color="#006666"]30000[/color][color="#666600"];[/color] 
    [color="#000088"]set[/color] [color="#660066"]Zeny[/color][color="#666600"],[/color][color="#660066"]Zeny[/color][color="#666600"]-[/color][color="#006666"]1000000000[/color][color="#666600"];[/color]
    

  5. location <TAB> script <TAB> Warp Portal::Warp001 <TAB> 45,1,1,{
    OnTouch:
    npctalk "Warping...3";
    sleep2 1000;
    npctalk "2";
    sleep2 1000;
    npctalk "1";
    sleep2 1000;
    warp "map",x-coordinate,y-coordinate;
    announce strcharinfo(0)+" has entered <whatever map>",0;
    end;
    }

    You'll have to fill in "map", "x-coordinate","y-coordinate", "<whatever map>" yourself.

  6. It does in fact supportnames, but you need to have a $ after the variable.

    Like this:

    case 1: setarray .@GuardianType$[0],"Sniper Guardian","2730","1","5"; break;
    ...
    ...
    monster "pvp_n_1-1",0,0,.@GuardianType$[0],.@GuardianType$[1],.@GuardianType$[2],$KRVictors,"Guardian::OnHWGuardianKill";

    Without the '$' the server will treat the variable as if you're using integers, which in this case won't work because "Sniper Guardian" is a string.

  7. Alloha, rAthena! It's Dynosawr here, or as my forum name suggests: Joey.

    (This is my first released script, hence the crappy topic for it)

    I have a little NPC I wrote right here, and I think it's pretty useful for people with slower computers, (or who play in fullscreen)

    This is the Item Database Editor, which allows you edit anything about an item that's of course, in the item database.

    I strongly recommend you do not edit scripts of items with this NPC, as the string input isn't long enough for longer scripts. If they're small scripts though, go ahead ;P

    Version: 1.6

    Features:

    >Information option on the tables when selected.

    >Selection of 'item_db', 'item_db2', or 'item_db_re'

    >Whisper Function: "NPC:itemdbedit"

    --------------------------------------------

    Working on:

    >equip_jobs info. [ Complete ]

    Leave requests for additional features ;P

    Pastebin:

    http://pastebin.com/raw.php?i=ABv0KBWF

    Direct DL:

    item_db_editor_v1.6.txt

    Main post updated.

    • Upvote 2
×
×
  • Create New...