Jump to content

ADD COVID 19 INTO A CHARACTER!!


danzey

Recommended Posts

Hi!

 

143-1432240_wea9xkr-biohazard-symbol.png
this topic is not a joke!(it could have been!i know...but be focus!).although i have a roster of characters who are very hard to beat! so i make up my mind to give them a "symptom" so you have this code

Code:
 
  1. in statedef -2
  2. [State -2, virus du covid19]
  3. type = LifeAdd
  4. triggerall = !winko && AIlevel
  5. triggerall = roundstate!=3 && time<40 && alive
  6. triggerall = roundstate!=1
  7. trigger1 = 1
  8. trigger1 = random=[99,250]
  9. trigger2 = p2bodydist x<35 && random<333 ; <<<<<<<<<<<this is ovbious !lol
  10. value = - (ceil(lifemax*0.001) + floor((time/10)))
  11. kill = 1
  12. absolute = 0
  13. persistent = 4 ; you can delete this line if you want that this symptom is more serious! or rise the number for frequency less often

 

 
  • or this variant 2 is less infected!
  •  
  • [State -2, virus du covid19 variant 2]
  • type = LifeAdd
  • triggerall = !winko && AILEVEL
  • triggerall = roundstate!=3 && time<40 && alive
  • triggerall = roundstate!=1
  • trigger1 = 1
  • trigger1 = random=[59,150]
  • trigger2 = p2bodydist x<35 && random<333 ; <<<<<<<<<<<this is ovbious !lol
  • value = - floor((ceil(lifemax*0.001) + floor((time/10)))/2)
  • kill = 1
  • absolute = 0
  • persistent = random%10 ; you can delete this line if you want that this symptom is more serious! or rise the number for frequency less often

 

also to go further again
you can add a changestate in state 0 or 20 or 21 in common.cns ( walk state, standing state, maybe run state)
type = changestate
triggerall = !winko && AILEVEL
triggerall = roundstate!=3 && time>=30 && alive
triggerall = roundstate!=1
trigger1 = ctrl && random<random%300
trigger2 = ctrl && life< lifemax*0.01
value = ifelse(random<350,5002,5000)
persistent =5
ctrl=0


it will simulate a sickness!!!
really!!!

  •   

143-1432240_wea9xkr-biohazard-symbol.png
that 's all! have fun !
now we need a vaccine lol!

Link to comment
Share on other sites

edit: added a covid 19 variant 2  coding in first post !
this variant is less infected than the first coding!
have fun !
if you look for a vaccine, you can add this in the code

 

xdN3WXJ.png

 

 

 

Spoiler
triggerall = roundno<2;  it will cure for the rest of the fight
or
triggerall = enemy,name!= " add the name of your fighter"  or enemy,author!=" same thing"
or
triggerall = life>enemy,life ; allow a light cure  if your character get more life or you can change with the "power"

 


these are example you can find your vaccine also!
good game!

Link to comment
Share on other sites

also to go further again
you can add a changestate in state 0 or 20 or 21 in common.cns ( walk state, standing state, maybe run state)
type = changestate
triggerall = !winko && AILEVEL
triggerall = roundstate!=3 && time>=30 && alive
triggerall = roundstate!=1
trigger1 = ctrl && random<random%300
trigger2 = ctrl && life< lifemax*0.01
value = ifelse(random<350,5002,5000)
persistent =5
ctrl=0


it will simulate a sickness!!!
really!!!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...