johnmedgla 7 Posted September 8, 2010 Share Posted September 8, 2010 I've been trying to turn Frenetic Fervor into a permanent buff, largely since I want to see how it's done before I attempt anything more radical. I can have it selectable on the buff bar (though with no icon, which is expected anyway), and I can activate it from there. My problem is that it deactivates itself when the duration would expire anyway. Commented script below, and any suggestions welcome : mgr.defineSpell( "in_in_eifer", { eiStateName = "cSpellCast", fxTypeCast = "FX_INQ_EIFER_C", fxTypeSpell = "FX_INQ_EIFER", fxTypeCastSpecial = "FX_INQ_CAST_K", duration = 10.000000, animType = "ANIM_TYPE_SM05", animTypeApproach = "ANIM_TYPE_INVALID", animTypeRide = "ANIM_TYPE_INVALID", animTypeSpecial = "ANIM_TYPE_RIDESM04-SPECIAL", causesSpellDamage = 0, tokens = { -- entry0 = {"et_duration_sec", 14850, 15, 0, 8 }, -- commented out entry0 = {"et_addWeaponspeed", 995, 5, 0, 37 }, entry1 = {"et_attackspeed_limit", 300, 0, 0, 37 }, entry2 = {"et_addCastspeed", 495, 5, 1, 37 }, entry3 = {"et_addWeaponspeed", 148, 2, 2, 37 }, entry4 = {"et_chance_evade", 198, 2, 3, 41 }, entry5 = {"et_AWboost_rel", 400, 100, 4, 41 }, entry6 = {"et_chance_evade", 15, 5, 5, 41 }, -- changed from duration boost entry7 = {"et_addwalkspeed", 295, 5, 6, 41 }, }, fightDistance = 0.000000, aspect = "EA_IN_INQUISITION", cooldown = 0.000000, -- removed soundProfile = 0, cost_level = 5, cost_base = 10, focus_skill_name = "skill_IN_inquisition_focus", lore_skill_name = "skill_tactics_lore", spellClass = "cSpellInqEifer", spellcontroltype = "eCAtype_t_buff", -- changed sorting_rank = 4, }) Link to comment
Dragon Brother 619 Posted September 8, 2010 Share Posted September 8, 2010 probably the line: "duration = 10.000000:" Check to see if other buffs have this line. Link to comment
johnmedgla 7 Posted September 8, 2010 Author Share Posted September 8, 2010 They all do, so far as I can tell that line affects the duration of the visual and sound effects on cast (in this case the red swirly thing). Link to comment
Dragon Brother 619 Posted September 9, 2010 Share Posted September 9, 2010 Hmm...are the bonuses in effect and the visual effects have just worn off? I don't know much really, but have a read through this thread, it may help you out: Temple guardian propelled levitation. Link to comment
johnmedgla 7 Posted September 9, 2010 Author Share Posted September 9, 2010 No, the buff 'deactivates' (goes from green with crosses to grey on the buffbar) and the bonus attributes are lost. All seems very odd tbh =( Link to comment
chattius 2,531 Posted September 9, 2010 Share Posted September 9, 2010 Are you sure that you commented it out the right way? Is the effect still there if you just delete the line? Sorry, can't test myself as long my daughter has the play machine in hospital. It reads as if the game doesn't get the message that the duration line is commented out. I got you right that it terminates after around 2 and a half minutes? Link to comment
czevak 57 Posted September 9, 2010 Share Posted September 9, 2010 (edited) If you are sure the buff ended out of itself and you did not get "debuffed" by an enemy, then you could try setting: spellClass = "cSpellGenericBuff", because the spellclass could have some timer itself. It controls most of the spells effects anyway, so you might want to check if all your boni stay the same after changing this. cSpellGenericBuff might not be able to handle and understand all of them. Edited September 9, 2010 by czevak Link to comment
johnmedgla 7 Posted September 9, 2010 Author Share Posted September 9, 2010 Thanks for the help all. I've tried it with the line deleted entire, same effect, put it back with the comment to remind me, and facilitate a quick restore. Will try the different class when I get home this afternoon and report back - thanks for the tip! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now