DarwinBotsManual
Open the app EspañolES

.pval

The value your poison writes into the .ploc cell of whoever gets poisoned by attacking you.

Facts

Address
839
Name
.pval
Kind
Command: the bot writes it and the engine reads it and usually consumes it
Group
Defenses
Written by
Your DNA.
Read by
The engine, when your poison goes out toward whoever attacked you: it travels with the poison and is written to the attacker's .ploc cell every cycle of the poisoning.
Cleared
Nobody: it is configuration. A child is born with 0.
Range
−32000 to 32000
Mutations
picked as a store target

It is the partner of .ploc: .ploc says where and .pval what. The engine reads it when your poison goes out toward whoever attacked you (see .poison) and, if it poisons it, from then on it writes that value into the attacker's .ploc cell every cycle, until its poisoning (.poisoned) runs out.

It is configuration: it isn't cleared, but a newborn starts with 0. With .ploc on .shoot, a .pval of -2 makes the attacker give away energy; with .ploc on .aimdx, a number like 50 leaves it spinning.

' whoever bites me will spin without stopping
cond
*.robage 0 =
start
.aimdx .ploc store
50 .pval store
stop

cond
*.poison 500 <
start
100 .strpoison store
stop