Garrulous Glaahk Groovejet Posted August 1, 2004 Share Posted August 1, 2004 I designed the foloowing item: Code: begindefineitem 445; clear; it_name = "Sword"; it_full_name = "Sword of Courage"; it_variety = 1; // 1-handed weapon. it_damage_per_level = 12; it_bonus = 5; it_encumbrance = 1; it_floor_which_sheet = 1037; it_floor_which_icon = 2; it_inventory_icon = 3; it_ability_1 = 58; // Mental resistance, +5% / str it_ability_str_1 = 3; it_value = 2000; it_weight = 100; it_magic = 1; I wanted to make it like a longsword with 5 bonus damage (like the magic longsword), but it ends up doing 6-72 damage. May somebody tell me what I did wrong? Thanks Link to comment Share on other sites More sharing options...
Well-Actually War Trall Fort Posted August 1, 2004 Share Posted August 1, 2004 Weapons do not have finite bonuses after their dice damage. Each level of bonus makes the weapon act as if the player had that many extra levels of the appropriate skill. Basically, it adds a die of damage and +5% chance to hit for every level. Link to comment Share on other sites More sharing options...
Unflappable Drayk Fyora Toast With Roamer Butter Posted August 1, 2004 Share Posted August 1, 2004 Look at the code for icy longsword, or burning longsword. I think you can add special types of damage with a sword. Icy sword does +8 cold damage, and burning does +8 fire damage. You might have to come up with a special type of damage though. Link to comment Share on other sites More sharing options...
Recommended Posts