From: AntumDeluge <ant...@us...> - 2014-11-20 00:44:02
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/client/entity In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24855/src/games/stendhal/client/entity Modified Files: RPEntity.java StatusID.java Log Message: Create status ailment "heavy". Causes entity to walk at half speed. Will replace current "zombie" ailment behaviour. Index: RPEntity.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/client/entity/RPEntity.java,v retrieving revision 1.329 retrieving revision 1.330 diff -C2 -d -r1.329 -r1.330 *** RPEntity.java 19 Nov 2014 12:18:46 -0000 1.329 --- RPEntity.java 20 Nov 2014 00:43:28 -0000 1.330 *************** *** 121,124 **** --- 121,128 ---- */ public static final Property PROP_ZOMBIE = new Property(); + /** + * Heavy property + */ + public static final Property PROP_HEAVY = new Property(); private static final Map<StatusID, Property> statusProp; *************** *** 129,132 **** --- 133,137 ---- statusProp.put(StatusID.SHOCK, PROP_SHOCK); statusProp.put(StatusID.ZOMBIE, PROP_ZOMBIE); + statusProp.put(StatusID.HEAVY, PROP_HEAVY); } Index: StatusID.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/client/entity/StatusID.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** StatusID.java 19 Nov 2014 12:18:46 -0000 1.5 --- StatusID.java 20 Nov 2014 00:43:28 -0000 1.6 *************** *** 23,27 **** POISON("poisoned"), SHOCK("status_shock"), ! ZOMBIE("status_zombie"); /** Attribute corresponding to the status. */ --- 23,28 ---- POISON("poisoned"), SHOCK("status_shock"), ! ZOMBIE("status_zombie"), ! HEAVY("status_heavy"); /** Attribute corresponding to the status. */ |