Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:TEXT:!Story Mode*:%BattleChannel:{
- msg %Battlechannel 12$nick walks into a cave
- msg %Battlechannel 12???: HEY WHO THE FUCK ARE YOU?
- storymode
- }
- alias storymode {
- set %newguy $nick
- if ((%challenge == open)) {
- if (($readini(batscore.ini, %newguy, wins) == $null)) { storystart }
- else {
- if (($readini(batscore.ini, %newguy, wins) <= 29)) { storystart }
- else { msg %BattleChannel 12You are too high a level to use the training center $nick $+ ! You have to be below level 30! and you are level $readini(batscore.ini, %newguy, wins) $+ ! }
- unset %newguy
- }
- }
- }
- alias storystart {
- set %freezetime 0
- set %freezecheck 0
- set %numturns -0.5
- set %skill 1
- set -s %skilllevel $2
- set -sn %fightera $nick
- set -sn %fighter1 $nick
- set -s %mpi 0
- set -s %mpa 0
- set -s %bona 0
- set -s %boni 0
- set -s %poisona 0
- set -s %poisoni 0
- set -sn %fighteri ???
- unset -sn %fightertwo
- unset -sn %fighterone
- msg %BattleChannel 12Trainer %fighteri $+ 12 will train against %fightera $+ .
- set -sn %challenge closed
- set -sn %training on
- storybattle
- }
- alias storybattle {
- set -s %hpa 1000
- set -s %hpi 1000
- if (($readini(batscore.ini, %fighter1, accessory) == ring of health)) { set -s %hpa 1150 }
- if (($readini(batscore.ini, %fighter1, accessory) == belt of vitality)) { set -s %hpa 1400 }
- set %maxhpa %hpa
- set %maxhpi %hpi
- set %maxmpa %mpa
- set %maxmpi %mpi
- storyround
- }
- alias storyround {
- inc %numturns 0.5
- if ((%hpa <= 0)) { storywin2 }
- else {
- if ((%hpi <= 0)) { storywin1 }
- else {
- if ((%combo > 2) && (%combo < 5)) {
- msg $chan 9 $+ %fightera 9got a %combo combo damaging %fighteri 9for %combovalue HP!
- }
- elseif ((%combo > 4) && (%combo < 8)) {
- msg $chan 8 $+ %fightera 8got a %combo combo damaging %fighteri 8for %combovalue HP!!!
- }
- elseif ((%combo > 7) && (%combo < 11)) {
- msg $chan 4 $+ %fightera 7got a $+ %combo $+ combo damaging %fighteri 7for $+ %combovalue HP!!!
- }
- elseif (%combo > 10) {
- msg $chan 4 $+ %fightera 4got a $+ %combo $+ combo damaging %fighteri 4for $+ %combovalue HP!!!
- }
- set %combo 0
- set %combovalue 0
- set %dam $rand(100,225)
- msg %BattleChannel 12trainer %fighteri $+ 12 attacks %fightera for4 %dam 12points of damage!
- dec -s %hpa %dam
- if ((%hpi <= 0)) { storywin1 }
- else {
- if ((%hpa <= 0)) { storywin2 }
- else {
- msg %BattleChannel 7 $+ %fightera $+ 7 has %hpa hp. %fighteri $+ 7 has %hpi hp.
- msg %BattleChannel 4 $+ %fightera 's turn }
- }
- }
- }
- }
- alias storywin1 {
- msg %BattleChannel 13 $+ %fightera has defeated %fighteri $+ 13 $+ !
- set -sn %fighterwin %fightera
- set -sn %intraining yes
- entergold
- enterscore
- score
- storymode2 }
- alias storywin2 {
- msg %BattleChannel 13 $+ %fighteri $+ 13 has defeated %fightera $+ !
- set -sn %fighterwin %fighteri
- reset }
- alias storyreset {
- unset -sn %fighterone
- unset -sn %fightertwo
- unset -sn %fighter1
- unset -sn %fighter2
- unset -sn %fightera
- unset -sn %fighteri
- unset -sn %quitfighter
- unset -sn %partfighter
- unset -sn %kickfighter
- unset -sn %fighterwin
- unset %newsword
- clear
- set %game off
- set %challenge open
- set %training off
- set -sn %shops open
- set -sn %lampfight off
- }
- alias storymode2 {
- msg %Battlechannel 12The mysterious man was thrown backwards and his mask falls off
- msg %Battlechannel 12???:My name is Izain, I thought you should know that before I killed you.
- msg %Battlechannel 12Izain's Level skyrockets and he lands a swift blow knocking $nick down
- msg %Battlechannel 12???:Stop! -New Person enters and kicks Izain away releasing a smokeball-
- writeini -n batscore.ini %fighter1 StoryPart 2
- Storymode2start
- }
Add Comment
Please, Sign In to add comment