YesNoOk
avatar

add covid 19 coding into a character! (Read 5717 times)

Started by Shin DANZEY, November 24, 2021, 11:24:15 PM
Share this topic:
add covid 19 coding into a character!
New #1  November 24, 2021, 11:24:15 PM
  • **
  • The true fight begins now...
  • Danzey legendary tournament is the final fight!
    • France
    • danzey-legendary-tournament.blogspot.fr/
Hi!
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 these codes
Code:
in statedef -2
[State -2, virus du covid19]
type = LifeAdd
triggerall = !winko && AIlevel
triggerall = roundstate!=3 && time<40 && alive
triggerall = roundstate!=1
trigger1 = 1
trigger1 = random=[99,250]
value = - (ceil(lifemax*0.001) + floor((time/10)))
kill = 1
absolute = 0
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]
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<250
value = ifelse(random<500,5002,5000)
persistent =5
crtl=0







that 's all! have fun !
now we need a vaccine (some antidote in post#5 ) lol! :thumbsup:

my older name was danzey,now i'm SHIN DANZEY
FOLLOW ME ON YOUTUBE AND MY WEBSITE
Last Edit: February 02, 2022, 08:58:36 PM by Shin DANZEY
Re: add covid 19 coding into a character!
#2  November 25, 2021, 04:32:13 AM
  • *****
  • Gaps? Where we're going, we don't need gaps...
    • USA
    • ricepigeon.neocities.org
This actually helps with my research into making code that gives other characters Gonnorhea. Thanks  ;)
Re: add covid 19 coding into a character!
#3  November 26, 2021, 03:05:25 PM
  • **
  • The true fight begins now...
  • Danzey legendary tournament is the final fight!
    • France
    • danzey-legendary-tournament.blogspot.fr/

my older name was danzey,now i'm SHIN DANZEY
FOLLOW ME ON YOUTUBE AND MY WEBSITE
Re: add covid 19 coding into a character!
#4  November 26, 2021, 11:23:45 PM
  • avatar
    • Argentina
it's just a lifeadd code lol,i can easily recreate something like this in seconds.
this can't even kill rare akuma lmao.
Re: add covid 19 coding into a character!
#5  November 29, 2021, 05:39:57 PM
  • **
  • The true fight begins now...
  • Danzey legendary tournament is the final fight!
    • France
    • danzey-legendary-tournament.blogspot.fr/
edit: added a covid 19 variant 2  coding in first post !
this variant is less infected than the first code!
have fun !
if you look for a vaccine, you can add this in the code

Spoiler, click to toggle visibilty
these are examples you can find your own vaccine also!
good game!

my older name was danzey,now i'm SHIN DANZEY
FOLLOW ME ON YOUTUBE AND MY WEBSITE
Last Edit: December 04, 2021, 11:20:47 AM by Shin DANZEY
Re: add covid 19 coding into a character!
#6  December 04, 2021, 11:30:25 AM
  • **
  • The true fight begins now...
  • Danzey legendary tournament is the final fight!
    • France
    • danzey-legendary-tournament.blogspot.fr/
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!!!




my older name was danzey,now i'm SHIN DANZEY
FOLLOW ME ON YOUTUBE AND MY WEBSITE
Re: add covid 19 coding into a character!
#7  December 05, 2021, 04:21:19 PM
  • ***
  • BIGCADDY
  • i review things
    • USA
nice code.