Solved level up reward pets

Join Discord

d1craig

LOMCN Veteran
Veteran
Aug 12, 2010
1,937
7
124
how would i make it so a character that levels up will get a pet?

when you reach level 10 you get a omafighter or something and then every 5 levels you can add a new pet or more of the same pet.

level 5 - 1 OF
level 10 - 2 OF
etc
etc

like on mir revenge.
 

wock

Dedicated Member
Dedicated Member
Apr 4, 2009
145
0
42
how would i make it so a character that levels up will get a pet?

when you reach level 10 you get a omafighter or something and then every 5 levels you can add a new pet or more of the same pet.

level 5 - 1 OF
level 10 - 2 OF
etc
etc

like on mir revenge.

[@LevelUp]
#IF
CHECKLEVELEX = 55
#ACT
SETRANKLEVELNAME %s\{Level55+}
SENDMSG 0 "<%S> has just reached level 55. Congratulations!"
SET [115] 0
SET [116] 1
goto @lvl55pet
BREAK

#IF
CHECKLEVELEX = 60
#ACT
SETRANKLEVELNAME %s\{Level60+}
SENDMSG 0 "<%S> has just reached level 60. Congratulations!"
SET [116] 0
SET [117] 1
goto @lvl60pet
BREAK

[@lvl55pet]
#SAY
Congratulations <$USERNAME> on leveling up again.\
As a reward i would like to offer you 2 new pets at level 7.\
The pets i would like to offer you are :-\
2 x RedFoxMan\
These new pets will kill and replace the pets that you have already\
Would you like these pets?.\
<Yes i would/@yeslvl55pet>\
<No thanks/@exit>

[@yeslvl55pet]
#ACT
KILLSLAVE
recallmob redfoxman 7
recallmob redfoxman 7
BREAK
CLOSE

[@lvl60pet]
#SAY
Congratulations <$USERNAME> on leveling up again.\
As a reward i would like to offer you 3 new pets at level 7.\
The pets i would like to offer you are :-\
3 x RedFoxMan\
These new pets will kill and replace the pets that you have already\
Would you like these pets?.\
<Yes i would/@yeslvl60pet>\
<No thanks/@exit>

[@yeslvl60pet]
#ACT
KILLSLAVE
recallmob redfoxman 7
recallmob redfoxman 7
recallmob redfoxman 7
BREAK
CLOSE

put that in q-function m8 obv whatever lvls and how many pets u want give
 
Last edited:
Upvote 0

d1craig

LOMCN Veteran
Veteran
Aug 12, 2010
1,937
7
124
[MENTION=16143]d1craig[/MENTION]- reading the whole post is an advantage.

thanx alot m8 i will try it soon
 
Last edited:
Upvote 0