Jump to content

Lilith

Members
  • Posts

    407
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by Lilith

  1. This small modification allow you to manage damage of skills.

    Request: this topic

    Ver.2.1: patch updated.

    You can change the skill damage in file db/skill_damage_db.txt (skill_damage.txt)

    Version 1.1: added more options for manage skills damage on specific mapflags ( QQfoolsorellina'sSuggestion )

    // Manage skill damage [Lilith]

    // Format: Skill ID, % damage: Normal Maps, PvP Maps, GvG Maps, BG Maps{,flag}

    // Flag may be:

    // nothing - for full additional damage

    // 1 - for ATK based part of damage

    // 2 - for MATK based part of damage

    // 4 - for misc part of damage

    // Example:

    // 42,100,50,130,75 - Skill 'Mammonite' will be have full additional damage to

    // 100% for normal maps, 50% for pvp, 130% for gvg and 75% for bg maps

    // 379,100,100,10,15,1 - Skill 'Soul Destroyer' will be have additional ATK based only damage, not MATK, to

    // 100% for normal and pvp maps, 10% for gvg and -15% for bg maps

    // Notice: percentage may taking a negative value

    // Mammonite: +100%, +50%, +130%, +75%

    42,100,50,130,75

    // Cart Termination: + 15%, +100%, +10%, +20%

    485,15,100,10,20

    // Adoramus: -50%, +100%, -10%, +70%

    2040,-50,100,-10,70

    // Soul Destroyer: ATK ONLY +100%, +100%, +10%, -15%

    379,100,100,10,-15,1

    Version 2.0: added map bitflag ( Lighta's Suggestion )

    // Manage skill damage [Lilith]

    // Format: Skill ID, Mode, PC damage, Mob Damage, Boss Damage, Other damage

    // Mode

    // 1 - normal maps

    // 2 - PVP

    // 4 - GVG

    // 8 - Battlegrounds

    // 32 - zone 1

    // 64 - zone 2

    // 128 - zone 3

    // 256 - zone 4

    // 512 - zone 5

    // 1024 - zone 6

    // 2048 - zone 7

    // Examples:

    // Mammonite: Normal maps, 0% on players, +50% on mobs, -30% on boss monsters, +10% on others

    // 42,1,0,50,-30,10

    // Adoramus: PvP & GvG maps, +50% on players, -50% on mobs, 0% on boss monsters, 0% on others

    // 2040,6,50,-50,0,0

    Version 2.1:(Updated 2.0)

    // Manage skill damage [Lilith]

    // Format: Skill ID, Mode, Damage against Players{, Damage against Mobs{, Damage against Bosses{, Damage against Other}}}

    // Mode

    // 1 - restricted in normal maps

    // 2 - restricted in PVP

    // 4 - restricted in GVG

    // 8 - restricted in Battlegrounds

    // Restricted zones - they're configured by 'restricted <number>' mapflag

    // 32 - restricted in zone 1

    // 64 - restricted in zone 2

    // 128 - restricted in zone 3

    // 256 - restricted in zone 4

    // 512 - restricted in zone 5

    // 1024 - restricted in zone 6

    // 2048 - restricted in zone 7

    //

    // Examples:

    // Mammonite: Normal maps, +50% against players, nothing else.

    // 42,1,50

    // Adoramus: PvP & GvG maps, +50% against players, +0% against mobs, +10% against boss monsters, +15% against others

    // 2040,6,50,0,10,15

    Skill_damage_v1.1.patch

    Manage_Skill_Damage_2.0.patch

    manage_skill_damage_v2.1_rAthena17121.patch

    • Upvote 13
  2. // renewal EDP increases your base atk by atk x skill level

    // renewal EDP increases your weapon atk by watk x Skill Level - 1

    If you want change damage of str based ASC_BREAKER skill with EDP only:

    battle.c -> search

    case ASC_BREAKER:

    skillratio += 100*skill_lv-100;

    break;

    and change to

    case ASC_BREAKER:

    if(sc && sc->data[sC_EDP])

    skillratio += 100*skill_lv-100; // <-- you needs modify this formula

    else

    skillratio += 100*skill_lv-100;

    break;

    maybe i'm wrong because not tested

  3. This code adds the 'item bonuses' to players without any items.

    The code have 3 settings if conf/player.conf

    // Enable [1-2] or disable[0] player's Extra Bonuses?

    // 1 = enable for all players any bonuses from db/extra_bonuses.txt

    // 2 = enable only for players which have a specific variable "EXTRA_BONUS"

    enable_extra_bonus: 2

    I make '2' setting for faction-like systems. Just set the player variable EXTRA_BONUS to 1, and player will be received first line bonuses from db/extra_bonuses.txt

    You can add/change/delete bonuses in/from file db/extra_bonuses.txt

    // Extra Bonuses [Lilith]

    // If enable_extra_bonus is 1 this and below Extra bonuses will be received by all players

    // If enable_extra_bonus is 2 this Extra bonus will be received by players which have variable EXTRA_BONUS = 1

    { bonus bStr,15; bonus bSpeedAddRate,50; /* more bonuses */ }

    // If enable_extra_bonus is 2 this Extra bonus will be received by players which have variable EXTRA_BONUS = 2

    { bonus bAgi,10; bonus bMdef,30; /* more bonuses */ }

    // More bonuses...etc...

    {}

    {}

    {}

    Bonuses will be reloaded by @reloaditemdb command.

    enjoy.

    Extra_Bonuses.patch

    • Upvote 3
  4. Bug Report v1.6

    Map Serv Crash

    // Specific items for Vending System
    // Format: ItemID
    // For Zeny use 30000, for Cashpoints use 30001
    // Max items is equal MAX_INVENTORY ( 100 by default )
    
    // Zeny
    //30000
    // CashPoints
    30001	  <------ Chose one item_id can't create shop vending
    // TCG Card
    //7227
    // Mithril Coin
    //674
    // Silver Coin
    //675
    // Bronze Coin
    //673
    

    Pls Confirm again

    Do you have item with ID 30001 in your item_db.txt ? :)

    30001,Cash,Cash,3,,10,10,,,,,,,,,,,,,{},{},{}

    Of course, i forgot make fix if file item_vending.txt is empty.... ;)

  5. example

    morocc mapflag loadevent
    
    - script restrict -1,{
    
    OnPCLoadMapEvent:
    if(strcharinfo(3) == "morocc" &&
    getlook(6) == 51 && /* Hcolor */
    getlook(7) == 50) /* Ccolor */
    atcommand "@killable";
    end;
    }

    But if you warp out of morocc, @killable will be enabled...

  6. Thx, i'll fix it.

    Updated 3CeAM patch. Now it works!

    Updated to version 1.6!

    Version 1.6:

    • Now you can turn on or turn off Extended Vending System ( see battle/items.conf )
    • Now, if your file item_vending.txt contains only 1 item the Select Window will be skipped

    conf/items.conf

    // Enable[1] or disable[0] extended vending system?

    extended_vending: 1

  7. When i use alt+r.click map-server says:

    <...>

    [Warning]: itemdb_search: Item ID 10 does not exists in the item_db. Using dummy

    data.

    [Warning]: itemdb_search: Item ID 5 does not exists in the item_db. Using dummy

    data.

    [Warning]: itemdb_search: Item ID 5 does not exists in the item_db. Using dummy

    data.

    [Warning]: itemdb_search: Item ID 10 does not exists in the item_db. Using dummy

    data.

    [Warning]: itemdb_search: Item ID 10 does not exists in the item_db. Using dummy

    data.

    [Warning]: itemdb_search: Item ID 10 does not exists in the item_db. Using dummy

    data.

    <...>

    But it works :)

×
×
  • Create New...