Search the Community
Showing results for tags 'cool down & regen'.
-
I just discovered this game yesterday 11-27-16 and its pretty cool, I also noticed it had a script directory which eventually led me to this community. I tried all the classes, one which I enjoyed the most was Dragon Mage and this one spell called Dragon Berserk. The only bad thing about the spell is it had a long cool down which really didn't make it that useful. So I took a look at the text files in the scripts directory and noticed they are all written in lua. So I started to mess around with some of the files, given I have a background in programming, the worst that can happen is I would have to reinstall the game. So I thought I would investigate these files and see if I could reduce the cool down of this spell. As you can see from the picture below I've done just that reduced the cool down to 1 second. I've also increased the duration 86,401 seconds basically set it to infinity (for a day) The way I did this is actually quite simple, all I did was open up spells.txt and looked for the spell mgr.defineSpell( "dm_dm_berserkerform", { eiStateName = "cSpellCast", fxTypeCast = "FX_DM_MORPH_BERSERKER_C", fxTypeSpell = "FX_DM_MORPH_BERSERKER", fxTypeCastSpecial = "", duration = 10.000000, animType = "ANIM_TYPE_SM17", animTypeApproach = "", animTypeRide = "", animTypeSpecial = "ANIM_TYPE_RIDESM17-SPECIAL", causesSpellDamage = 1, tokens = { entry0 = {"et_self_shapeshift", 1000, 1995, 0, 41 }, entry1 = {"et_duration_sec", 2750, 25, 0, 8 }, entry2 = {"et_life_leech", 75, 25, 0, 9 }, entry3 = {"et_AWVW_rel", 0, 100, 0, 5 }, entry4 = {"et_charge_shapeshift", 120, 0, 0, 5 }, entry5 = {"et_weapondamage_physical", 0, 25, 0, 9 }, entry6 = {"et_charge_shapeshift", 50, 0, 1, 5 }, entry7 = {"et_addAttackspeed", 200, 0, 2, 41 }, entry8 = {"et_duration_sec", 1000, 10, 3, 8 }, entry9 = {"et_life_leech_rel", 35, 0, 4, 9 }, entry10 = {"et_charge_shapeshift", 50, 0, 5, 5 }, entry11 = {"et_addspell_blutrausch", 1000, 0, 6, 5 }, entry12 = {"et_armor_any_rel", 0, 50, 0, 41 }, entry13 = {"et_life_buff", 150, 260, 0, 9 }, entry14 = {"et_chance_surehit", 100, 2, 0, 5 }, entry15 = {"et_physical_to_magic", 250, 0, 0, 5 }, }, fightDistance = 0.000000, aspect = "EA_DM_DRAGONMAGIC", cooldown = 40.000000 soundProfile = 0, cost_level = 250, cost_base = 500, focus_skill_name = "skill_DM_dragonmagic_focus", lore_skill_name = "skill_DM_dragonmagic_lore", spellClass = "cSpellDmMorph", spellcontroltype = "eCAtype_b_boost_self", sorting_rank = 0, }) And made the changes, please note I did not remove the original values all I did was comment them out and apply the changes. mgr.defineSpell( "dm_dm_berserkerform", { eiStateName = "cSpellCast", fxTypeCast = "FX_DM_MORPH_BERSERKER_C", fxTypeSpell = "FX_DM_MORPH_BERSERKER", fxTypeCastSpecial = "", duration = 1.000000, -- 10.000000 -- the 10 seconds might just be a default value animType = "ANIM_TYPE_SM17", animTypeApproach = "", animTypeRide = "", animTypeSpecial = "ANIM_TYPE_RIDESM17-SPECIAL", causesSpellDamage = 1, tokens = { entry0 = {"et_self_shapeshift", 1000, 1995, 0, 41 }, entry1 = {"et_duration_sec", (6000 * 60 * 24), 25, 0, 8 }, -- {"et_duration_sec", 2750, 25, 0, 8 }, entry2 = {"et_life_leech", 75, 25, 0, 9 }, entry3 = {"et_AWVW_rel", 0, 100, 0, 5 }, entry4 = {"et_charge_shapeshift", 120, 0, 0, 5 }, entry5 = {"et_weapondamage_physical", 0, 25, 0, 9 }, entry6 = {"et_charge_shapeshift", 50, 0, 1, 5 }, entry7 = {"et_addAttackspeed", 200, 0, 2, 41 }, entry8 = {"et_duration_sec", 1000, 10, 3, 8 }, entry9 = {"et_life_leech_rel", 35, 0, 4, 9 }, entry10 = {"et_charge_shapeshift", 50, 0, 5, 5 }, entry11 = {"et_addspell_blutrausch", 1000, 0, 6, 5 }, entry12 = {"et_armor_any_rel", 0, 50, 0, 41 }, entry13 = {"et_life_buff", 150, 260, 0, 9 }, entry14 = {"et_chance_surehit", 100, 2, 0, 5 }, entry15 = {"et_physical_to_magic", 250, 0, 0, 5 }, }, fightDistance = 0.000000, aspect = "EA_DM_DRAGONMAGIC", cooldown = 1.000000, -- 40.000000 (cool down period) soundProfile = 0, cost_level = 1, -- 250 (cost level & cost base make up the regen) cost_base = 1, -- 500 focus_skill_name = "skill_DM_dragonmagic_focus", lore_skill_name = "skill_DM_dragonmagic_lore", spellClass = "cSpellDmMorph", spellcontroltype = "eCAtype_b_boost_self", sorting_rank = 0, })