ProgressionEvents: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Created page with '==TraitChangeOp== Used to create a change in character traits. This is used to change a character's appearance live in game. It takes the trait ID number and sends a broadcast ou…'
 
Ethryn (talk | contribs)
m add to category (Engine documents)
Line 22: Line 22:


'''value''' = "#" amount of experience to give single player or share with others
'''value''' = "#" amount of experience to give single player or share with others
[[Category:Engine documents]]

Revision as of 23:54, 22 October 2010

TraitChangeOp

Used to create a change in character traits. This is used to change a character's appearance live in game. It takes the trait ID number and sends a broadcast out to all the players in range about the change.


 <trait value="#"/>
 value = "#" index id key into traits table

Examples: You apply trait 100 (grey hair) to actor and send message:

 <trait value="100" /><msg aim="actor" text="You drop the liquid on your hair."/>


ExperienceOp

Adjust the experience of the target.

Syntax:

 <exp type="allocate_last" value="#"/>

allocate_type = "allocate_last" means allocate damage last otherwise damage is allocated

value = "#" amount of experience to give single player or share with others