Log in

View Full Version : [Cond. Event] Use spell when max mana -1



Malmis
07-09-2007, 18:00
These conditional events will cast a spell when you have your maxa mana -1. -1 is because you get 2 mana each time, so when using "exura" you might otherwise lose a manpoint... I use these conditions so I don't have to change the scripts as soon as a character has leveled up.

Knight:

$mymana$
#number>=#
$numericalexp:{$numericalexp:{$mylevel$}*5$}-6$
0
2000
0
exura

Paladin:

$mymana$
#number>=#
$numericalexp:{$numericalexp:{$mylevel$}*15$}-86$
0
2000
0
exura

Mage:

$mymana$
#number>=#
$numericalexp:{$numericalexp:{$mylevel$}*30$}-206$
0
2000
0
exura

It can ofcourse cast other spells than the pre-configured "Exura", just change Exura to wathever spell you want.

I hope this helps. :)

Vini
07-10-2007, 01:59
thank you, :D
i will use ;D

Malmis
07-10-2007, 02:05
No problems, glad to be of assistance. :)

weeper
07-10-2007, 02:18
I didn't know the formulas to know how much mana you got.
Nice :)

Malmis
07-10-2007, 02:42
I didn't know the formulas to know how much mana you got.
Nice :)

http://tibia.erig.net/Formula ;)

Jack
07-16-2007, 07:51
i love u!!!

omggg
07-17-2007, 00:09
Very nice conds ! Thanks.

Neuro
07-17-2007, 00:49
wonderfull

Buaga
07-29-2007, 21:34
Please describe how to use that event. I'm noob on that.

Where to put, what to click on, what to load etc... I don't get it ffs.

Thanks in advance.


/Buaga

Malmis
07-29-2007, 22:01
Please describe how to use that event. I'm noob on that.

Where to put, what to click on, what to load etc... I don't get it ffs.

Thanks in advance.


/Buaga

Copy the text in the "code box" and insert it into a .txt document, save that document in the "conds" folder, name it whatever you want. The open BlackD and press the "?" and click the "<- Reload" button and then choose the document in the drop down menu and press the "Load conds" button.

Buaga
07-30-2007, 16:52
Thanks mate, everything is working good.


/Buaga

Karson21
08-04-2007, 01:36
Works fine for me.
Usefull cond, Thanks.

Malmis
08-04-2007, 02:06
Thanks mate, everything is working good.


/Buaga

Works fine for me.
Usefull cond, Thanks.

Great it works good for you. :)

frog
08-04-2007, 04:07
once again you've come through. i hereby grant you the title of super awesome :o, you're just as cool as i am now.

Tescik2
08-04-2007, 04:25
once again you've come through. i hereby grant you the title of super awesome :o, you're just as cool as i am now.

Gratz 700 post, you are now super awesome :o

frog
08-04-2007, 04:44
Gratz 700 post, you are now super awesome :o

i've been that as long as i can remember :(














i'm such a spammer :(

PEWPEWLAZORGUNN
08-04-2007, 15:22
Yay! I was looking for something like this :P Got tired of setting mana cost of exura to like... 90 :P
Tyty

sai178
10-01-2007, 14:36
if i want my char eat and cast when mana is max? can u help me with code ?

Xionc
10-04-2007, 01:50
Impressive! :' )

U are kinda God of scripts\conds :D Greatz!

Thx, Yours Xionc

Malmis
10-04-2007, 13:14
Yay! I was looking for something like this :P Got tired of setting mana cost of exura to like... 90 :P
Tyty

I know what you mean. That's why I created this, so I don't need to use the runemaker or make a different condition for every char. :p


Impressive! :' )

U are kinda God of scripts\conds :D Greatz!

Thx, Yours Xionc

Thanks.


if i want my char eat and cast when mana is max? can u help me with code ?

Use the runemaker to eat food, easiest way.

roxyoursox
10-07-2007, 22:46
hi im a lvl 70+ sorc and i would like a cond that once my mana hits a certain point like 600 or so it uses mana fluids to almost full mana

thx in advance:D

nerdies
11-07-2007, 14:24
I sometimes use this but if I am too tired to do this I go to runemaker, and do waste mana if out of runes of soul or we and then just put the mana for exaple exura in my own max mana -1 so if I have 500 mana, I do exura if mana is above 499 ;) because it thinks exura cost 500 instead of 25 mana :p

Pablito
04-09-2008, 23:49
i dont understand how to use it >.< what i need to write ?

Zmulan
04-10-2008, 00:02
not so long time ago a new variable was introduced.. $mymanapercent$
so you could just use something like

$mymanapercent$
#number=#
100
0
1000
0
exura

will make exura when full mana

Nany
04-16-2008, 06:42
OMG ty xD
i still waste mana 'cause my knight lvl 80+ 84/83 usually full mana

p0pas
05-27-2008, 16:50
Thx, man. I needed it :*:)

test30
06-07-2008, 23:53
or simple:

$mymanapercent$
#number>=#
99
0
0
0
exura

jochem
02-23-2010, 18:54
Where Do i need To put this script until im cavebotting ??/

kamerz
03-09-2010, 00:57
dude. go to your program files. open up the black d folder. go into the "conds" folder. make a new text document. name it w.e. you want. open the text document. copy and past that script into it. save it. open black d. click on the "?" tab. hit the reload button. then select the text document w.e. you anmed it from the list. then hit load conds. THANK YOU