Page 1 of 2

Monk Spells

Posted: Sun Jun 15, 2014 3:42 pm
by Dello0000
List of Monk spells.
(Done with the Monk until scripts and implementation are finished.)

Working

Code: Select all

Silent Threat
Waking Dragon
Frozen Palm
Flow Like Wind
Roundhouse Kick
Crescent Strike
Calm Tranquility
Striking Cobra
Rising Phoenix
Inner Calm
Charging Tiger
Will of the Heavens
Lightning Palm
Five Rings
Rising Dragon
Everburning Flame
Fall of the Phoenix
Arctic Talon
Silent Palm
Almost Working

Code: Select all

Dragonfire -- AoE not working.
Not Working

Code: Select all

Crouching Tiger -- Too complex for me.
Tranquil Vision -- Too complex for me.
Wind Walk -- Too complex for me.
Dragon Rage -- Too complex for me.
Body Like Mountain -- Too complex for me.
Mend -- Too complex for me.
MountainStance -- Too complex for me.
Black Widow Stance -- Too complex for me.
Outward Calm -- Too complex for me.
Tsunami -- Too complex for me.
Peel -- Too complex for me.
Perfect Serenity -- Too complex for me.
If you can fix any of these scripts ill get all the data put in.

Re: Monk Spells

Posted: Mon Jun 30, 2014 3:46 pm
by John Adams
Bad LUA:
15:43:05 E LUA: Error loading Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua:13: '<eof>' expected near 'end' (file name: 'Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua')
15:43:05 E LUA: Error loading Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua:13: '<eof>' expected near 'end' (file name: 'Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua')
15:43:05 E LUA: Error loading Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua:13: '<eof>' expected near 'end' (file name: 'Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua')
15:43:05 E LUA: Error loading Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua:13: '<eof>' expected near 'end' (file name: 'Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua')
15:43:05 E LUA: Error loading Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua:13: '<eof>' expected near 'end' (file name: 'Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua')
15:43:05 E LUA: Error loading Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua:13: '<eof>' expected near 'end' (file name: 'Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua')
15:43:05 E LUA: Error loading Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua:13: '<eof>' expected near 'end' (file name: 'Spells/Fighter/Brawler/Monk/BodyLikeMountain.lua')
15:43:05 E LUA: Error loading Spells/Fighter/Brawler/Monk/MountainStance.lua:15: '<eof>' expected near 'end' (file name: 'Spells/Fighter/Brawler/Monk/MountainStance.lua')
I assume it's showing it so many times due to the spell line (?)

Re: Monk Spells

Posted: Fri Jul 04, 2014 5:16 am
by Dello0000
I looked at body like mountain's script and felt it was too advanced for me to tinker with so i left it alone, it shouldn't even be activated so i don't know why its acting up. Once i get into the DBE ill take a look at it.

Re: Monk Spells

Posted: Fri Jul 04, 2014 11:51 am
by Jabantiz
I fixed all the errors, was just a case of having 1 to many "end" in it.

Re: Monk Spells

Posted: Fri Jul 04, 2014 5:16 pm
by Dello0000
Maybe i did tamper with it, but i doubt it will work even with one less end :)

Once im able to get into the dbe again ill get cracking on them, just don't wanna turn my router off because i know ill have a hard time getting back on here :\

Re: Monk Spells

Posted: Fri Jul 04, 2014 6:28 pm
by Jabantiz
I just fixed the compile errors, no clue if the script itself does what it is suppose to.

When you get blocked keep track of the ip's and when you can get back on PM them to John, he should be able to fix it for you so you aren't blocked so much.

As for the editor check your PM's

Re: Monk Spells

Posted: Sat Jul 05, 2014 3:30 am
by Dello0000
Well it was saying i was in haddington - scotland, now im connecting from newport - wales lol, didn't copy the ip tho, just seen this post after restarting the router to get on lol, i will do in future.

Re: Monk Spells

Posted: Mon Jul 14, 2014 4:08 pm
by Jabantiz
Crouching Tiger -- Was a few typos but the script was already mostly in place, what is wrong with it (fixed typos)
Tranquil Vision -- Will need server support so nothing can be done with it yet
Wind Walk -- Made a script but haven't tested, also set it to drain power every second not sure if that is correct

Didn't have time to do the rest yet

Re: Monk Spells

Posted: Tue Jul 15, 2014 2:29 pm
by Dello0000
Crouching Tiger will need some more stuff implemented before i get it fully activated, deflection % and all that lovely extremely hard coding :)
As for Wind Walk, It works, drain seems ineffective, Iv got 114 regain and the call freq is set to 10 with a -40 power per tick, but it doesn't seem to move down much. (lvl 100) Either the regain is lieing to me or some server side coding needs tweaked? lol i dunno, anyway without agro mobs i cant test it just yet.

Could maybe add a lvl 100 normal agro mob to the gm zone? Try and make that zone as test friendly as possible for us.

Re: Monk Spells

Posted: Sat Jul 19, 2014 7:36 am
by Dello0000
Mend now uses its own script andMend III to Mend V uses a different script from the brawler spells.

I couldn't get the spell name code to work, well, i got it so the III, IV, V ones WERE % heals, but then the I and II spells were also doing % and the normal heal. I don't know how to tell the script to skip I and II and go onto the normal heal spell, It seemed like they were all doing the % heal and I and II were also doing the normal heal too.

With two scripts i can make it really easy until i understand how to tell the script to skip parts "if" but i really think just making another damn lua will be a hell of a lot faster lol. Ill add the new script to the bruisers late heal spell and that means the brawlers have a working % heal (although the heal data for % seems to be a tad wakky, 8.9% heals for more than 12.6%)

Re: Monk Spells

Posted: Sat Jul 19, 2014 12:32 pm
by Jabantiz
This script should work for mend.

Code: Select all

function cast(Caster, Target, MinVal, MaxVal, CureLvls)
	local spell_name = GetSpellName()
	if spell_name ~= "Mend" and spell_name ~= "Mend II" then
		local max_hp = GetMaxHP(Target)
		MinVal = (max_hp * (MinVal / 100))
		MaxVal = (max_hp * (MaxVal / 100))
	end
    -- Heals target for 21 - 25
    --     This effect cannot be critically applied.
    -- The healing of this spell cannot be modified except by direct means
    SpellHeal("Heal", MinVal, MaxVal, 0, 2, 1)

    -- Dispels 7 levels of noxious hostile effects on target
    CureByType(CureLvls, 3);
end
The main thing is the if

Code: Select all

local spell_name = GetSpellName()
if spell_name ~= "Mend" and spell_name ~= "Mend II" then
All this does is get the name of the spell

Code: Select all

local spell_name = GetSpellName()
and then checks the name, if the name is NOT "Mend" and also NOT "Mend II"

Code: Select all

if spell_name ~= "Mend" and spell_name ~= "Mend II" then
then we will do the code between the if and the end, in this case the % heal values.

Re: Monk Spells

Posted: Thu Jul 24, 2014 4:06 am
by Dello0000
Thanks, ill check it asap, having to tether my mobiles internet atm until my router gets here and i cant get into the server without getting kicked shortly after.

That script makes sense, seems like it will work, quick question tho, how would i just do the % heal for a set value instead of a min/max?
When i used the min/max for the paladin it was doing a % heal but where ever it was getting its values from it don't know, 0.9% heal was more like a 20% heal (22k max hp getting healed for 4k)

I did have to add "CurrentHP, MinVal, MaxVal, MinHeal, MaxHeal," to the functions last time because the script didn't know what minval was lol, but this one seems like its better worded. (no minval maxval + minheal maxheal)

Re: Monk Spells

Posted: Wed Jul 30, 2014 12:14 pm
by Dello0000
Any idea on a single % code? Iv been trying to get it working but X% to X% gets weird. Also removing MinVal or MaxVal doesn't seem to make any difference. As always ill keep trying, might crack it lol :p

Re: Monk Spells

Posted: Wed Jul 30, 2014 12:51 pm
by Jabantiz
Looking at the script it wants minval, maxval then curelevles so to get a single value heal to work you will porbably need to manually insert a 0 between the min value and cure levels on the spells data tab.
Thought this was for mend so was going off the script, went to make pictures to help explain it better but mend has a range of heal values. What spell is it that is giving you problems?

Re: Monk Spells

Posted: Thu Sep 04, 2014 1:28 am
by Dello0000
Yeah that script works for monk heals and i can adapt it into any min-max-buff % script. I cant seem to adapt it into a max % script for something like This. That 1.1% seems to be healing for 60-80% for some reason.